{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-31751",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-31751",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-05-01T14:14:43.551Z",
    "updatedAt": "2026-05-11T22:15:06.157Z",
    "importedAt": "2026-10-24T01:58:02.025Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "comedi: dt2815: add hardware detection to prevent crash",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: dt2815: add hardware detection to prevent crash\n\nThe dt2815 driver crashes when attached to I/O ports without actual\nhardware present. This occurs because syzkaller or users can attach\nthe driver to arbitrary I/O addresses via COMEDI_DEVCONFIG ioctl.\n\nWhen no hardware exists at the specified port, inb() operations return\n0xff (floating bus), but outb() operations can trigger page faults due\nto undefined behavior, especially under race conditions:\n\n  BUG: unable to handle page fault for address: 000000007fffff90\n  #PF: supervisor write access in kernel mode\n  #PF: error_code(0x0002) - not-present page\n  RIP: 0010:dt2815_attach+0x6e0/0x1110\n\nAdd hardware detection by reading the status register before attempting\nany write operations. If the read returns 0xff, assume no hardware is\npresent and fail the attach with -ENODEV. This prevents crashes from\noutb() operations on non-existent hardware.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "d6a929b7608ae157cef86d00cc580d1038f0b985",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8d63161837f1bf8810dbcd2a583c2bbf5ca6d733"
            },
            {
              "version": "d6a929b7608ae157cef86d00cc580d1038f0b985",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d2a786efdb9971f2a647724625da5bbecc994dc9"
            },
            {
              "version": "d6a929b7608ae157cef86d00cc580d1038f0b985",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0dcf33994b8dcf3db36530fb7e2cf9f89e5cbac3"
            },
            {
              "version": "d6a929b7608ae157cef86d00cc580d1038f0b985",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d5d9df8b08d68d083ac57abc2c887dfb1f31af63"
            },
            {
              "version": "d6a929b7608ae157cef86d00cc580d1038f0b985",
              "status": "affected",
              "versionType": "git",
              "lessThan": "65c528fbeddd88478c210052f6c7b21be4973156"
            },
            {
              "version": "d6a929b7608ae157cef86d00cc580d1038f0b985",
              "status": "affected",
              "versionType": "git",
              "lessThan": "34c8b3a91bdfbe4573650b4cd750ef639101fdc5"
            },
            {
              "version": "d6a929b7608ae157cef86d00cc580d1038f0b985",
              "status": "affected",
              "versionType": "git",
              "lessThan": "34b13250c618d7441508c6ef369144aa8a9b9bfa"
            },
            {
              "version": "d6a929b7608ae157cef86d00cc580d1038f0b985",
              "status": "affected",
              "versionType": "git",
              "lessThan": "93853512f565e625df2397f0d8050d6aafd7c3ad"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.30",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.30"
            },
            {
              "version": "5.10.253",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.203",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.168",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.134",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.81",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.22",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19.12",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.19.*"
            },
            {
              "version": "7.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}