CVE-2024-50222
published high CVSS 3.1 · 7.0iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux908a1ad89466c1febf20bfe0037b84fc66f8a3f8 to < 4f7ffa83fa79dd52efbaef366c850aaaae06a469 · 908a1ad89466c1febf20bfe0037b84fc66f8a3f8 to < 3a303409f271dfe0987b8f79595138340497a32d · 908a1ad89466c1febf20bfe0037b84fc66f8a3f8 to < c749d9b7ebbc5716af7a95f7768634b30d9446ec · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.60 through 6.6.* (unaffected · semver) · 6.11.7 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1028 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1028 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-headers-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-headers-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-modules-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-modules-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-modules-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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?
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached through a local `write(2)` syscall on a regular file (`shmem_file_write_iter`/`generic_perform_write` → `copy_folio_from_iter_atomic`), not through any network-facing protocol handler. Exploitation requires the ability to issue write syscalls on the target system. AC:H - The defect exists only when the kernel is built with CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y — with that option off the pre-fix and post-fix code are identical — and it is a DEBUG_KERNEL-gated x86 debug option explicitly documented "Disable this for production systems!", absent from production and distro kernels. The build configuration of the target, plus the need for a large-folio-backed mapping, are conditions the attacker cannot influence. PR:L - Any unprivileged local user with write access to a file on a large-folio-capable filesystem (e.g. /dev/shm on huge tmpfs, XFS, bcachefs) can trigger it; no capabilities, namespaces, or mount privileges are required. UI:N - The attacker triggers the overrun entirely from its own write syscall with attacker-chosen file offset and length; no action by another user is needed. S:U - The out-of-bounds write and the resulting corruption are confined to kernel memory managed by the same kernel security authority, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - Overrunning the single-page kmap slot corrupts adjacent live kmap_local mappings of arbitrary kernel pages, and the short-copy path leaves the folio marked uptodate over a range never written in place, exposing stale page-cache contents to a subsequent read — a memory-corruption primitive leveragable for kernel information disclosure. I:H - Attacker-controlled data is copied past the end of the one-page temporary mapping at an attacker-influenced offset (up to the full folio size), writing into other CPUs' and outer-nested kmap_local fixmap slots and thereby modifying unrelated kernel-mapped pages. A:H - The reported outcome is a WARN at mm/highmem.c:622 followed by an interruptible hang, as `generic_perform_write` retries indefinitely on the zero-length copy; unmapped neighbouring fixmap PTEs and the mismatched kunmap index leave stale mappings that can also oops the kernel.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 908a1ad89466c1febf20bfe0037b84fc66f8a3f8 to < 4f7ffa83fa79dd52efbaef366c850aaaae06a469 (affected · git)908a1ad89466c1febf20bfe0037b84fc66f8a3f8 to < 3a303409f271dfe0987b8f79595138340497a32d (affected · git)908a1ad89466c1febf20bfe0037b84fc66f8a3f8 to < c749d9b7ebbc5716af7a95f7768634b30d9446ec (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.60 through 6.6.* (unaffected · semver)6.11.7 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
3Provider assertions
2Linux · cna
iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d7cda4d86c4c411e4becf7f74ad94426758b1b4a7fe561f7a6ae8f62e28b11e
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record