Page MenuHomeFreeBSD

Fix heap overflow in bhnd(4) SPROM parsing.
ClosedPublic

Authored by landonf on Jul 9 2016, 10:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 5 2024, 1:43 PM
Unknown Object (File)
Oct 22 2024, 8:40 AM
Unknown Object (File)
Oct 22 2024, 8:40 AM
Unknown Object (File)
Oct 22 2024, 8:40 AM
Unknown Object (File)
Oct 22 2024, 8:30 AM
Unknown Object (File)
Oct 2 2024, 12:59 PM
Unknown Object (File)
Oct 2 2024, 7:57 AM
Unknown Object (File)
Oct 1 2024, 12:35 AM
Subscribers

Details

Summary

The bus_region_* APIs accept the number of data items to be
read, while the code was passing the total number of bytes,
resulting in an overflow of the SPROM parser's shadow buffer.

Diff Detail

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

Event Timeline

landonf retitled this revision from to Fix heap overflow in bhnd(4) SPROM parsing..
landonf updated this object.
landonf edited the test plan for this revision. (Show Details)
landonf added a reviewer: adrian.
adrian edited edge metadata.

approved!

This revision is now accepted and ready to land.Jul 9 2016, 11:02 PM
This revision was automatically updated to reflect the committed changes.