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

Published Oct 22, 2025
·
Updated

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 initmm page table instead they are bolted table entries in the hardware page table

vmemmappopulatecompoundpages() 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 HUGETLBPAGEOPTIMIZEVMEMMAP 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 PAGESIZE=64K MMU=Hash SMP NRCPUS=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 (VL950099) 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] initsinglepage.isra.74+0x14/0x4c LR [c0000000004c57d4] initzonedevicepage+0x44/0xd0 Call Trace: [c000000003632ed0] [c000000003632f60] 0xc000000003632f60 (unreliable) [c000000003632f10] [c0000000004c5ca0] memmapinitzonedevice+0x170/0x250 [c000000003632fe0] [c0000000005575f8] memremappages+0x2c8/0x7f0 [c0000000036330c0] [c000000000557b5c] devmmemremappages+0x3c/0xa0 [c000000003633100] [c000000000d458a8] devdaxprobe+0x108/0x3e0 [c0000000036331a0] [c000000000d41430] daxbusprobe+0xb0/0x140 [c0000000036331d0] [c000000000cef27c] reallyprobe+0x19c/0x520 [c000000003633260] [c000000000cef6b4] driverprobedevice+0xb4/0x230 [c0000000036332e0] [c000000000cef888] driverprobedevice+0x58/0x120 [c000000003633320] [c000000000cefa6c] deviceattachdriver+0x11c/0x1e0 [c0000000036333a0] [c000000000cebc58] busforeachdrv+0xa8/0x130 [c000000003633400] [c000000000ceefcc] deviceattach+0x15c/0x250 [c0000000036334a0] [c000000000ced458] busprobedevice+0x108/0x110 [c0000000036334f0] [c000000000ce92dc] deviceadd+0x7fc/0xa10 [c0000000036335b0] [c000000000d447c8] devmcreatedevdax+0x1d8/0x530 [c000000003633640] [c000000000d46b60] daxpmemprobe+0x200/0x270 [c0000000036337b0] [c000000000d46bf0] daxpmemprobe+0x20/0x70 [c0000000036337d0] [c000000000d2279c] nvdimmbusprobe+0xac/0x2b0 [c000000003633860] [c000000000cef27c] reallyprobe+0x19c/0x520 [c0000000036338f0] [c000000000cef6b4] driverprobedevice+0xb4/0x230 [c000000003633970] [c000000000cef888] driverprobedevice+0x58/0x120 [c0000000036339b0] [c000000000cefd08] driverattach+0x1d8/0x240 [c000000003633a30] [c000000000cebb04] busforeachdev+0xb4/0x130 [c000000003633a90] [c000000000cee564] driverattach+0x34/0x50 [c000000003633ab0] [c000000000ced878] busadddriver+0x218/0x300 [c000000003633b40] [c000000000cf1144] driverregister+0xa4/0x1b0 [c000000003633bb0] [c000000000d21a0c] nddriverregister+0x5c/0x100 [c000000003633c10] [c00000000206a2e8] daxpmeminit+0x34/0x48 [c000000003633c30] [c0000000000132d0] dooneinitcall+0x60/0x320 [c000000003633d00] [c0000000020051b0] kernelinitfreeable+0x360/0x400 [c000000003633de0] [c000000000013764] kernelinit+0x34/0x1d0 [c000000003633e50] [c00000000000de14] retfromkernelthread+0x5c/0x64

Affected Software

7 affected componentsFixes available
Linux Linux kernel
debian/linux<6.1.187-1
6.1.187-1
debian/linux<6.3.7-1
6.3.7-1
debian/linux<6.3.7-1
6.3.7-1
debian/linux<=6.1.176-1
6.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1
linux/kernel>=5.19.0<6.1.184
6.1.184
linux/kernel>=6.2.0<6.3.5
6.3.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.187-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.3.7-1
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.184
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.3.5

Event History

Oct 22, 2025
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description
Data Sourced
via OSV·01:23 PM
DescriptionAffected Software
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:15 PM
Description

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2023-53706?

CVE-2023-53706 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2023-53706?

To fix CVE-2023-53706, users should update to the latest version of the Linux kernel where the vulnerability has been patched.

3

What systems are affected by CVE-2023-53706?

CVE-2023-53706 affects the Linux kernel across various distributions that implement the vulnerable vmemmap functionality.

4

What kind of vulnerability is CVE-2023-53706?

CVE-2023-53706 is a vulnerability that causes a kernel crash when probing devdax devices.

5

What is the impact of CVE-2023-53706?

The impact of CVE-2023-53706 includes potential system instability and crashes during operations involving devdax devices.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203