CVE-2026-98157

EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation

MEDIUM
5.5
CVSS Score
Published: September 25, 2026 at 10:36 AM UTC
Updated: October 20, 2026 at 05:30 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.23 ≤ v < 5.10.2715.15 ≤ v < 5.15.2226.1 ≤ v < 6.1.1896.12 ≤ v < 6.12.1116.13 ≤ v < 6.18.536.19 ≤ v < 7.2.76.6 ≤ v < 6.6.1582.6.237.3e27e3dac651771fe3250f6305dee277bce29fc5d
Vendor states this is fixed in 0e022ee4f8e0dc843ba4c80bb75408a7704279af (fixed)
Vendor states this is fixed in 528052af901d6e6bbfa0e52362a70a58a5dd1e43 (fixed)
Vendor states this is fixed in 541fc6f733b32463cf23277637bb07e2aaa00b53 (fixed)
Vendor states this is fixed in 656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b (fixed)
Vendor states this is fixed in 66cc9dec919dd63d8e4b3d386f7aed3ae684e645 (fixed)
Vendor states this is fixed in a60794ee3f453516ab3ed212ba0295ecf890bc8c (fixed)
Vendor states this is fixed in ea01c061d839b520f385f112908de1c6e3391327 (fixed)
Vendor states this is fixed in f856511058c8cb470d6c6c7ce908870adcdc7dc6 (fixed)
Vendor states this is fixed in 2.6.23 (unaffected)
Vendor states this is fixed in 5.10.271 (unaffected)
Vendor states this is fixed in 5.15.222 (unaffected)
Vendor states this is fixed in 6.1.189 (unaffected)
Vendor states this is fixed in 6.12.111 (unaffected)
Vendor states this is fixed in 6.18.53 (unaffected)
Vendor states this is fixed in 6.6.158 (unaffected)
Vendor states this is fixed in 7.2.7 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card