{"api_version":"1","generated_at":"2026-09-25T22:31:56+00:00","cve":"CVE-2026-98157","urls":{"html":"https://cve.report/CVE-2026-98157","api":"https://cve.report/api/cve/CVE-2026-98157.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98157","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98157"},"summary":{"title":"EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation\n\nThe poll_msec sysfs store file uses simple_strtoul() which accepts an unsigned\nlong, but the target field (poll_msec) is unsigned int. On 64-bit systems,\na value > UINT_MAX is silently truncated when stored.\n\nFix the mismatch by using kstrtouint() instead. This rejects values larger\nthan UINT_MAX at parse time, making truncation impossible. Also add a check\nfor value < 1 to reject the 0-delay case, which would cause the poll work to\nspin without delay and consume 100% CPU.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-25 11:17:47","updated_at":"2026-09-25 11:17:47"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0e022ee4f8e0dc843ba4c80bb75408a7704279af","name":"https://git.kernel.org/stable/c/0e022ee4f8e0dc843ba4c80bb75408a7704279af","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/528052af901d6e6bbfa0e52362a70a58a5dd1e43","name":"https://git.kernel.org/stable/c/528052af901d6e6bbfa0e52362a70a58a5dd1e43","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ea01c061d839b520f385f112908de1c6e3391327","name":"https://git.kernel.org/stable/c/ea01c061d839b520f385f112908de1c6e3391327","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/66cc9dec919dd63d8e4b3d386f7aed3ae684e645","name":"https://git.kernel.org/stable/c/66cc9dec919dd63d8e4b3d386f7aed3ae684e645","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98157","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98157","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e27e3dac651771fe3250f6305dee277bce29fc5d ea01c061d839b520f385f112908de1c6e3391327 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e27e3dac651771fe3250f6305dee277bce29fc5d 528052af901d6e6bbfa0e52362a70a58a5dd1e43 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e27e3dac651771fe3250f6305dee277bce29fc5d 0e022ee4f8e0dc843ba4c80bb75408a7704279af git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e27e3dac651771fe3250f6305dee277bce29fc5d 66cc9dec919dd63d8e4b3d386f7aed3ae684e645 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.23","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.23 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.111 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.53 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.7 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/edac/edac_device_sysfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ea01c061d839b520f385f112908de1c6e3391327","status":"affected","version":"e27e3dac651771fe3250f6305dee277bce29fc5d","versionType":"git"},{"lessThan":"528052af901d6e6bbfa0e52362a70a58a5dd1e43","status":"affected","version":"e27e3dac651771fe3250f6305dee277bce29fc5d","versionType":"git"},{"lessThan":"0e022ee4f8e0dc843ba4c80bb75408a7704279af","status":"affected","version":"e27e3dac651771fe3250f6305dee277bce29fc5d","versionType":"git"},{"lessThan":"66cc9dec919dd63d8e4b3d386f7aed3ae684e645","status":"affected","version":"e27e3dac651771fe3250f6305dee277bce29fc5d","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/edac/edac_device_sysfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.23"},{"lessThan":"2.6.23","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.111","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.53","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.111","versionStartIncluding":"2.6.23","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.53","versionStartIncluding":"2.6.23","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.7","versionStartIncluding":"2.6.23","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc2","versionStartIncluding":"2.6.23","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation\n\nThe poll_msec sysfs store file uses simple_strtoul() which accepts an unsigned\nlong, but the target field (poll_msec) is unsigned int. On 64-bit systems,\na value > UINT_MAX is silently truncated when stored.\n\nFix the mismatch by using kstrtouint() instead. This rejects values larger\nthan UINT_MAX at parse time, making truncation impossible. Also add a check\nfor value < 1 to reject the 0-delay case, which would cause the poll work to\nspin without delay and consume 100% CPU."}],"providerMetadata":{"dateUpdated":"2026-09-25T10:36:27.009Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ea01c061d839b520f385f112908de1c6e3391327"},{"url":"https://git.kernel.org/stable/c/528052af901d6e6bbfa0e52362a70a58a5dd1e43"},{"url":"https://git.kernel.org/stable/c/0e022ee4f8e0dc843ba4c80bb75408a7704279af"},{"url":"https://git.kernel.org/stable/c/66cc9dec919dd63d8e4b3d386f7aed3ae684e645"}],"title":"EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98157","datePublished":"2026-09-25T10:36:27.009Z","dateReserved":"2026-09-25T10:25:14.320Z","dateUpdated":"2026-09-25T10:36:27.009Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-25 11:17:47","lastModifiedDate":"2026-09-25 11:17:47","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98157","Ordinal":"1","Title":"EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent tru","CVE":"CVE-2026-98157","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98157","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent truncation\n\nThe poll_msec sysfs store file uses simple_strtoul() which accepts an unsigned\nlong, but the target field (poll_msec) is unsigned int. On 64-bit systems,\na value > UINT_MAX is silently truncated when stored.\n\nFix the mismatch by using kstrtouint() instead. This rejects values larger\nthan UINT_MAX at parse time, making truncation impossible. Also add a check\nfor value < 1 to reject the 0-delay case, which would cause the poll work to\nspin without delay and consume 100% CPU.","Type":"Description","Title":"EDAC/device_sysfs: Use kstrtouint() for poll_msec to prevent tru"}]}}}