CVE-2026-98157 EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation
A local attacker can cause a denial of service by writing large values to the poll_msec sysfs file, leading to CPU exhaustion due to integer truncation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-98157?
CVE-2026-98157 is a medium-severity vulnerability in Linux kernel, published on 25 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-98157?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-98157?
Apply the vendor's patch.
Is CVE-2026-98157 being exploited?
There is no known exploitation of CVE-2026-98157 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-104808, BELL-CVE-2026-98157, DEBIAN-CVE-2026-98157, GHSA-r5h3-8gfg-g75q, UBUNTU-CVE-2026-98157.