# CVE-2022-48986: mm/gup: fix gup\_pud\_range() for dax

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **Published:** 2024-10-21T20:06:02.502Z
- **Modified:** 2026-08-05T08:53:16.291Z

## Who should check

- Anyone running Linux \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< 04edfa3dc06ecfc6133a33bc7271298782dee875; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< f1cf856123ceb766c49967ec79b841030fa1741f; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< 3ac29732a2ffa64c7de13a072b0f2848b9c11037; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< e06d13c36ded750c72521b600293befebb4e56c5; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< fcd0ccd836ffad73d98a66f6fea7b16f735ea920; c133d8eb894cb280f331608c6f1962ba9fbfe6b0; 538162d21ac877b060dc057c89f13718f5caffc5; 8b1a7762e0dac5db42a003009fdcb425f10baa07; \>= 4.9.165, \< 4.10; \>= 4.14.108, \< 4.15; …
- Anyone running Linux 5.0

## 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

## Affected and fixed versions

- Linux: \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< 04edfa3dc06ecfc6133a33bc7271298782dee875; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< f1cf856123ceb766c49967ec79b841030fa1741f; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< 3ac29732a2ffa64c7de13a072b0f2848b9c11037; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< e06d13c36ded750c72521b600293befebb4e56c5; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< fcd0ccd836ffad73d98a66f6fea7b16f735ea920; c133d8eb894cb280f331608c6f1962ba9fbfe6b0; 538162d21ac877b060dc057c89f13718f5caffc5; 8b1a7762e0dac5db42a003009fdcb425f10baa07; \>= 4.9.165, \< 4.10; \>= 4.14.108, \< 4.15; … (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48986. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48986.md
Affected: Linux >= 414fd080d125408cb15d04ff4907e1dd8145c8c7, < 04edfa3dc06ecfc6133a33bc7271298782dee875; >= 414fd080d125408cb15d04ff4907e1dd8145c8c7, < f1cf856123ceb766c49967ec79b841030fa1741f; >= 414fd080d125408cb15d04ff4907e1dd8145c8c7, < 3ac29732a2ffa64c7de13a072b0f2848b9c11037; >= 414fd080d125408cb15d04f…
Fixed in: Linux 04edfa3dc06ecfc6133a33bc7271298782dee875, Linux 3ac29732a2ffa64c7de13a072b0f2848b9c11037, Linux 4.10, Linux 4.15

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.
```

## FAQ

### Is CVE-2022-48986 being exploited?

There is no confirmed exploitation: CVE-2022-48986 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48986?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48986?

Linux \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< 04edfa3dc06ecfc6133a33bc7271298782dee875; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< f1cf856123ceb766c49967ec79b841030fa1741f; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< 3ac29732a2ffa64c7de13a072b0f2848b9c11037; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< e06d13c36ded750c72521b600293befebb4e56c5; \>= 414fd080d125408cb15d04ff4907e1dd8145c8c7, \< fcd0ccd836ffad73d98a66f6fea7b16f735ea920; c133d8eb894cb280f331608c6f1962ba9fbfe6b0; 538162d21ac877b060dc057c89f13718f5caffc5; 8b1a7762e0dac5db42a003009fdcb425f10baa07; \>= 4.9.165, \< 4.10; \>= 4.14.108, \< 4.15; …; Linux 5.0.

### Is there a fix for CVE-2022-48986?

Yes. Fixed in Linux 04edfa3dc06ecfc6133a33bc7271298782dee875, Linux 3ac29732a2ffa64c7de13a072b0f2848b9c11037, Linux 4.10, Linux 4.15. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-48986?

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.

## References

- patch: <https://git.kernel.org/stable/c/04edfa3dc06ecfc6133a33bc7271298782dee875>
- patch: <https://git.kernel.org/stable/c/f1cf856123ceb766c49967ec79b841030fa1741f>
- patch: <https://git.kernel.org/stable/c/3ac29732a2ffa64c7de13a072b0f2848b9c11037>
- patch: <https://git.kernel.org/stable/c/e06d13c36ded750c72521b600293befebb4e56c5>
- patch: <https://git.kernel.org/stable/c/fcd0ccd836ffad73d98a66f6fea7b16f735ea920>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48986>

HTML: <https://flawdb.com/CVE-2022-48986> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48986>
