Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-31751

MEDIUM 4.7EPSS 0%

comedi: dt2815: add hardware detection to prevent crash

Mitigation

  • Upgrade Linux to 93853512f565e625df2397f0d8050d6aafd7c3ad or later.

Who should check

  • Anyone running Linux >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 8d63161837f1bf8810dbcd2a583c2bbf5ca6d733; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < d2a786efdb9971f2a647724625da5bbecc994dc9; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 0dcf33994b8dcf3db36530fb7e2cf9f89e5cbac3; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < d5d9df8b08d68d083ac57abc2c887dfb1f31af63; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 65c528fbeddd88478c210052f6c7b21be4973156; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 34c8b3a91bdfbe4573650b4cd750ef639101fdc5; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 34b13250c618d7441508c6ef369144aa8a9b9bfa; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 93853512f565e625df2397f0d8050d6aafd7c3ad
  • Anyone running Linux 2.6.30

Vulnerability facts

Affected
Linux >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 8d63161837f1bf8810dbcd2a583c2bbf5ca6d733; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < d2a786efdb9971f2a647724625da5bbecc994dc9; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 0dcf33994b8dcf3db36530fb7e2cf9f89e5cbac3; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < d5d9df8b08d68d083ac57abc2c887dfb1f31af63; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 65c528fbeddd88478c210052f6c7b21be4973156; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 34c8b3a91bdfbe4573650b4cd750ef639101fdc5; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 34b13250c618d7441508c6ef369144aa8a9b9bfa; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 93853512f565e625df2397f0d8050d6aafd7c3ad; Linux 2.6.30
Fixed in
Linux 8d63161837f1bf8810dbcd2a583c2bbf5ca6d733, Linux 0dcf33994b8dcf3db36530fb7e2cf9f89e5cbac3, Linux 65c528fbeddd88478c210052f6c7b21be4973156, Linux 34c8b3a91bdfbe4573650b4cd750ef639101fdc5, Linux 34b13250c618d7441508c6ef369144aa8a9b9bfa, Linux 93853512f565e625df2397f0d8050d6aafd7c3ad
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.11% chance of exploitation in 30 days (percentile 0, 2026-11-26)
CWE
CWE-362
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: comedi: dt2815: add hardware detection to prevent crash The dt2815 driver crashes when attached to I/O ports without actual hardware present. This occurs because syzkaller or users can attach the driver to arbitrary I/O addresses via COMEDI_DEVCONFIG ioctl. When no hardware exists at the specified port, inb() operations return 0xff (floating bus), but outb() operations can trigger page faults due to undefined behavior, especially under race conditions: BUG: unable to handle page fault for address: 000000007fffff90 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page RIP: 0010:dt2815_attach+0x6e0/0x1110 Add hardware detection by reading the status register before attempting any write operations. If the read returns 0xff, assume no hardware is present and fail the attach with -ENODEV. This prevents crashes from outb() operations on non-existent hardware.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= d6a929b7608ae157cef86d00cc580d1038f0b985, < 8d63161837f1bf8810dbcd2a583c2bbf5ca6d733; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < d2a786efdb9971f2a647724625da5bbecc994dc9; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 0dcf33994b8dcf3db36530fb7e2cf9f89e5cbac3; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < d5d9df8b08d68d083ac57abc2c887dfb1f31af63; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 65c528fbeddd88478c210052f6c7b21be4973156; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 34c8b3a91bdfbe4573650b4cd750ef639101fdc5; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 34b13250c618d7441508c6ef369144aa8a9b9bfa; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 93853512f565e625df2397f0d8050d6aafd7c3ad—cvelist
Linux2.6.30—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-31751. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31751.md
Affected: Linux >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 8d63161837f1bf8810dbcd2a583c2bbf5ca6d733; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < d2a786efdb9971f2a647724625da5bbecc994dc9; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 0dcf33994b8dcf3db36530fb7e2cf9f89e5cbac3; >= d6a929b7608ae157cef86d0…
Fixed in: Linux 8d63161837f1bf8810dbcd2a583c2bbf5ca6d733, Linux 0dcf33994b8dcf3db36530fb7e2cf9f89e5cbac3, Linux 65c528fbeddd88478c210052f6c7b21be4973156, Linux 34c8b3a91bdfbe4573650b4cd750ef639101fdc5, Linux 34b13250c618d7441508c6ef369144aa8a9b9bfa, Linux 93853512f565e625df2397f0d8050d6aafd7c3ad

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-31751 being exploited?

There is no confirmed exploitation: CVE-2026-31751 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.11% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-31751?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-31751?

Linux >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 8d63161837f1bf8810dbcd2a583c2bbf5ca6d733; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < d2a786efdb9971f2a647724625da5bbecc994dc9; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 0dcf33994b8dcf3db36530fb7e2cf9f89e5cbac3; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < d5d9df8b08d68d083ac57abc2c887dfb1f31af63; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 65c528fbeddd88478c210052f6c7b21be4973156; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 34c8b3a91bdfbe4573650b4cd750ef639101fdc5; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 34b13250c618d7441508c6ef369144aa8a9b9bfa; >= d6a929b7608ae157cef86d00cc580d1038f0b985, < 93853512f565e625df2397f0d8050d6aafd7c3ad; Linux 2.6.30.

Is there a fix for CVE-2026-31751?

Yes. Fixed in Linux 8d63161837f1bf8810dbcd2a583c2bbf5ca6d733, Linux 0dcf33994b8dcf3db36530fb7e2cf9f89e5cbac3, Linux 65c528fbeddd88478c210052f6c7b21be4973156, Linux 34c8b3a91bdfbe4573650b4cd750ef639101fdc5, Linux 34b13250c618d7441508c6ef369144aa8a9b9bfa, Linux 93853512f565e625df2397f0d8050d6aafd7c3ad. Upgrade Linux to 93853512f565e625df2397f0d8050d6aafd7c3ad or later.

How do I check if I'm affected by CVE-2026-31751?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors