Bug 2541346 (CVE-2026-98157) - CVE-2026-98157 kernel: EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation
Summary: CVE-2026-98157 kernel: EDAC/device_sysfs: Use kstrtouint() for poll_msec to p...
Keywords:
Status: NEW
Alias: CVE-2026-98157
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 11:31 UTC by OSIDB Bzimport
Modified: 2026-09-28 17:15 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-25 11:31:49 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.