Skip to main content

Linux Kernel CVE-2024-26786

HIGH
NULL Pointer Dereference (CWE-476)
2024-04-04 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain low-privilege local access
  2. Delivery
    Open iommufd file descriptor
  3. Exploit
    Invoke iopt_add_access() triggering xa_alloc() success
  4. Install
    Force iopt_calculate_iova_alignment() failure
  5. C2
    iopt_access_list_id silently overwritten
  6. Execute
    Trigger cleanup path (close/destroy)
  7. Impact
    WARN_ON fires, kernel DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local access with low operating system privileges (PR:L per CVSS) and access to the iommufd interface are required. The iommufd subsystem must be available and accessible to the caller - this is typically the case in virtualization hosts using VFIO/IOMMU device passthrough, but not on general-purpose servers where iommufd is idle. The specific trigger requires a partial failure within iopt_add_access(): xa_alloc() must succeed (obtaining a new XArray slot) while the immediately following iopt_calculate_iova_alignment() must return an error, which is an uncommon but non-race-dependent error path. No network access, no UI interaction, and no elevated privileges beyond basic local access are required. Exploitation is limited by: (1) requirement for local system access, (2) iommufd must be in active use or accessible, and (3) the error path is not trivially triggered without fuzzing or deliberate fault injection.

Impact

The NVD-assigned CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H) overstates exploitability: AC:L does not reflect that triggering the bug requires a specific partial-failure error path (xa_alloc succeeds AND iopt_calculate_iova_alignment fails), which is not reliably reproducible without kernel fuzzing primitives. C:H and I:H are also aggressive - the primary demonstrated impact is a kernel WARN_ON (A:H/DoS). Privilege escalation via the pointer mismatch is theoretically possible but undemonstrated. EPSS at 0.22% / 13th percentile corroborates low exploitation probability. No CISA KEV listing and no public POC further reduce urgency. This is a kernel stability fix with genuine local DoS potential, not a priority remote or authenticated lateral-movement vector. Organizations running IOMMU device passthrough environments (cloud hypervisors, nested virtualization) should prioritize patching; general-purpose Linux servers have reduced exposure because iommufd is typically inactive in non-virtualization workloads.

Exploit ScenarioDerived

A local user with low operating system privileges (e.g., a VM guest-management process or an unprivileged container) opens an iommufd file descriptor and performs access operations that cause xa_alloc() to allocate a new XArray ID while iopt_calculate_iova_alignment() simultaneously fails - a condition reproducible with Syzkaller-style kernel fuzzing. The resulting overwrite of iopt_access_list_id corrupts kernel state, and on the next iommufd cleanup call the WARN_ON fires, potentially crashing or hanging the host kernel. No public POC is available; reproduction currently requires fuzzing infrastructure or precise knowledge of the error path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Aug 04, 2026

State corruption in the Linux kernel iommufd subsystem (io_pagetable.c) allows a local low-privileged attacker to trigger a kernel WARN_ON leading to system instability or denial of service. The bug manifests in iopt_add_access() when xa_alloc() succeeds but iopt_calculate_iova_alignment() subsequently fails - the function overwrites access->iopt_access_list_id with the newly allocated XArray ID rather than rolling back cleanly, causing a pointer mismatch detected at line 1360 of io_pagetable.c. Discovered via Syzkaller fuzzing; no public exploit code exists and EPSS sits at 0.22% (13th percentile), indicating low real-world exploitation probability at time of analysis.

Earlier versions of this analysis (2)
v2 Aug 04, 2026 - 13:32 cvss changed CVSS 7.8

State corruption in the Linux kernel iommufd subsystem allows a local low-privileged attacker on IOMMU-capable systems to corrupt kernel memory by triggering a partial failure path in iopt_add_access(). When xa_alloc() succeeds but iopt_calculate_iova_alignment() subsequently fails, iopt_access_list_id is overwritten with a stale ID, producing a pointer mismatch that triggers a WARN_ON in iommufd_access_change_ioas() and can result in kernel panic or, in more severe exploitation scenarios, privilege escalation through corrupted kernel memory. No public exploit has been identified at time of analysis, and the EPSS of 0.22% (13th percentile) indicates very low observed exploitation probability despite the CVSS 7.8 High score.

v1 Aug 04, 2026 - 13:32 cvss changed CVSS 7.8

