# CVE-2023-53706: mm/vmemmap/devdax: fix kernel crash when probing devdax devices

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2025-10-22T13:23:43.228Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 4917f55b4ef963e2d2288fe4eb651728be8db406, \< 87349cf6818c4a0be00d49a13572f20a9e17887d; \>= 4917f55b4ef963e2d2288fe4eb651728be8db406, \< 8f4603588acf5807aa1f1b4b1ea2b0365acd71f0; \>= 4917f55b4ef963e2d2288fe4eb651728be8db406, \< 87a7ae75d7383afa998f57656d1d14e2a730cc47
- Anyone running Linux 5.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

mm/vmemmap/devdax: fix kernel crash when probing devdax devices

commit 4917f55b4ef9 ("mm/sparse-vmemmap: improve memory savings for
compound devmaps") added support for using optimized vmmemap for devdax
devices.  But how vmemmap mappings are created are architecture specific. 
For example, powerpc with hash translation doesn't have vmemmap mappings
in init\_mm page table instead they are bolted table entries in the
hardware page table

vmemmap\_populate\_compound\_pages() used by vmemmap optimization code is not
aware of these architecture-specific mapping.  Hence allow architecture to
opt for this feature.  I selected architectures supporting
HUGETLB\_PAGE\_OPTIMIZE\_VMEMMAP option as also supporting this feature.

This patch fixes the below crash on ppc64.

BUG: Unable to handle kernel data access on write at 0xc00c000100400038
Faulting instruction address: 0xc000000001269d90
Oops: Kernel access of bad area, sig: 11 \[\#1\]
LE PAGE\_SIZE=64K MMU=Hash SMP NR\_CPUS=2048 NUMA pSeries
Modules linked in:
CPU: 7 PID: 1 Comm: swapper/0 Not tainted 6.3.0-rc5-150500.34-default+ \#2 5c90a668b6bbd142599890245c2fb5de19d7d28a
Hardware name: IBM,9009-42G POWER9 (raw) 0x4e0202 0xf000005 of:IBM,FW950.40 (VL950\_099) hv:phyp pSeries
NIP:  c000000001269d90 LR: c0000000004c57d4 CTR: 0000000000000000
REGS: c000000003632c30 TRAP: 0300   Not tainted  (6.3.0-rc5-150500.34-default+)
MSR:  8000000000009033 \<SF,EE,ME,IR,DR,RI,LE\>  CR: 24842228  XER: 00000000
CFAR: c0000000004c57d0 DAR: c00c000100400038 DSISR: 42000000 IRQMASK: 0
....
NIP \[c000000001269d90\] \_\_init\_single\_page.isra.74+0x14/0x4c
LR \[c0000000004c57d4\] \_\_init\_zone\_device\_page+0x44/0xd0
Call Trace:
\[c000000003632ed0\] \[c000000003632f60\] 0xc000000003632f60 (unreliable)
\[c000000003632f10\] \[c0000000004c5ca0\] memmap\_init\_zone\_device+0x170/0x250
\[c000000003632fe0\] \[c0000000005575f8\] memremap\_pages+0x2c8/0x7f0
\[c0000000036330c0\] \[c000000000557b5c\] devm\_memremap\_pages+0x3c/0xa0
\[c000000003633100\] \[c000000000d458a8\] dev\_dax\_probe+0x108/0x3e0
\[c0000000036331a0\] \[c000000000d41430\] dax\_bus\_probe+0xb0/0x140
\[c0000000036331d0\] \[c000000000cef27c\] really\_probe+0x19c/0x520
\[c000000003633260\] \[c000000000cef6b4\] \_\_driver\_probe\_device+0xb4/0x230
\[c0000000036332e0\] \[c000000000cef888\] driver\_probe\_device+0x58/0x120
\[c000000003633320\] \[c000000000cefa6c\] \_\_device\_attach\_driver+0x11c/0x1e0
\[c0000000036333a0\] \[c000000000cebc58\] bus\_for\_each\_drv+0xa8/0x130
\[c000000003633400\] \[c000000000ceefcc\] \_\_device\_attach+0x15c/0x250
\[c0000000036334a0\] \[c000000000ced458\] bus\_probe\_device+0x108/0x110
\[c0000000036334f0\] \[c000000000ce92dc\] device\_add+0x7fc/0xa10
\[c0000000036335b0\] \[c000000000d447c8\] devm\_create\_dev\_dax+0x1d8/0x530
\[c000000003633640\] \[c000000000d46b60\] \_\_dax\_pmem\_probe+0x200/0x270
\[c0000000036337b0\] \[c000000000d46bf0\] dax\_pmem\_probe+0x20/0x70
\[c0000000036337d0\] \[c000000000d2279c\] nvdimm\_bus\_probe+0xac/0x2b0
\[c000000003633860\] \[c000000000cef27c\] really\_probe+0x19c/0x520
\[c0000000036338f0\] \[c000000000cef6b4\] \_\_driver\_probe\_device+0xb4/0x230
\[c000000003633970\] \[c000000000cef888\] driver\_probe\_device+0x58/0x120
\[c0000000036339b0\] \[c000000000cefd08\] \_\_driver\_attach+0x1d8/0x240
\[c000000003633a30\] \[c000000000cebb04\] bus\_for\_each\_dev+0xb4/0x130
\[c000000003633a90\] \[c000000000cee564\] driver\_attach+0x34/0x50
\[c000000003633ab0\] \[c000000000ced878\] bus\_add\_driver+0x218/0x300
\[c000000003633b40\] \[c000000000cf1144\] driver\_register+0xa4/0x1b0
\[c000000003633bb0\] \[c000000000d21a0c\] \_\_nd\_driver\_register+0x5c/0x100
\[c000000003633c10\] \[c00000000206a2e8\] dax\_pmem\_init+0x34/0x48
\[c000000003633c30\] \[c0000000000132d0\] do\_one\_initcall+0x60/0x320
\[c000000003633d00\] \[c0000000020051b0\] kernel\_init\_freeable+0x360/0x400
\[c000000003633de0\] \[c000000000013764\] kernel\_init+0x34/0x1d0
\[c000000003633e50\] \[c00000000000de14\] ret\_from\_kernel\_thread+0x5c/0x64

## Affected and fixed versions

- Linux: \>= 4917f55b4ef963e2d2288fe4eb651728be8db406, \< 87349cf6818c4a0be00d49a13572f20a9e17887d; \>= 4917f55b4ef963e2d2288fe4eb651728be8db406, \< 8f4603588acf5807aa1f1b4b1ea2b0365acd71f0; \>= 4917f55b4ef963e2d2288fe4eb651728be8db406, \< 87a7ae75d7383afa998f57656d1d14e2a730cc47 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 87a7ae75d7383afa998f57656d1d14e2a730cc47 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53706.md
Affected: Linux >= 4917f55b4ef963e2d2288fe4eb651728be8db406, < 87349cf6818c4a0be00d49a13572f20a9e17887d; >= 4917f55b4ef963e2d2288fe4eb651728be8db406, < 8f4603588acf5807aa1f1b4b1ea2b0365acd71f0; >= 4917f55b4ef963e2d2288fe4eb651728be8db406, < 87a7ae75d7383afa998f57656d1d14e2a730cc47; Linux 5.19
Fixed in: Linux 87349cf6818c4a0be00d49a13572f20a9e17887d, Linux 8f4603588acf5807aa1f1b4b1ea2b0365acd71f0, Linux 87a7ae75d7383afa998f57656d1d14e2a730cc47

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-2023-53706 being exploited?

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

### How serious is CVE-2023-53706?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53706?

Linux \>= 4917f55b4ef963e2d2288fe4eb651728be8db406, \< 87349cf6818c4a0be00d49a13572f20a9e17887d; \>= 4917f55b4ef963e2d2288fe4eb651728be8db406, \< 8f4603588acf5807aa1f1b4b1ea2b0365acd71f0; \>= 4917f55b4ef963e2d2288fe4eb651728be8db406, \< 87a7ae75d7383afa998f57656d1d14e2a730cc47; Linux 5.19.

### Is there a fix for CVE-2023-53706?

Yes. Fixed in Linux 87349cf6818c4a0be00d49a13572f20a9e17887d, Linux 8f4603588acf5807aa1f1b4b1ea2b0365acd71f0, Linux 87a7ae75d7383afa998f57656d1d14e2a730cc47. Upgrade Linux to 87a7ae75d7383afa998f57656d1d14e2a730cc47 or later.

### How do I check if I'm affected by CVE-2023-53706?

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

- other: <https://git.kernel.org/stable/c/87349cf6818c4a0be00d49a13572f20a9e17887d>
- other: <https://git.kernel.org/stable/c/8f4603588acf5807aa1f1b4b1ea2b0365acd71f0>
- other: <https://git.kernel.org/stable/c/87a7ae75d7383afa998f57656d1d14e2a730cc47>

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

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