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)
Thu, Oct 15, 3:03 AM
Unknown Object (File)
Sun, Oct 11, 6:45 AM
Unknown Object (File)
Thu, Oct 8, 8:47 PM
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)
Sep 17 2026, 9:26 AM
Unknown Object (File)
Sep 2 2026, 2:21 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