Skip to main content

Linux Kernel EUVDEUVD-2026-26562

| CVE-2026-31749 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-05-01 Linux
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Local user gains shell access
  2. Delivery
    Triggers ni_atmio16d driver load/probe
  3. Exploit
    Causes attach handler to fail
  4. Install
    COMEDI core invokes detach
  5. C2
    Detach dereferences NULL dev->private
  6. Execute
    Kernel panic
  7. Impact
    System denial of service

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

The ni_atmio16d driver module must be compiled and loaded in the kernel. The COMEDI subsystem must be enabled. An attack requires local user privileges (PR:L) and the ability to trigger attach failure-either through malformed udev rules, missing firmware, or manipulation of the /sys device tree. The vulnerability manifests only during driver initialization when attach fails; normal operation with a successfully attached device is unaffected. Systems without the ni_atmio16d driver compiled or with the driver not loaded are not vulnerable. Exploitation is limited to local authenticated users; remote attackers cannot trigger the condition. The specific ATMIO16D hardware may or may not be present; the vulnerability occurs at the kernel driver level during initialization failure, independent of actual hardware presence.

Impact

CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicates local, low-complexity attack requiring low privileges (authenticated user), no user interaction, with denial of service as the impact. EPSS 0.02% (7th percentile) signals very low real-world exploitation probability despite moderate CVSS score - a common pattern for local DoS in device drivers affecting niche hardware (ATMIO16D data acquisition cards). The vulnerability requires: (1) a system with ni_atmio16d driver loaded, (2) conditions to trigger attach failure (malformed device or missing firmware), and (3) local user privilege. The fix is straightforward (check dev->private before reset), reducing likelihood of weaponization. Exploitation is not automatable across diverse systems - attacker must induce a specific, often rare, attach failure state. No KEV listing or POC identified; this is a defensive patch against edge-case failure handling, not an actively exploited attack vector. Real-world impact is limited to specialized industrial/lab systems using ATMIO16D cards with unprivileged local users able to trigger driver initialization.

Exploit ScenarioDerived

A local user on a system with the ni_atmio16d driver installed monitors the kernel logs or triggers conditions that cause the driver's attach handler to fail-for example, by removing firmware files or manipulating device probe parameters. When attach fails, the COMEDI core calls detach, which attempts to reset an uninitialized device, dereferencing a NULL private data pointer or writing to I/O port 0, causing a kernel oops or undesired I/O operations. The system may hang or crash, resulting in denial of service to other users and services.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 07, 2026

Null pointer dereference and invalid I/O port writes in the Linux kernel's comedi ni_atmio16d driver occur when the device attach handler fails, causing the detach handler to call reset_atmio16d() with uninitialized device state. Local privileged attackers can trigger a denial of service by causing attach to fail, resulting in kernel memory access violations or writes to address zero. No public exploit code or active exploitation has been identified; patch versions are available from the Linux kernel stable branches.

RemediationAI

Apply the vendor-released kernel patch by upgrading to a patched stable version: Linux 6.12.81 or later for 6.12.x users, 6.11.x users should upgrade to 6.12.81 or later, 6.6.134 or later for 6.6.x, 6.1.168 or later for 6.1.x, 5.15.203 or later for 5.15.x, or 5.10.253 or later for 5.10.x. The fix adds a NULL check for dev->private before calling reset_atmio16d() in atmio16d_detach(). For systems unable to immediately patch, temporarily disable the ni_atmio16d driver module (modprobe -r ni_atmio16d) if not required for production data acquisition; this eliminates the attack surface but halts ATMIO16D functionality. Alternatively, restrict access to device initialization paths using SELinux or AppArmor to prevent unprivileged users from triggering attach-time errors. The patch introduces minimal overhead (one pointer comparison) with no functional side effects. Upstream fixes are available at kernel.org stable branches referenced in the git commit links provided.

Affected VersionsENISA

Linux patch: 7.0
Linux patch: 6.19.12
Linux 2.6.30
Linux 2323b276308a5da5774b778f39c7fd94b2a3022a <933a2d6a95f9bfb203e562c9be1dd990c735535c
Linux 2323b276308a5da5774b778f39c7fd94b2a3022a <101ab946b79ad83b36d5cfd47de587492a80acf0
Linux patch: 6.1.168
Linux 2323b276308a5da5774b778f39c7fd94b2a3022a <3848ae00b1642e2c98ff8cbfd2d3b38c6f53b5c3
Linux 2323b276308a5da5774b778f39c7fd94b2a3022a <d07d97ca4f7fac467cdcf4a012690853958b7e89
Linux 2323b276308a5da5774b778f39c7fd94b2a3022a <43c68a2c7cc35b7c2a83c285cb4ad3d472b8caa2
Linux patch: 6.18.22
Linux 2323b276308a5da5774b778f39c7fd94b2a3022a <5d8d88c8c0eec230de8f1f60e0920a4337939a88
Linux patch: 5.15.203
Linux 2323b276308a5da5774b778f39c7fd94b2a3022a <f517646e008fe99ca1800601cd011b110f8684ae
Linux 2323b276308a5da5774b778f39c7fd94b2a3022a <a01dd339ea6ac58b0967a50085622a6017351140
Linux patch: 0
Linux patch: 6.6.134
Linux patch: 5.10.253
Linux patch: 6.12.81

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The vulnerability exists in the COMEDI (Control and Measurement Device Interface) subsystem's National Instruments ATMIO16D driver module. The comedi framework expects drivers to implement attach and detach handlers; if attach fails, the core automatically invokes detach for cleanup. The ni_atmio16d driver's detach function (atmio16d_detach) unconditionally calls reset_atmio16d(), which reads dev->iobase (I/O port base address) and dev->private (pointer to driver-private data). If attach fails early, dev->iobase may remain at its initialized value of 0 and dev->private may be NULL. This creates two failure modes: writing to I/O port 0 (undesired I/O operations) and dereferencing a NULL pointer (kernel panic). The root cause is CWE-476 (Null Pointer Dereference) combined with insufficient state validation in the error path.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
CVSS changed
May 07, 2026 - 19:22 NVD
5.5 (MEDIUM)
Patch available
May 01, 2026 - 16:02 EUVD
Patch released
May 01, 2026 - 15:24 nvd
Patch available
CVE Published
May 01, 2026 - 14:14 nvd
MEDIUM 5.5
CVE Published
May 01, 2026 - 14:14 nvd
N/A

DescriptionNVD

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

comedi: ni_atmio16d: Fix invalid clean-up after failed attach

If the driver's COMEDI "attach" handler function (atmio16d_attach()) returns an error, the COMEDI core will call the driver's "detach" handler function (atmio16d_detach()) to clean up. This calls reset_atmio16d() unconditionally, but depending on where the error occurred in the attach handler, the device may not have been sufficiently initialized to call reset_atmio16d(). It uses dev->iobase as the I/O port base address and dev->private as the pointer to the COMEDI device's private data structure. dev->iobase may still be set to its initial value of 0, which would result in undesired writes to low I/O port addresses. dev->private may still be NULL, which would result in null pointer dereferences.

Fix atmio16d_detach() by checking that dev->private is valid (non-null) before calling reset_atmio16d(). This implies that dev->iobase was set correctly since that is set up before dev->private.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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