{"id":"CVE-2026-98157","aliases":["CVE-2026-98157"],"related":[],"kind":"vulnerability","state":"published","title":"EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation","summary":"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 > 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 < 1 to reject the 0-delay case, which would cause the poll work to\nspin without delay and consume 100% CPU.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 > 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 < 1 to reject the 0-delay case, which would cause the poll work to\nspin without delay and consume 100% CPU.","source":"cvelist"}],"published":"2026-09-25T10:36:27.009Z","modified":"2026-10-20T17:30:40.097Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e27e3dac651771fe3250f6305dee277bce29fc5d","fixed":"a60794ee3f453516ab3ed212ba0295ecf890bc8c","status":"affected"},{"type":"git","introduced":"e27e3dac651771fe3250f6305dee277bce29fc5d","fixed":"f856511058c8cb470d6c6c7ce908870adcdc7dc6","status":"affected"},{"type":"git","introduced":"e27e3dac651771fe3250f6305dee277bce29fc5d","fixed":"656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b","status":"affected"},{"type":"git","introduced":"e27e3dac651771fe3250f6305dee277bce29fc5d","fixed":"541fc6f733b32463cf23277637bb07e2aaa00b53","status":"affected"},{"type":"git","introduced":"e27e3dac651771fe3250f6305dee277bce29fc5d","fixed":"ea01c061d839b520f385f112908de1c6e3391327","status":"affected"},{"type":"git","introduced":"e27e3dac651771fe3250f6305dee277bce29fc5d","fixed":"528052af901d6e6bbfa0e52362a70a58a5dd1e43","status":"affected"},{"type":"git","introduced":"e27e3dac651771fe3250f6305dee277bce29fc5d","fixed":"0e022ee4f8e0dc843ba4c80bb75408a7704279af","status":"affected"},{"type":"git","introduced":"e27e3dac651771fe3250f6305dee277bce29fc5d","fixed":"66cc9dec919dd63d8e4b3d386f7aed3ae684e645","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.23","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.23","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.23","fixed":"5.10.271"},{"status":"affected","introduced":"5.15","fixed":"5.15.222"},{"status":"affected","introduced":"6.1","fixed":"6.1.189"},{"status":"affected","introduced":"6.6","fixed":"6.6.158"},{"status":"affected","introduced":"6.12","fixed":"6.12.111"},{"status":"affected","introduced":"6.13","fixed":"6.18.53"},{"status":"affected","introduced":"6.19","fixed":"7.2.7"},{"status":"affected","version":"7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a60794ee3f453516ab3ed212ba0295ecf890bc8c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f856511058c8cb470d6c6c7ce908870adcdc7dc6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/541fc6f733b32463cf23277637bb07e2aaa00b53","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea01c061d839b520f385f112908de1c6e3391327","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/528052af901d6e6bbfa0e52362a70a58a5dd1e43","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e022ee4f8e0dc843ba4c80bb75408a7704279af","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66cc9dec919dd63d8e4b3d386f7aed3ae684e645","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98157","url":"https://www.cve.org/CVERecord?id=CVE-2026-98157","licence":"CVE Terms of Use","modified":"2026-10-19T09:14:51.107Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98157","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98157","licence":"Public domain","modified":"2026-10-20T17:30:40.097Z"}],"updatedAt":"2026-11-25T22:59:41.084Z","epss":{"score":0.00115,"percentile":0.01671,"date":"2026-12-01T12:00:22.000Z"}}