CVE-2024-41070
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-41070 affects the Linux kernel and involves a use-after-free (UAF) vulnerability in the kvm_spapr_tce_attach_iommu_group() function. The vulnerability was discovered in July 2024 and affects multiple versions of the Linux kernel up to versions 5.4.281, 5.10.223, 5.15.164, 6.1.101, and 6.9.11 (NVD).

Technical details

The vulnerability occurs when the function looks up stt from tablefd but continues to use it after performing fdput() on the returned fd. After fdput(), the tablefd becomes free to be closed by another thread, which calls kvm_spapr_tce_release() and then release_spapr_tce_table() via call_rcu(), leading to the freeing of stt. Although rcu_read_lock() calls exist in the function, they are insufficient to prevent the UAF because stt is used outside the locked regions. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow a local attacker to potentially cause a denial of service through system crashes or possibly execute arbitrary code. The issue affects the KVM virtualization subsystem on PowerPC systems, specifically in the SPAPR TCE (Translation Control Entry) handling code (Kernel Patch).

Exploitability

The vulnerability can be triggered by a userspace program that exploits the race condition. A proof-of-concept exists that can trigger the UAF condition, which has been detected by KASAN (Kernel Address Sanitizer) during testing (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed by modifying the code to delay the fdput() operation until stt is no longer in use, effectively extending it to the entire function. The fix adds fdput() calls at each of the existing return paths. The patch has been confirmed to prevent the UAF condition when tested (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management