Page MenuHomeFreeBSD

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

Authored by luporl on Feb 13 2020, 5:59 PM.
Referenced Files
F172268645: D23667.id.diff
Thu, Sep 17, 9:26 AM
Unknown Object (File)
Wed, Sep 2, 2:21 PM
Unknown Object (File)
Mon, Aug 31, 8:03 AM
Unknown Object (File)
Wed, Aug 26, 1:56 AM
Unknown Object (File)
Thu, Aug 20, 6:42 PM
Unknown Object (File)
Aug 13 2026, 4:51 PM
Unknown Object (File)
Aug 13 2026, 1:08 PM
Unknown Object (File)
Aug 10 2026, 5:02 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29354
Build 27253: arc lint + arc unit