CVE-2024-41021s390/mm: Fix VM_FAULT_HWPOISON handling in do_exception()
- 5.5MediumCVSS base score
- 0.22%Exploitation in 30 daysEPSS · top 87% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: s390/mm: Fix VM_FAULT_HWPOISON handling in do_exception() There is no support for HWPOISON, MEMORY_FAILURE, or ARCH_HAS_COPY_MC on s390. Therefore we do not expect to see VM_FAULT_HWPOISON in do_exception(). However, since commit af19487f00f3 ("mm: make PTE_MARKER_SWAPIN_ERROR more general"), it is possible to see VM_FAULT_HWPOISON in combination with PTE_MARKER_POISONED, even on architectures that do not support HWPOISON otherwise. In this case, we will end up on the BUG() in do_exception(). Fix this by treating VM_FAULT_HWPOISON the same as VM_FAULT_SIGBUS, similar to x86 when MEMORY_FAILURE is not configured. Also print unexpected fault flags, for easier debugging. Note that VM_FAULT_HWPOISON_LARGE is not expected, because s390 cannot support swap entries on other levels than PTE level.
Timeline
ID reserved
By Linux
- 17 days later
· 17 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 87% of all CVEs (20 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected af19487f00f34ff8643921d7909dbb3fedc7e329 – < 73a9260b7366d2906ec011e100319359fe2277d0
- affected af19487f00f34ff8643921d7909dbb3fedc7e329 – < 9e13767ccefdc4f8aa92514b592b60f6b54882ff
- affected af19487f00f34ff8643921d7909dbb3fedc7e329 – < a3aefb871222a9880602d1a44a558177b4143e3b
- affected af19487f00f34ff8643921d7909dbb3fedc7e329 – < df39038cd89525d465c2c8827eb64116873f141a
- affected 6.6
- unaffected < 6.6
- unaffected 6.6.44 – ≤ 6.6.*
- unaffected 6.9.12 – ≤ 6.9.*
- unaffected 6.10.2 – ≤ 6.10.*
- unaffected 6.11 – ≤ *
References
References4
- https://git.kernel.org/stable/c/73a9260b7366d2906ec011e100319359fe2277d0 (opens in a new tab)
- https://git.kernel.org/stable/c/9e13767ccefdc4f8aa92514b592b60f6b54882ff (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/a3aefb871222a9880602d1a44a558177b4143e3b (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/df39038cd89525d465c2c8827eb64116873f141a (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-39370 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-41021)Record last updated .