Kernel memory corruption in the Linux kernel iommufd subsystem (io_pagetable.c) allows a local attacker with low privileges to trigger a data-structure inconsistency that manifests as a WARN_ON kernel warning and potential system instability or escalation. The flaw exists in iopt_add_access() where iopt_access_list_id is overwritten when xa_alloc() succeeds but the subsequent iopt_calculate_iova_alignment() call fails, leaving the xarray and the access object's ID out of sync. No public exploit or POC has been identified at time of analysis, and EPSS at 0.22% (13th percentile) confirms negligible observed exploitation pressure, though the CVSS score of 7.8 reflects the theoretical severity of kernel-level memory corruption.

RemediationAI

Apply the upstream kernel patch available via the three stable-branch commits referenced in NVD: https://git.kernel.org/stable/c/9526a46cc0c378d381560279bea9aa34c84298a0, https://git.kernel.org/stable/c/aeb004c0cd6958e910123a1607634401009c9539, and https://git.kernel.org/stable/c/f1fb745ee0a6fe43f1d84ec369c7e6af2310fda9. Distribution vendors (Red Hat, Canonical, SUSE, Debian) should be consulted for their respective kernel errata. If patching is not immediately possible and iommufd is not required, restricting access to iommufd device nodes (typically /dev/iommu) via filesystem permissions or seccomp policies reduces the attack surface. Disabling VFIO and IOMMU passthrough at the hypervisor level is an effective workaround for environments that do not use device passthrough, at the cost of losing hardware-accelerated I/O virtualization. No exact patched release version is independently confirmed beyond the commit-level references.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The iommufd subsystem (drivers/iommu/iommufd/) is the Linux kernel's modern interface for managing I/O memory management units, primarily used in virtualization and device passthrough scenarios (e.g., VFIO/IOMMU device assignment to VMs). The CWE-476 tag (NULL Pointer Dereference) is a secondary consequence - the root cause is a state-consistency bug: iopt_add_access() allocates a slot via xa_alloc() then unconditionally writes the new ID into access->iopt_access_list_id before iopt_calculate_iova_alignment() confirms success. If alignment calculation fails, xa_alloc()'s slot is freed but the ID field is already overwritten, leaving the structure in an inconsistent state. On subsequent iommufd_access_change_ioas() or iommufd_access_destroy_object() calls, the mismatch between the list pointer and the passed-in pointer trips a WARN_ON assertion. Affected CPEs confirm this spans linux_kernel up through 6.8-rc6.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.8 MEDIUM

Error path requires xa_alloc success AND alignment failure (AC:H); primary impact is kernel DoS (A:H); privilege escalation undemonstrated so C:L/I:L.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Analysis Updated
Aug 04, 2026 - 13:33 vuln.today
v3 - CVSS changed
Analysis Updated
Aug 04, 2026 - 13:32 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 13:32 vuln.today
v1 - CVSS changed
Severity Changed
Aug 04, 2026 - 11:23 NVD
MEDIUM HIGH
CVSS changed
Aug 04, 2026 - 11:23 NVD
5.5 (MEDIUM) 7.8 (HIGH)
CVE Published
Apr 04, 2024 - 09:15 cve.org
MEDIUM 5.5

DescriptionCVE.org

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

iommufd: Fix iopt_access_list_id overwrite bug

Syzkaller reported the following WARN_ON: WARNING: CPU: 1 PID: 4738 at drivers/iommu/iommufd/io_pagetable.c:1360

Call Trace: iommufd_access_change_ioas+0x2fe/0x4e0 iommufd_access_destroy_object+0x50/0xb0 iommufd_object_remove+0x2a3/0x490 iommufd_object_destroy_user iommufd_access_destroy+0x71/0xb0 iommufd_test_staccess_release+0x89/0xd0 __fput+0x272/0xb50 __fput_sync+0x4b/0x60 __do_sys_close __se_sys_close __x64_sys_close+0x8b/0x110 do_syscall_x64

The mismatch between the access pointer in the list and the passed-in pointer is resulting from an overwrite of access->iopt_access_list_id, in iopt_add_access(). Called from iommufd_access_change_ioas() when xa_alloc() succeeds but iopt_calculate_iova_alignment() fails.

Add a new_id in iopt_add_access() and only update iopt_access_list_id when returning successfully.

Executive ViewAI

Why It Matters

CVE-2024-26786 in the Linux kernel iommufd subsystem enables local users to trigger denial-of-service conditions through kernel instability, with no public exploit identified at time of analysis. Exploitation requires local system access, limiting the attack surface to internal threats or existing compromised accounts, but organizations running modern Linux across cloud and on-premises environments face potential operational disruption if systems remain unpatched.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Ubiquitous
Linux kernel runs majority of servers, containers, and cloud infrastructure
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy