dmaengine: idxd: Fix oops during rmmod on single-CPU platforms
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 11 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Fix oops during rmmod on single-CPU platforms During the removal of the idxd driver, registered offline callback is invoked as part of the clean up process. However, on systems with only one CPU online, no valid target is available to migrate the perf context, resulting in a kernel oops: BUG: unable to handle page fault for address: 000000000002a2b8 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 1470e1067 P4D 0 Oops: 0002 [#1] PREEMPT SMP NOPTI CPU: 0 PID: 20 Comm: cpuhp/0 Not tainted 6.8.0-rc6-dsa+ #57 Hardware name: Intel Corporation AvenueCity/AvenueCity, BIOS BHSDCRB1.86B.2492.D03.2307181620 07/18/2023 RIP: 0010:mutex_lock+0x2e/0x50 ... Call Trace: <TASK> __die+0x24/0x70 page_fault_oops+0x82/0x160 do_user_addr_fault+0x65/0x6b0 __pfx___rdmsr_safe_on_cpu+0x10/0x10 exc_page_fault+0x7d/0x170 asm_exc_page_fault+0x26/0x30 mutex_lock+0x2e/0x50 mutex_lock+0x1e/0x50 perf_pmu_migrate_context+0x87/0x1f0 perf_event_cpu_offline+0x76/0x90 [idxd] cpuhp_invoke_callback+0xa2/0x4f0 __pfx_perf_event_cpu_offline+0x10/0x10 [idxd] cpuhp_thread_fun+0x98/0x150 smpboot_thread_fn+0x27/0x260 smpboot_thread_fn+0x1af/0x260 __pfx_smpboot_thread_fn+0x10/0x10 kthread+0x103/0x140 __pfx_kthread+0x10/0x10 ret_from_fork+0x31/0x50 __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1b/0x30 <TASK> Fix the issue by preventing the migration of the perf context to an invalid target.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.13 and later | 5.15.158, 6.1.90, 6.6.30, 6.8.9, 6.9 | Patch available | CNA |
- Linux VendorLinux Affected 5.13 and later Fixed in 5.15.158, 6.1.90, 6.6.30, 6.8.9, 6.9 Patch available CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.13 to before 5.15.158; 5.16 to before 6.1.90; 6.2 to before 6.6.30; 6.7 to before 6.8.9 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* | 6.9 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* | 6.9 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* | 6.9 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:* | 6.9 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:* | 6.9 rc5 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.13 to before 5.15.158; 5.16 to before 6.1.90; 6.2 to before 6.6.30; 6.7 to before 6.8.9 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* Versions 6.9 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* Versions 6.9 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* Versions 6.9 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:* Versions 6.9 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:* Versions 6.9 rc5 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.15.158, 6.1.90, 6.6.30, 6.8.9, 6.9
Red Hat 3 advisories
- RHSA-2024:8162 Released 2024-10-16 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-427.40.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.40.1.el9_4, kernel-64k-devel-5.14.0-427.40.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.3.0-427.40.1.el9_4, kernel-5.14.0-427.40.1.el9_4, kernel-64k-5.14.0-427.40.1.el9_4 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-427.40.1.el9_4, libperf-5.14.0-427.40.1.el9_4
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-427.40.1.el9_4, kernel-rt-core-5.14.0-427.40.1.el9_4, kernel-rt-debug-5.14.0-427.40.1.el9_4 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-427.40.1.el9_4, kernel-rt-core-5.14.0-427.40.1.el9_4, kernel-rt-debug-5.14.0-427.40.1.el9_4 +9
- RHSA-2024:7000 Released 2024-09-24 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.22.1.el8_10, kernel-4.18.0-553.22.1.el8_10, kernel-abi-stablelists-4.18.0-553.22.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.22.1.el8_10
- RHSA-2024:7001 Released 2024-09-24 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.22.1.rt7.363.el8_10, kernel-rt-core-4.18.0-553.22.1.rt7.363.el8_10, kernel-rt-debug-4.18.0-553.22.1.rt7.363.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.22.1.rt7.363.el8_10, kernel-rt-core-4.18.0-553.22.1.rt7.363.el8_10, kernel-rt-debug-4.18.0-553.22.1.rt7.363.el8_10 +7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
| RHOAI-2.13-RHEL-8 | Fixed | — |
| RHOAI-2.14-RHEL-8 | Fixed | — |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:8162 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:7000 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:8162 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:7000 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:8162 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2024:7001 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2024:8162 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2024:7001 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2024:8162 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2024-35989
- 2026-10-03 Alias added: GHSA-95c2-w7x8-c93w
- 2026-10-29 Affected versions changed · Red Hat
- 2026-10-30 Fix available: RHOAI-2.13-RHEL-8, RHOAI-2.14-RHEL-8 · Red Hat
References
Patch 5
- https://git.kernel.org/stable/c/9edd3aa34d50f27b97be30b2ba4a6af0945ff56b
- https://git.kernel.org/stable/c/023b6390a15a98f9c3aa5e7da78d485d5384a08e
- https://git.kernel.org/stable/c/f976eca36cdf94e32fa4f865db0e7c427c9aa33c
- https://git.kernel.org/stable/c/47533176fdcef17b114a6f688bc872901c1ec6bb
- https://git.kernel.org/stable/c/f221033f5c24659dc6ad7e5cf18fb1b075f4a8be
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-35989 · CVE Program
- CVE-2024-35989 · NVD
- FIRST EPSS
- GHSA-95c2-w7x8-c93w · GitHub Advisory Database · CC BY 4.0
- CVE-2024-35989 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences