CVE-2026-98157
EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation
Check your servers for CVE-2026-98157
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98157 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.04% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e27e3dac651771fe3250f6305dee277bce29fc5d, before a60794ee3f453516ab3ed212ba0295ecf890bc8c affected from e27e3dac651771fe3250f6305dee277bce29fc5d, before f856511058c8cb470d6c6c7ce908870adcdc7dc6 affected from e27e3dac651771fe3250f6305dee277bce29fc5d, before 656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b affected from e27e3dac651771fe3250f6305dee277bce29fc5d, before 541fc6f733b32463cf23277637bb07e2aaa00b53 affected from e27e3dac651771fe3250f6305dee277bce29fc5d, before ea01c061d839b520f385f112908de1c6e3391327 affected from e27e3dac651771fe3250f6305dee277bce29fc5d, before 528052af901d6e6bbfa0e52362a70a58a5dd1e43 affected from e27e3dac651771fe3250f6305dee277bce29fc5d, before 0e022ee4f8e0dc843ba4c80bb75408a7704279af affected from e27e3dac651771fe3250f6305dee277bce29fc5d, before 66cc9dec919dd63d8e4b3d386f7aed3ae684e645
Other versions: unaffected
|
| Linux |
affected 2.6.23 unaffected before 2.6.23 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98157 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98157
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98157
trivy image --scanners vuln IMAGE | grep CVE-2026-98157
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a60794ee3f453516ab3ed212ba0295ecf890bc8c git.kernel.org
- https://git.kernel.org/stable/c/f856511058c8cb470d6c6c7ce908870adcdc7dc6 git.kernel.org
- https://git.kernel.org/stable/c/656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b git.kernel.org
- https://git.kernel.org/stable/c/541fc6f733b32463cf23277637bb07e2aaa00b53 git.kernel.org
- https://git.kernel.org/stable/c/ea01c061d839b520f385f112908de1c6e3391327 git.kernel.org
- https://git.kernel.org/stable/c/528052af901d6e6bbfa0e52362a70a58a5dd1e43 git.kernel.org
- https://git.kernel.org/stable/c/0e022ee4f8e0dc843ba4c80bb75408a7704279af git.kernel.org
- https://git.kernel.org/stable/c/66cc9dec919dd63d8e4b3d386f7aed3ae684e645 git.kernel.org
Source: the record CVE-2026-98157 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse