CVE-2024-50222
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
09/11/2024
Last modified:
01/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP<br />
<br />
generic/077 on x86_32 CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y with highmem,<br />
on huge=always tmpfs, issues a warning and then hangs (interruptibly):<br />
<br />
WARNING: CPU: 5 PID: 3517 at mm/highmem.c:622 kunmap_local_indexed+0x62/0xc9<br />
CPU: 5 UID: 0 PID: 3517 Comm: cp Not tainted 6.12.0-rc4 #2<br />
...<br />
copy_page_from_iter_atomic+0xa6/0x5ec<br />
generic_perform_write+0xf6/0x1b4<br />
shmem_file_write_iter+0x54/0x67<br />
<br />
Fix copy_page_from_iter_atomic() by limiting it in that case<br />
(include/linux/skbuff.h skb_frag_must_loop() does similar).<br />
<br />
But going forward, perhaps CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP is too<br />
surprising, has outlived its usefulness, and should just be removed?
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.6 (including) | 6.6.60 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.11.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



