Page MenuHomeFreeBSD

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

Authored by luporl on Feb 13 2020, 5:59 PM.
Referenced Files
Unknown Object (File)
Sat, Oct 3, 10:59 AM
Unknown Object (File)
Fri, Oct 2, 5:36 PM
Unknown Object (File)
Tue, Sep 29, 6:54 PM
Unknown Object (File)
Thu, Sep 17, 9:26 AM
Unknown Object (File)
Sep 2 2026, 2:21 PM
Unknown Object (File)
Aug 31 2026, 8:03 AM
Unknown Object (File)
Aug 26 2026, 1:56 AM
Unknown Object (File)
Aug 20 2026, 6:42 PM

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