---
id: CVE-2026-98157
title: |-
  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 ta…
summary: |-
  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 ta…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-681
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= e27e3dac651771fe3250f6305dee277bce29fc5d <
    a60794ee3f453516ab3ed212ba0295ecf890bc8c
  - >-
    Linux >= e27e3dac651771fe3250f6305dee277bce29fc5d <
    f856511058c8cb470d6c6c7ce908870adcdc7dc6
  - >-
    Linux >= e27e3dac651771fe3250f6305dee277bce29fc5d <
    656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b
  - >-
    Linux >= e27e3dac651771fe3250f6305dee277bce29fc5d <
    541fc6f733b32463cf23277637bb07e2aaa00b53
  - >-
    Linux >= e27e3dac651771fe3250f6305dee277bce29fc5d <
    ea01c061d839b520f385f112908de1c6e3391327
  - >-
    Linux >= e27e3dac651771fe3250f6305dee277bce29fc5d <
    528052af901d6e6bbfa0e52362a70a58a5dd1e43
  - >-
    Linux >= e27e3dac651771fe3250f6305dee277bce29fc5d <
    0e022ee4f8e0dc843ba4c80bb75408a7704279af
  - >-
    Linux >= e27e3dac651771fe3250f6305dee277bce29fc5d <
    66cc9dec919dd63d8e4b3d386f7aed3ae684e645
  - Linux 2.6.23
published: '2026-09-25'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:18:37.690'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98157'
references:
  - url: 'https://git.kernel.org/stable/c/0e022ee4f8e0dc843ba4c80bb75408a7704279af'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/528052af901d6e6bbfa0e52362a70a58a5dd1e43'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/541fc6f733b32463cf23277637bb07e2aaa00b53'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/656e2fe98ac452db4e5b8147d1f33b8c35b4ec4b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/66cc9dec919dd63d8e4b3d386f7aed3ae684e645'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a60794ee3f453516ab3ed212ba0295ecf890bc8c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ea01c061d839b520f385f112908de1c6e3391327'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f856511058c8cb470d6c6c7ce908870adcdc7dc6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98157.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98157'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541346'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98157'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98157'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98157.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00115
epssPercentile: 0.01509
cvssSource: vendor
ingestedAt: '2026-09-25T11:06:38.804Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98157.json)
