CVE-2026-98157 (GCVE-0-2026-98157)
Vulnerability from cvelistv5
Published
2026-09-25 10:36
Modified
2026-10-19 09:14
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation The poll_msec sysfs store file uses simple_strtoul() which accepts an unsigned long, but the target field (poll_msec) is unsigned int. On 64-bit systems, a value > UINT_MAX is silently truncated when stored. Fix the mismatch by using kstrtouint() instead. This rejects values larger than UINT_MAX at parse time, making truncation impossible. Also add a check for value < 1 to reject the 0-delay case, which would cause the poll work to spin without delay and consume 100% CPU.
Impacted products
Vendor Product Version
Linux Linux Version: e27e3dac651771fe3250f6305dee277bce29fc5d
Version: e27e3dac651771fe3250f6305dee277bce29fc5d
Version: e27e3dac651771fe3250f6305dee277bce29fc5d
Version: e27e3dac651771fe3250f6305dee277bce29fc5d
Version: e27e3dac651771fe3250f6305dee277bce29fc5d
Version: e27e3dac651771fe3250f6305dee277bce29fc5d
Version: e27e3dac651771fe3250f6305dee277bce29fc5d
Version: e27e3dac651771fe3250f6305dee277bce29fc5d
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/edac/edac_device_sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a60794ee3f453516ab3ed212ba0295ecf890bc8c",
              "status": "affected",
              "version": "e27e3dac651771fe3250f6305dee277bce29fc5d",
              "versionType": "git"
            },
            {
              "lessThan": "f856511058c8cb470d6c6c7ce908870adcdc7dc6",
              "status": "affected",
              "version": "e27e3dac651771fe3250f6305dee277bce29fc5d",
              "versionType": "git"
            },
            {
              "lessThan": "656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b",
              "status": "affected",
              "version": "e27e3dac651771fe3250f6305dee277bce29fc5d",
              "versionType": "git"
            },
            {
              "lessThan": "541fc6f733b32463cf23277637bb07e2aaa00b53",
              "status": "affected",
              "version": "e27e3dac651771fe3250f6305dee277bce29fc5d",
              "versionType": "git"
            },
            {
              "lessThan": "ea01c061d839b520f385f112908de1c6e3391327",
              "status": "affected",
              "version": "e27e3dac651771fe3250f6305dee277bce29fc5d",
              "versionType": "git"
            },
            {
              "lessThan": "528052af901d6e6bbfa0e52362a70a58a5dd1e43",
              "status": "affected",
              "version": "e27e3dac651771fe3250f6305dee277bce29fc5d",
              "versionType": "git"
            },
            {
              "lessThan": "0e022ee4f8e0dc843ba4c80bb75408a7704279af",
              "status": "affected",
              "version": "e27e3dac651771fe3250f6305dee277bce29fc5d",
              "versionType": "git"
            },
            {
              "lessThan": "66cc9dec919dd63d8e4b3d386f7aed3ae684e645",
              "status": "affected",
              "version": "e27e3dac651771fe3250f6305dee277bce29fc5d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/edac/edac_device_sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.23"
            },
            {
              "lessThan": "2.6.23",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "2.6.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "2.6.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "2.6.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "2.6.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "2.6.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "2.6.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "2.6.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "2.6.23",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation\n\nThe poll_msec sysfs store file uses simple_strtoul() which accepts an unsigned\nlong, but the target field (poll_msec) is unsigned int. On 64-bit systems,\na value \u003e UINT_MAX is silently truncated when stored.\n\nFix the mismatch by using kstrtouint() instead. This rejects values larger\nthan UINT_MAX at parse time, making truncation impossible. Also add a check\nfor value \u003c 1 to reject the 0-delay case, which would cause the poll work to\nspin without delay and consume 100% CPU."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:14:51.107Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a60794ee3f453516ab3ed212ba0295ecf890bc8c"
        },
        {
          "url": "https://git.kernel.org/stable/c/f856511058c8cb470d6c6c7ce908870adcdc7dc6"
        },
        {
          "url": "https://git.kernel.org/stable/c/656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b"
        },
        {
          "url": "https://git.kernel.org/stable/c/541fc6f733b32463cf23277637bb07e2aaa00b53"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea01c061d839b520f385f112908de1c6e3391327"
        },
        {
          "url": "https://git.kernel.org/stable/c/528052af901d6e6bbfa0e52362a70a58a5dd1e43"
        },
        {
          "url": "https://git.kernel.org/stable/c/0e022ee4f8e0dc843ba4c80bb75408a7704279af"
        },
        {
          "url": "https://git.kernel.org/stable/c/66cc9dec919dd63d8e4b3d386f7aed3ae684e645"
        }
      ],
      "title": "EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98157",
    "datePublished": "2026-09-25T10:36:27.009Z",
    "dateReserved": "2026-09-25T10:25:14.320Z",
    "dateUpdated": "2026-10-19T09:14:51.107Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…