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, Feb 9, 6:49 PM
Unknown Object (File)
Thu, Jan 23, 11:42 PM
Unknown Object (File)
Nov 22 2024, 8:35 AM
Unknown Object (File)
Nov 22 2024, 8:35 AM
Unknown Object (File)
Nov 22 2024, 8:35 AM
Unknown Object (File)
Nov 22 2024, 8:15 AM
Unknown Object (File)
Nov 21 2024, 4:00 PM
Unknown Object (File)
Oct 15 2024, 5:00 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28204
Build 26329: arc lint + arc unit