CVE-2024-50222
iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 4f7ffa83fa79dd52efbaef366c850aaaae06a469; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 3a303409f271dfe0987b8f79595138340497a32d; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < c749d9b7ebbc5716af7a95f7768634b30d9446ec
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 4f7ffa83fa79dd52efbaef366c850aaaae06a469; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 3a303409f271dfe0987b8f79595138340497a32d; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < c749d9b7ebbc5716af7a95f7768634b30d9446ec; Linux 6.6
- Fixed in
- Linux 4f7ffa83fa79dd52efbaef366c850aaaae06a469, Linux 3a303409f271dfe0987b8f79595138340497a32d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP generic/077 on x86_32 CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y with highmem, on huge=always tmpfs, issues a warning and then hangs (interruptibly): WARNING: CPU: 5 PID: 3517 at mm/highmem.c:622 kunmap_local_indexed+0x62/0xc9 CPU: 5 UID: 0 PID: 3517 Comm: cp Not tainted 6.12.0-rc4 #2 ... copy_page_from_iter_atomic+0xa6/0x5ec generic_perform_write+0xf6/0x1b4 shmem_file_write_iter+0x54/0x67 Fix copy_page_from_iter_atomic() by limiting it in that case (include/linux/skbuff.h skb_frag_must_loop() does similar). But going forward, perhaps CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP is too surprising, has outlived its usefulness, and should just be removed?
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 4f7ffa83fa79dd52efbaef366c850aaaae06a469; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 3a303409f271dfe0987b8f79595138340497a32d; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < c749d9b7ebbc5716af7a95f7768634b30d9446ec | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-50222. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-50222.md Affected: Linux >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 4f7ffa83fa79dd52efbaef366c850aaaae06a469; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 3a303409f271dfe0987b8f79595138340497a32d; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < c749d9b7ebbc5716af7a95f7768634b30d9446ec; Linux 6.6 Fixed in: Linux 4f7ffa83fa79dd52efbaef366c850aaaae06a469, Linux 3a303409f271dfe0987b8f79595138340497a32d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-50222 being exploited?
There is no confirmed exploitation: CVE-2024-50222 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-50222?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-50222?
Linux >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 4f7ffa83fa79dd52efbaef366c850aaaae06a469; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < 3a303409f271dfe0987b8f79595138340497a32d; >= 908a1ad89466c1febf20bfe0037b84fc66f8a3f8, < c749d9b7ebbc5716af7a95f7768634b30d9446ec; Linux 6.6.
Is there a fix for CVE-2024-50222?
Yes. Fixed in Linux 4f7ffa83fa79dd52efbaef366c850aaaae06a469, Linux 3a303409f271dfe0987b8f79595138340497a32d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-50222?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.