CVE-2022-48986
published high CVSS 3.1 · 7.8mm/gup: fix gup_pud_range() for dax
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux414fd080d125408cb15d04ff4907e1dd8145c8c7 to < 04edfa3dc06ecfc6133a33bc7271298782dee875 · 414fd080d125408cb15d04ff4907e1dd8145c8c7 to < f1cf856123ceb766c49967ec79b841030fa1741f · 414fd080d125408cb15d04ff4907e1dd8145c8c7 to < 3ac29732a2ffa64c7de13a072b0f2848b9c11037 · 414fd080d125408cb15d04ff4907e1dd8145c8c7 to < e06d13c36ded750c72521b600293befebb4e56c5 · 414fd080d125408cb15d04ff4907e1dd8145c8c7 to < fcd0ccd836ffad73d98a66f6fea7b16f735ea920 · c133d8eb894cb280f331608c6f1962ba9fbfe6b0 · 538162d21ac877b060dc057c89f13718f5caffc5 · 8b1a7762e0dac5db42a003009fdcb425f10baa07 · 4.9.165 to < 4.10 · 4.14.108 to < 4.15 · 4.19.31 to < 4.20 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.0 (affected) · 0 to < 5.0 (unaffected · semver) · 5.4.227 through 5.4.* (unaffected · semver) · 5.10.159 through 5.10.* (unaffected · semver) · 5.15.83 through 5.15.* (unaffected · semver) · 6.0.13 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-025 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-012 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2023-041 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | bionic | block-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | crypto-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | bionic | dasd-extra-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | dasd-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | fat-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | fb-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | firewire-core-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | floppy-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | fs-core-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | fs-secondary-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | input-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | ipmi-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | irda-modules-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | kernel-image-4.15.0-246-generic-di | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-aws | Advisory build | 4.15.0-1188.201 | USN-7988-1 |
| Ubuntu | bionic | linux-aws-cloud-tools-4.15.0-1188 | Advisory build | 4.15.0-1188.201 | USN-7988-1 |
| Ubuntu | bionic | linux-aws-fips | Advisory build | 4.15.0-2126.132 | USN-7988-2 |
| Ubuntu | bionic | linux-aws-fips-headers-4.15.0-2126 | Advisory build | 4.15.0-2126.132 | USN-7988-2 |
| Ubuntu | bionic | linux-aws-fips-tools-4.15.0-2126 | Advisory build | 4.15.0-2126.132 | USN-7988-2 |
| Ubuntu | bionic | linux-aws-headers-4.15.0-1188 | Advisory build | 4.15.0-1188.201 | USN-7988-1 |
| Ubuntu | bionic | linux-aws-tools-4.15.0-1188 | Advisory build | 4.15.0-1188.201 | USN-7988-1 |
| Ubuntu | bionic | linux-azure-4.15 | Advisory build | 4.15.0-1196.211 | USN-7988-3 |
| Ubuntu | bionic | linux-azure-4.15-cloud-tools-4.15.0-1196 | Advisory build | 4.15.0-1196.211 | USN-7988-3 |
| Ubuntu | bionic | linux-azure-4.15-headers-4.15.0-1196 | Advisory build | 4.15.0-1196.211 | USN-7988-3 |
| Ubuntu | bionic | linux-azure-4.15-tools-4.15.0-1196 | Advisory build | 4.15.0-1196.211 | USN-7988-3 |
| Ubuntu | bionic | linux-azure-fips | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-azure-fips-cloud-tools-4.15.0-2105 | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-azure-fips-headers-4.15.0-2105 | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-azure-fips-tools-4.15.0-2105 | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1143-fips | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1150-oracle | Advisory build | 4.15.0-1150.161 | USN-7988-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1170-kvm | Advisory build | 4.15.0-1170.175 | USN-7988-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1181-gcp | Advisory build | 4.15.0-1181.198 | USN-7988-3 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1188-aws | Advisory build | 4.15.0-1188.201 | USN-7988-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1196-azure | Advisory build | 4.15.0-1196.211 | USN-7988-3 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-2089-gcp-fips | Advisory build | 4.15.0-2089.95 | USN-7988-4 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-2105-azure-fips | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-2126-aws-fips | Advisory build | 4.15.0-2126.132 | USN-7988-2 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-246-generic | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-246-lowlatency | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-1188-aws | Advisory build | 4.15.0-1188.201 | USN-7988-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-1196-azure | Advisory build | 4.15.0-1196.211 | USN-7988-3 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-2105-azure-fips | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-246 | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-246-generic | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-246-lowlatency | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-cloud-tools-common | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-fips | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-fips-headers-4.15.0-1143 | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-fips-tools-4.15.0-1143 | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-fips-tools-host | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-gcp-4.15 | Advisory build | 4.15.0-1181.198 | USN-7988-3 |
| Ubuntu | bionic | linux-gcp-4.15-headers-4.15.0-1181 | Advisory build | 4.15.0-1181.198 | USN-7988-3 |
| Ubuntu | bionic | linux-gcp-4.15-tools-4.15.0-1181 | Advisory build | 4.15.0-1181.198 | USN-7988-3 |
| Ubuntu | bionic | linux-gcp-fips | Advisory build | 4.15.0-2089.95 | USN-7988-4 |
| Ubuntu | bionic | linux-gcp-fips-headers-4.15.0-2089 | Advisory build | 4.15.0-2089.95 | USN-7988-4 |
| Ubuntu | bionic | linux-gcp-fips-tools-4.15.0-2089 | Advisory build | 4.15.0-2089.95 | USN-7988-4 |
| Ubuntu | bionic | linux-headers-4.15.0-1143-fips | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-headers-4.15.0-1150-oracle | Advisory build | 4.15.0-1150.161 | USN-7988-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1170-kvm | Advisory build | 4.15.0-1170.175 | USN-7988-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1181-gcp | Advisory build | 4.15.0-1181.198 | USN-7988-3 |
| Ubuntu | bionic | linux-headers-4.15.0-1188-aws | Advisory build | 4.15.0-1188.201 | USN-7988-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1196-azure | Advisory build | 4.15.0-1196.211 | USN-7988-3 |
| Ubuntu | bionic | linux-headers-4.15.0-2089-gcp-fips | Advisory build | 4.15.0-2089.95 | USN-7988-4 |
| Ubuntu | bionic | linux-headers-4.15.0-2105-azure-fips | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-headers-4.15.0-2126-aws-fips | Advisory build | 4.15.0-2126.132 | USN-7988-2 |
| Ubuntu | bionic | linux-headers-4.15.0-246 | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-headers-4.15.0-246-generic | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-headers-4.15.0-246-lowlatency | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-image-4.15.0-1143-fips | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-image-4.15.0-1170-kvm | Advisory build | 4.15.0-1170.175 | USN-7988-1 |
| Ubuntu | bionic | linux-image-4.15.0-246-generic | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-image-hmac-4.15.0-1143-fips | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-1143-fips | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-1150-oracle | Advisory build | 4.15.0-1150.161 | USN-7988-1 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-1181-gcp | Advisory build | 4.15.0-1181.198 | USN-7988-3 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-1188-aws | Advisory build | 4.15.0-1188.201 | USN-7988-1 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-1196-azure | Advisory build | 4.15.0-1196.211 | USN-7988-3 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-2089-gcp-fips | Advisory build | 4.15.0-2089.95 | USN-7988-4 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-2105-azure-fips | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-2126-aws-fips | Advisory build | 4.15.0-2126.132 | USN-7988-2 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-246-generic | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-image-unsigned-4.15.0-246-lowlatency | Advisory build | 4.15.0-246.258 | USN-7988-1 |
| Ubuntu | bionic | linux-image-unsigned-hmac-4.15.0-1143-fips | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-image-unsigned-hmac-4.15.0-2089-gcp-fips | Advisory build | 4.15.0-2089.95 | USN-7988-4 |
| Ubuntu | bionic | linux-image-unsigned-hmac-4.15.0-2105-azure-fips | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-image-unsigned-hmac-4.15.0-2126-aws-fips | Advisory build | 4.15.0-2126.132 | USN-7988-2 |
| Ubuntu | bionic | linux-kvm | Advisory build | 4.15.0-1170.175 | USN-7988-1 |
| Ubuntu | bionic | linux-kvm-headers-4.15.0-1170 | Advisory build | 4.15.0-1170.175 | USN-7988-1 |
| Ubuntu | bionic | linux-kvm-tools-4.15.0-1170 | Advisory build | 4.15.0-1170.175 | USN-7988-1 |
| Ubuntu | bionic | linux-modules-4.15.0-1143-fips | Advisory build | 4.15.0-1143.155 | USN-7988-2 |
| Ubuntu | bionic | linux-modules-4.15.0-1150-oracle | Advisory build | 4.15.0-1150.161 | USN-7988-1 |
| Ubuntu | bionic | linux-modules-4.15.0-1170-kvm | Advisory build | 4.15.0-1170.175 | USN-7988-1 |
| Ubuntu | bionic | linux-modules-4.15.0-1181-gcp | Advisory build | 4.15.0-1181.198 | USN-7988-3 |
| Ubuntu | bionic | linux-modules-4.15.0-1188-aws | Advisory build | 4.15.0-1188.201 | USN-7988-1 |
| Ubuntu | bionic | linux-modules-4.15.0-1196-azure | Advisory build | 4.15.0-1196.211 | USN-7988-3 |
| Ubuntu | bionic | linux-modules-4.15.0-2089-gcp-fips | Advisory build | 4.15.0-2089.95 | USN-7988-4 |
| Ubuntu | bionic | linux-modules-4.15.0-2105-azure-fips | Advisory build | 4.15.0-2105.111 | USN-7988-5 |
| Ubuntu | bionic | linux-modules-4.15.0-2126-aws-fips | Advisory build | 4.15.0-2126.132 | USN-7988-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: mm/gup: fix gup_pud_range() for dax For dax pud, pud_huge() returns true on x86. So the function works as long as hugetlb is configured. However, dax doesn't depend on hugetlb. Commit 414fd080d125 ("mm/gup: fix gup_pmd_range() for dax") fixed devmap-backed huge PMDs, but missed devmap-backed huge PUDs. Fix this as well. This fixes the below kernel panic: general protection fault, probably for non-canonical address 0x69e7c000cc478: 0000 [#1] SMP < snip > Call Trace: <TASK> get_user_pages_fast+0x1f/0x40 iov_iter_get_pages+0xc6/0x3b0 ? mempool_alloc+0x5d/0x170 bio_iov_iter_get_pages+0x82/0x4e0 ? bvec_alloc+0x91/0xc0 ? bio_alloc_bioset+0x19a/0x2a0 blkdev_direct_IO+0x282/0x480 ? __io_complete_rw_common+0xc0/0xc0 ? filemap_range_has_page+0x82/0xc0 generic_file_direct_write+0x9d/0x1a0 ? inode_update_time+0x24/0x30 __generic_file_write_iter+0xbd/0x1e0 blkdev_write_iter+0xb4/0x150 ? io_import_iovec+0x8d/0x340 io_write+0xf9/0x300 io_issue_sqe+0x3c3/0x1d30 ? sysvec_reschedule_ipi+0x6c/0x80 __io_queue_sqe+0x33/0x240 ? fget+0x76/0xa0 io_submit_sqes+0xe6a/0x18d0 ? __fget_light+0xd1/0x100 __x64_sys_io_uring_enter+0x199/0x880 ? __context_tracking_enter+0x1f/0x70 ? irqentry_exit_to_user_mode+0x24/0x30 ? irqentry_exit+0x1d/0x30 ? __context_tracking_exit+0xe/0x70 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc97c11a7be < snip > </TASK> ---[ end trace 48b2e0e67debcaeb ]--- RIP: 0010:internal_get_user_pages_fast+0x340/0x990 < snip > Kernel panic - not syncing: Fatal exception Kernel Offset: disabled
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.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Exploitation requires local access to mmap a device-DAX mapping (/dev/dax with PUD alignment) and trigger get_user_pages_fast via a local syscall path such as O_DIRECT/io_uring; it is not reachable from the network stack. AC:L - Once a vulnerable kernel has a PUD-sized DAX mapping, the attacker fully controls the mapping contents and the GUP trigger, so the incorrect page-table walk or crash can be induced reliably without races or victim-dependent timing. PR:L - The DAX driver performs no capability check beyond ordinary file permissions on /dev/dax; an unprivileged user granted access to that device (common for PMEM/CXL workloads) can mmap it and trigger GUP without real root. UI:N - The attacker triggers the bug entirely through their own syscalls (mmap plus O_DIRECT/io_uring or other GUP users); no separate victim action is required. S:U - Impact is confined to the same kernel security authority (local DoS or memory access within the host kernel); this is not a VM/IOMMU escape or other cross-boundary scope change. C:H - When HUGETLB is disabled, gup_pud_range() treats a DAX PUD as a page-table pointer into attacker-controlled DAX memory in the linear map, so crafted PTEs can pin arbitrary valid pages that O_DIRECT write then exfiltrates to storage. I:H - The same confused GUP walk can pin arbitrary pages as the destination of O_DIRECT reads, yielding an arbitrary physical-memory write primitive and enabling further control-flow hijacking. A:H - Uncrafted or invalid walks produce a general protection fault and kernel panic in get_user_pages_fast, as shown in the fix commit’s reproducer call trace.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 414fd080d125408cb15d04ff4907e1dd8145c8c7 to < 04edfa3dc06ecfc6133a33bc7271298782dee875 (affected · git)414fd080d125408cb15d04ff4907e1dd8145c8c7 to < f1cf856123ceb766c49967ec79b841030fa1741f (affected · git)414fd080d125408cb15d04ff4907e1dd8145c8c7 to < 3ac29732a2ffa64c7de13a072b0f2848b9c11037 (affected · git)414fd080d125408cb15d04ff4907e1dd8145c8c7 to < e06d13c36ded750c72521b600293befebb4e56c5 (affected · git)414fd080d125408cb15d04ff4907e1dd8145c8c7 to < fcd0ccd836ffad73d98a66f6fea7b16f735ea920 (affected · git)c133d8eb894cb280f331608c6f1962ba9fbfe6b0 (affected · git)538162d21ac877b060dc057c89f13718f5caffc5 (affected · git)8b1a7762e0dac5db42a003009fdcb425f10baa07 (affected · git)4.9.165 to < 4.10 (affected · semver)4.14.108 to < 4.15 (affected · semver)4.19.31 to < 4.20 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.0 (affected)0 to < 5.0 (unaffected · semver)5.4.227 through 5.4.* (unaffected · semver)5.10.159 through 5.10.* (unaffected · semver)5.15.83 through 5.15.* (unaffected · semver)6.0.13 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/04edfa3dc06ecfc6133a33bc7271298782dee875
- https://git.kernel.org/stable/c/3ac29732a2ffa64c7de13a072b0f2848b9c11037
- https://git.kernel.org/stable/c/e06d13c36ded750c72521b600293befebb4e56c5
- https://git.kernel.org/stable/c/f1cf856123ceb766c49967ec79b841030fa1741f
- https://git.kernel.org/stable/c/fcd0ccd836ffad73d98a66f6fea7b16f735ea920
Provider assertions
2Linux · cna
mm/gup: fix gup_pud_range() for dax
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1baee50fa3f77713f09cc33d9129c579da14b3d341cbb46ece3aa7d9b16116a6
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record