{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e27e3dac651771fe3250f6305dee277bce29fc5d"
            },
            {
              "fixed": "ea01c061d839b520f385f112908de1c6e3391327"
            },
            {
              "fixed": "528052af901d6e6bbfa0e52362a70a58a5dd1e43"
            },
            {
              "fixed": "0e022ee4f8e0dc843ba4c80bb75408a7704279af"
            },
            {
              "fixed": "66cc9dec919dd63d8e4b3d386f7aed3ae684e645"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.23"
            },
            {
              "fixed": "6.12.111"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98157.json"
  },
  "details": "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.",
  "id": "CVE-2026-98157",
  "modified": "2026-09-27T03:30:37.713793936Z",
  "published": "2026-09-25T10:36:27.009Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0e022ee4f8e0dc843ba4c80bb75408a7704279af"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/528052af901d6e6bbfa0e52362a70a58a5dd1e43"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/66cc9dec919dd63d8e4b3d386f7aed3ae684e645"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ea01c061d839b520f385f112908de1c6e3391327"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98157.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98157"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation"
}