Page MenuHomeFreeBSD

cam: fix integer overflow during inquiry
ClosedPublic

Authored by trasz on Apr 26 2021, 12:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 24, 11:21 PM
Unknown Object (File)
Thu, Apr 16, 6:45 PM
Unknown Object (File)
Wed, Apr 15, 3:16 AM
Unknown Object (File)
Mon, Apr 6, 2:25 PM
Unknown Object (File)
Mar 25 2026, 5:06 PM
Unknown Object (File)
Mar 14 2026, 3:35 AM
Unknown Object (File)
Mar 13 2026, 9:32 PM
Unknown Object (File)
Jan 31 2026, 7:39 PM
Subscribers

Details

Summary

From my understanding this could happen with iSCSI LUNs with
unusually long names. The bug would make CAM fail to retrieve
the full inquiry data. Instead of bumping the size of the local
variable, just use a macro.

Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable