Live threats

All CVEs / Linux

CVE-2026-31749Linux Kernel

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
—
Auth required
Yes
Published
May 1, 2026
Updated
Nov 11, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-476
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 2.6.30 < 5.10.253
linuxlinux_kernel≥ 5.11 < 5.15.203
linuxlinux_kernel≥ 5.16 < 6.1.168
linuxlinux_kernel≥ 6.2 < 6.6.134
linuxlinux_kernel≥ 6.7 < 6.12.81
linuxlinux_kernel≥ 6.13 < 6.18.22
linuxlinux_kernel≥ 6.19 < 6.19.12
linuxlinux_kernel7.0
linuxlinux_kernel7.0
linuxlinux_kernel7.0
linuxlinux_kernel7.0
linuxlinux_kernel7.0
linuxlinux_kernel7.0

Official advisories

Also: SUSE (+9)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.