Page MenuHomeFreeBSD

oce: Tighten input validation for SIOCGI2C.
ClosedPublic

Authored by markj on Dec 17 2019, 9:24 PM.
Tags
None
Referenced Files
F164848661: D22859.id65760.diff
Tue, Aug 4, 7:46 AM
F164841908: D22859.id65787.diff
Tue, Aug 4, 7:09 AM
Unknown Object (File)
Mon, Aug 3, 5:26 AM
Unknown Object (File)
Jul 5 2026, 4:06 AM
Unknown Object (File)
Jun 18 2026, 10:00 PM
Unknown Object (File)
Jun 18 2026, 3:00 AM
Unknown Object (File)
Jun 4 2026, 9:14 AM
Unknown Object (File)
Jun 1 2026, 9:58 PM
Subscribers

Details

Summary

We need to ensure that we do not read past the end of
sfp_vpd_dump_buffer. Currently it is possible to read 8 bytes beyond
its end. Note that the offset and length are uint8_t's.

Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com>
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable