# CVE-2024-26742: scsi: smartpqi: Fix disable\_managed\_interrupts

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2024-04-03T17:00:31.982Z
- **Modified:** 2026-06-17T07:18:13.650Z

## Who should check

- Anyone running Linux \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< 3c31b18a8dd8b7bf36af1cd723d455853b8f94fe; \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< 4f5b15c15e6016efb3e14582d02cc4ddf57227df; \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< b9433b25cb06c415c9cb24782599649a406c8d6d; \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< 5761eb9761d2d5fe8248a9b719efc4d8baf1f24a
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: smartpqi: Fix disable\_managed\_interrupts

Correct blk-mq registration issue with module parameter
disable\_managed\_interrupts enabled.

When we turn off the default PCI\_IRQ\_AFFINITY flag, the driver needs to
register with blk-mq using blk\_mq\_map\_queues(). The driver is currently
calling blk\_mq\_pci\_map\_queues() which results in a stack trace and possibly
undefined behavior.

Stack Trace:
\[    7.860089\] scsi host2: smartpqi
\[    7.871934\] WARNING: CPU: 0 PID: 238 at block/blk-mq-pci.c:52 blk\_mq\_pci\_map\_queues+0xca/0xd0
\[    7.889231\] Modules linked in: sd\_mod t10\_pi sg uas smartpqi(+) crc32c\_intel scsi\_transport\_sas usb\_storage dm\_mirror dm\_region\_hash dm\_log dm\_mod ipmi\_devintf ipmi\_msghandler fuse
\[    7.924755\] CPU: 0 PID: 238 Comm: kworker/0:3 Not tainted 4.18.0-372.88.1.el8\_6\_smartpqi\_test.x86\_64 \#1
\[    7.944336\] Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 03/08/2022
\[    7.963026\] Workqueue: events work\_for\_cpu\_fn
\[    7.978275\] RIP: 0010:blk\_mq\_pci\_map\_queues+0xca/0xd0
\[    7.978278\] Code: 48 89 de 89 c7 e8 f6 0f 4f 00 3b 05 c4 b7 8e 01 72 e1 5b 31 c0 5d 41 5c 41 5d 41 5e 41 5f e9 7d df 73 00 31 c0 e9 76 df 73 00 \<0f\> 0b eb bc 90 90 0f 1f 44 00 00 41 57 49 89 ff 41 56 41 55 41 54
\[    7.978280\] RSP: 0018:ffffa95fc3707d50 EFLAGS: 00010216
\[    7.978283\] RAX: 00000000ffffffff RBX: 0000000000000000 RCX: 0000000000000010
\[    7.978284\] RDX: 0000000000000004 RSI: 0000000000000000 RDI: ffff9190c32d4310
\[    7.978286\] RBP: 0000000000000000 R08: ffffa95fc3707d38 R09: ffff91929b81ac00
\[    7.978287\] R10: 0000000000000001 R11: ffffa95fc3707ac0 R12: 0000000000000000
\[    7.978288\] R13: ffff9190c32d4000 R14: 00000000ffffffff R15: ffff9190c4c950a8
\[    7.978290\] FS:  0000000000000000(0000) GS:ffff9193efc00000(0000) knlGS:0000000000000000
\[    7.978292\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[    8.172814\] CR2: 000055d11166c000 CR3: 00000002dae10002 CR4: 00000000007706f0
\[    8.172816\] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
\[    8.172817\] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
\[    8.172818\] PKRU: 55555554
\[    8.172819\] Call Trace:
\[    8.172823\]  blk\_mq\_alloc\_tag\_set+0x12e/0x310
\[    8.264339\]  scsi\_add\_host\_with\_dma.cold.9+0x30/0x245
\[    8.279302\]  pqi\_ctrl\_init+0xacf/0xc8e \[smartpqi\]
\[    8.294085\]  ? pqi\_pci\_probe+0x480/0x4c8 \[smartpqi\]
\[    8.309015\]  pqi\_pci\_probe+0x480/0x4c8 \[smartpqi\]
\[    8.323286\]  local\_pci\_probe+0x42/0x80
\[    8.337855\]  work\_for\_cpu\_fn+0x16/0x20
\[    8.351193\]  process\_one\_work+0x1a7/0x360
\[    8.364462\]  ? create\_worker+0x1a0/0x1a0
\[    8.379252\]  worker\_thread+0x1ce/0x390
\[    8.392623\]  ? create\_worker+0x1a0/0x1a0
\[    8.406295\]  kthread+0x10a/0x120
\[    8.418428\]  ? set\_kthread\_struct+0x50/0x50
\[    8.431532\]  ret\_from\_fork+0x1f/0x40
\[    8.444137\] ---\[ end trace 1bf0173d39354506 \]---

## Affected and fixed versions

- Linux: \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< 3c31b18a8dd8b7bf36af1cd723d455853b8f94fe; \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< 4f5b15c15e6016efb3e14582d02cc4ddf57227df; \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< b9433b25cb06c415c9cb24782599649a406c8d6d; \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< 5761eb9761d2d5fe8248a9b719efc4d8baf1f24a (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 5761eb9761d2d5fe8248a9b719efc4d8baf1f24a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26742. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26742.md
Affected: Linux >= cf15c3e734e8d25de7b4d9170f5a69ace633a583, < 3c31b18a8dd8b7bf36af1cd723d455853b8f94fe; >= cf15c3e734e8d25de7b4d9170f5a69ace633a583, < 4f5b15c15e6016efb3e14582d02cc4ddf57227df; >= cf15c3e734e8d25de7b4d9170f5a69ace633a583, < b9433b25cb06c415c9cb24782599649a406c8d6d; >= cf15c3e734e8d25de7b4d91…
Fixed in: Linux 3c31b18a8dd8b7bf36af1cd723d455853b8f94fe, Linux 4f5b15c15e6016efb3e14582d02cc4ddf57227df, Linux 5761eb9761d2d5fe8248a9b719efc4d8baf1f24a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26742 being exploited?

There is no confirmed exploitation: CVE-2024-26742 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26742?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26742?

Linux \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< 3c31b18a8dd8b7bf36af1cd723d455853b8f94fe; \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< 4f5b15c15e6016efb3e14582d02cc4ddf57227df; \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< b9433b25cb06c415c9cb24782599649a406c8d6d; \>= cf15c3e734e8d25de7b4d9170f5a69ace633a583, \< 5761eb9761d2d5fe8248a9b719efc4d8baf1f24a; Linux 6.0.

### Is there a fix for CVE-2024-26742?

Yes. Fixed in Linux 3c31b18a8dd8b7bf36af1cd723d455853b8f94fe, Linux 4f5b15c15e6016efb3e14582d02cc4ddf57227df, Linux 5761eb9761d2d5fe8248a9b719efc4d8baf1f24a. Upgrade Linux to 5761eb9761d2d5fe8248a9b719efc4d8baf1f24a or later.

### How do I check if I'm affected by CVE-2024-26742?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3c31b18a8dd8b7bf36af1cd723d455853b8f94fe>
- patch: <https://git.kernel.org/stable/c/4f5b15c15e6016efb3e14582d02cc4ddf57227df>
- patch: <https://git.kernel.org/stable/c/b9433b25cb06c415c9cb24782599649a406c8d6d>
- patch: <https://git.kernel.org/stable/c/5761eb9761d2d5fe8248a9b719efc4d8baf1f24a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26742>

HTML: <https://flawdb.com/CVE-2024-26742> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26742>
