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)
Thu, Apr 25, 11:48 PM
Unknown Object (File)
Mar 10 2024, 6:51 AM
Unknown Object (File)
Feb 29 2024, 3:52 AM
Unknown Object (File)
Feb 13 2024, 12:59 AM
Unknown Object (File)
Jan 19 2024, 12:37 PM
Unknown Object (File)
Dec 20 2023, 7:47 AM
Unknown Object (File)
Dec 10 2023, 2:30 PM
Unknown Object (File)
Nov 17 2023, 8:19 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