Page MenuHomeFreeBSD

oce: Tighten input validation for SIOCGI2C.
ClosedPublic

Authored by markj on Dec 17 2019, 9:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 26, 2:18 AM
Unknown Object (File)
Thu, Oct 23, 5:16 PM
Unknown Object (File)
Thu, Oct 23, 5:16 PM
Unknown Object (File)
Thu, Oct 23, 5:15 PM
Unknown Object (File)
Thu, Oct 23, 8:52 AM
Unknown Object (File)
Oct 7 2025, 10:25 AM
Unknown Object (File)
Oct 6 2025, 5:22 PM
Unknown Object (File)
Sep 25 2025, 9:49 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