CVE-2024-35989

CVE Details

Release Date:2024-05-20

Description


In the Linux kernel, the following vulnerability has been resolved:\ndmaengine: idxd: Fix oops during rmmod on single-CPU platforms\nDuring the removal of the idxd driver, registered offline callback is\ninvoked as part of the clean up process. However, on systems with only\none CPU online, no valid target is available to migrate the\nperf context, resulting in a kernel oops:\nBUG: unable to handle page fault for address: 000000000002a2b8\n#PF: supervisor write access in kernel mode\n#PF: error_code(0x0002) - not-present page\nPGD 1470e1067 P4D 0\nOops: 0002 [#1] PREEMPT SMP NOPTI\nCPU: 0 PID: 20 Comm: cpuhp/0 Not tainted 6.8.0-rc6-dsa+ #57\nHardware name: Intel Corporation AvenueCity/AvenueCity, BIOS BHSDCRB1.86B.2492.D03.2307181620 07/18/2023\nRIP: 0010:mutex_lock+0x2e/0x50\n...\nCall Trace:\n\n__die+0x24/0x70\npage_fault_oops+0x82/0x160\ndo_user_addr_fault+0x65/0x6b0\n__pfx___rdmsr_safe_on_cpu+0x10/0x10\nexc_page_fault+0x7d/0x170\nasm_exc_page_fault+0x26/0x30\nmutex_lock+0x2e/0x50\nmutex_lock+0x1e/0x50\nperf_pmu_migrate_context+0x87/0x1f0\nperf_event_cpu_offline+0x76/0x90 [idxd]\ncpuhp_invoke_callback+0xa2/0x4f0\n__pfx_perf_event_cpu_offline+0x10/0x10 [idxd]\ncpuhp_thread_fun+0x98/0x150\nsmpboot_thread_fn+0x27/0x260\nsmpboot_thread_fn+0x1af/0x260\n__pfx_smpboot_thread_fn+0x10/0x10\nkthread+0x103/0x140\n__pfx_kthread+0x10/0x10\nret_from_fork+0x31/0x50\n__pfx_kthread+0x10/0x10\nret_from_fork_asm+0x1b/0x30\n\nFix the issue by preventing the migration of the perf context to an\ninvalid target.

See more information about CVE-2024-35989 from MITRE CVE dictionary and NIST NVD


CVSS Scoring


NOTE: The following CVSS v3.1 metrics and score provided are preliminary and subject to review.

Base Score: 5.5 CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector: Local network Attack Complexity: Low
Privileges Required: Low User Interaction: None
Scope: Unchanged Confidentiality Impact: None
Integrity Impact: None Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 8 (kernel)ELSA-2024-70002024-09-24
Oracle Linux version 9 (kernel)ELSA-2024-81622024-10-16


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete