CVE-2024-41021
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
29/07/2024
Last modified:
25/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
s390/mm: Fix VM_FAULT_HWPOISON handling in do_exception()<br />
<br />
There is no support for HWPOISON, MEMORY_FAILURE, or ARCH_HAS_COPY_MC on<br />
s390. Therefore we do not expect to see VM_FAULT_HWPOISON in<br />
do_exception().<br />
<br />
However, since commit af19487f00f3 ("mm: make PTE_MARKER_SWAPIN_ERROR more<br />
general"), it is possible to see VM_FAULT_HWPOISON in combination with<br />
PTE_MARKER_POISONED, even on architectures that do not support HWPOISON<br />
otherwise. In this case, we will end up on the BUG() in do_exception().<br />
<br />
Fix this by treating VM_FAULT_HWPOISON the same as VM_FAULT_SIGBUS, similar<br />
to x86 when MEMORY_FAILURE is not configured. Also print unexpected fault<br />
flags, for easier debugging.<br />
<br />
Note that VM_FAULT_HWPOISON_LARGE is not expected, because s390 cannot<br />
support swap entries on other levels than PTE level.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.6 (including) | 6.6.44 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.9.12 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.10 (including) | 6.10.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/73a9260b7366d2906ec011e100319359fe2277d0
- https://git.kernel.org/stable/c/9e13767ccefdc4f8aa92514b592b60f6b54882ff
- https://git.kernel.org/stable/c/a3aefb871222a9880602d1a44a558177b4143e3b
- https://git.kernel.org/stable/c/df39038cd89525d465c2c8827eb64116873f141a
- https://git.kernel.org/stable/c/9e13767ccefdc4f8aa92514b592b60f6b54882ff
- https://git.kernel.org/stable/c/a3aefb871222a9880602d1a44a558177b4143e3b
- https://git.kernel.org/stable/c/df39038cd89525d465c2c8827eb64116873f141a



