Page MenuHomeFreeBSD

oce: Tighten input validation for SIOCGI2C.
ClosedPublic

Authored by markj on Dec 17 2019, 9:24 PM.
Tags
None
Referenced Files
F148088697: D22859.diff
Sun, Mar 15, 4:52 PM
F148005526: D22859.id65760.diff
Sun, Mar 15, 3:45 AM
Unknown Object (File)
Sat, Mar 14, 6:18 PM
Unknown Object (File)
Mon, Mar 9, 8:18 AM
Unknown Object (File)
Mon, Mar 9, 8:17 AM
Unknown Object (File)
Jan 22 2026, 3:32 AM
Unknown Object (File)
Dec 31 2025, 1:28 AM
Unknown Object (File)
Dec 25 2025, 1:40 AM
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