Page MenuHomeFreeBSD

[aacraid] Prevent sense data from causing a buffer overflow
ClosedPublic

Authored by luporl on Feb 13 2020, 5:59 PM.
Referenced Files
F152236014: D23667.diff
Mon, Apr 13, 2:40 PM
Unknown Object (File)
Sat, Apr 11, 9:01 PM
Unknown Object (File)
Wed, Apr 1, 9:07 AM
Unknown Object (File)
Mar 7 2026, 11:24 AM
Unknown Object (File)
Mar 7 2026, 2:16 AM
Unknown Object (File)
Mar 6 2026, 10:45 PM
Unknown Object (File)
Mar 4 2026, 7:31 AM
Unknown Object (File)
Mar 4 2026, 1:12 AM

Details

Summary

On a PowerPC64 with an Adaptec RAID Controller with PCI device ID 0x028d, sense data was causing a buffer overflow, because of wrong max sense length logic.

There is a work in progress to make aacraid driver compatible with big-endian/PowerPC, in which this issue was found.

Diff Detail

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