# CVE-2026-98157: EDAC/device\_sysfs: Use kstrtouint() for poll\_msec to prevent truncation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-09-25T10:36:27.009Z
- **Modified:** 2026-10-20T17:30:40.097Z

## Who should check

- Anyone running Linux \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< a60794ee3f453516ab3ed212ba0295ecf890bc8c; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< f856511058c8cb470d6c6c7ce908870adcdc7dc6; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 541fc6f733b32463cf23277637bb07e2aaa00b53; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< ea01c061d839b520f385f112908de1c6e3391327; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 528052af901d6e6bbfa0e52362a70a58a5dd1e43; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 0e022ee4f8e0dc843ba4c80bb75408a7704279af; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 66cc9dec919dd63d8e4b3d386f7aed3ae684e645
- Anyone running Linux 2.6.23

## 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 and fixed versions

- Linux: \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< a60794ee3f453516ab3ed212ba0295ecf890bc8c; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< f856511058c8cb470d6c6c7ce908870adcdc7dc6; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 541fc6f733b32463cf23277637bb07e2aaa00b53; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< ea01c061d839b520f385f112908de1c6e3391327; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 528052af901d6e6bbfa0e52362a70a58a5dd1e43; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 0e022ee4f8e0dc843ba4c80bb75408a7704279af; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 66cc9dec919dd63d8e4b3d386f7aed3ae684e645 (cvelist)
- Linux: 2.6.23 (cvelist)

## Mitigation

- Upgrade Linux to 66cc9dec919dd63d8e4b3d386f7aed3ae684e645 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98157. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98157.md
Affected: Linux >= e27e3dac651771fe3250f6305dee277bce29fc5d, < a60794ee3f453516ab3ed212ba0295ecf890bc8c; >= e27e3dac651771fe3250f6305dee277bce29fc5d, < f856511058c8cb470d6c6c7ce908870adcdc7dc6; >= e27e3dac651771fe3250f6305dee277bce29fc5d, < 656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b; >= e27e3dac651771fe3250f63…
Fixed in: Linux 656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b, Linux 541fc6f733b32463cf23277637bb07e2aaa00b53, Linux 528052af901d6e6bbfa0e52362a70a58a5dd1e43, Linux 0e022ee4f8e0dc843ba4c80bb75408a7704279af, Linux 66cc9dec919dd63d8e4b3d386f7aed3ae684e645

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98157 being exploited?

There is no confirmed exploitation: CVE-2026-98157 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98157?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98157?

Linux \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< a60794ee3f453516ab3ed212ba0295ecf890bc8c; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< f856511058c8cb470d6c6c7ce908870adcdc7dc6; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 541fc6f733b32463cf23277637bb07e2aaa00b53; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< ea01c061d839b520f385f112908de1c6e3391327; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 528052af901d6e6bbfa0e52362a70a58a5dd1e43; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 0e022ee4f8e0dc843ba4c80bb75408a7704279af; \>= e27e3dac651771fe3250f6305dee277bce29fc5d, \< 66cc9dec919dd63d8e4b3d386f7aed3ae684e645; Linux 2.6.23.

### Is there a fix for CVE-2026-98157?

Yes. Fixed in Linux 656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b, Linux 541fc6f733b32463cf23277637bb07e2aaa00b53, Linux 528052af901d6e6bbfa0e52362a70a58a5dd1e43, Linux 0e022ee4f8e0dc843ba4c80bb75408a7704279af, Linux 66cc9dec919dd63d8e4b3d386f7aed3ae684e645. Upgrade Linux to 66cc9dec919dd63d8e4b3d386f7aed3ae684e645 or later.

### How do I check if I'm affected by CVE-2026-98157?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a60794ee3f453516ab3ed212ba0295ecf890bc8c>
- patch: <https://git.kernel.org/stable/c/f856511058c8cb470d6c6c7ce908870adcdc7dc6>
- patch: <https://git.kernel.org/stable/c/656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b>
- patch: <https://git.kernel.org/stable/c/541fc6f733b32463cf23277637bb07e2aaa00b53>
- patch: <https://git.kernel.org/stable/c/ea01c061d839b520f385f112908de1c6e3391327>
- patch: <https://git.kernel.org/stable/c/528052af901d6e6bbfa0e52362a70a58a5dd1e43>
- patch: <https://git.kernel.org/stable/c/0e022ee4f8e0dc843ba4c80bb75408a7704279af>
- patch: <https://git.kernel.org/stable/c/66cc9dec919dd63d8e4b3d386f7aed3ae684e645>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98157>

HTML: <https://flawdb.com/CVE-2026-98157> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98157>
