Nixpkgs security tracker

Try the new UI
Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 week, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
scsi: qla2xxx: Don't query firmware state while chip is down

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Don't query firmware state while chip is down qla2x00_fw_state_show() initializes rval to QLA_FUNCTION_FAILED and jumps to the out: label when the chip is down or EEH is busy. The out: block then re-issued qla2x00_get_firmware_state() because rval != QLA_SUCCESS, defeating the chip-down/EEH-busy guards and issuing a mailbox command (outside optrom_mutex) during ISP reset or PCI error recovery, which can hang the adapter. It also turned a normal in-lock mailbox failure into a second unsynchronized mailbox attempt. Make the out: fallback only mark the firmware state as unknown. The mailbox is now issued at most once, inside optrom_mutex, and only when the chip is up and not EEH-busy.

Affected products

Linux
  • =<7.2.*
  • <b6a30baa29695fa0eaba4a3a04435a3c1a5cb63d
  • <e0cebe20dcffbed9c078fe30e2d18cd5046d9eff
  • ==4.20
  • <a6374b508893de15fee78583a95f5099d7812e85
  • <a194684853dceaa1d6b7a9a02bc12f479232ad9b
  • <4.20
  • =<6.1.*
  • =<6.12.*
  • <22f44f77da496bc355479c08a0a9dbc9ad42ba42
  • =<5.15.*
  • =<6.18.*
  • =<*
  • <cba780c01f72f8585ca81ad7304097f8b12ef339
  • <178d984e8875292582e4295cf559b2b11d3c9325
  • =<6.6.*
  • <7bc2baed8a3d6a1e2a3f6b78d245f25d1e18a749
  • =<5.10.*