Security mailing lists by PureSourceCode

CVE-2026-31749

MEDIUM 5.5CVSS 3.1

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.

Published
1 May 2026
Last modified
11 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Analyzed
Weakness
CWE-476
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 2.6.30, < 5.10.253 5.10.253
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.11, < 5.15.203 5.15.203
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.16, < 6.1.168 6.1.168
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.2, < 6.6.134 6.6.134
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, < 6.12.81 6.12.81
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.13, < 6.18.22 6.18.22
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.19, < 6.19.12 6.19.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
= 7.0
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
= 7.0
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
= 7.0
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
= 7.0
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
= 7.0
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
= 7.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 1 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.