# CVE-2025-40152: drm/msm: Fix bootup splat with separate\_gpu\_drm modparam

> 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.26% (percentile 11, 2026-11-26)
- **Published:** 2025-11-12T10:23:27.925Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 217ed15bd399980981f90f4332bc7ad4b05baa7e, \< 87aff6d08f3b13bfad66df7c13af5f3a3548d5b9; \>= 217ed15bd399980981f90f4332bc7ad4b05baa7e, \< f028bcafb6dfb4c2bb656cbff9e6a66222d3d3d7
- Anyone running Linux 6.17

## Description

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

drm/msm: Fix bootup splat with separate\_gpu\_drm modparam

The drm\_gem\_for\_each\_gpuvm\_bo() call from lookup\_vma() accesses
drm\_gem\_obj.gpuva.list, which is not initialized when the drm driver
does not support DRIVER\_GEM\_GPUVA feature. Enable it for msm\_kms
drm driver to fix the splat seen when msm.separate\_gpu\_drm=1 modparam
is set:

\[    9.506020\] Unable to handle kernel paging request at virtual address fffffffffffffff0
\[    9.523160\] Mem abort info:
\[    9.523161\]   ESR = 0x0000000096000006
\[    9.523163\]   EC = 0x25: DABT (current EL), IL = 32 bits
\[    9.523165\]   SET = 0, FnV = 0
\[    9.523166\]   EA = 0, S1PTW = 0
\[    9.523167\]   FSC = 0x06: level 2 translation fault
\[    9.523169\] Data abort info:
\[    9.523170\]   ISV = 0, ISS = 0x00000006, ISS2 = 0x00000000
\[    9.523171\]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
\[    9.523172\]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
\[    9.523174\] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000ad370f000
\[    9.523176\] \[fffffffffffffff0\] pgd=0000000000000000, p4d=0000000ad4787403, pud=0000000ad4788403, pmd=0000000000000000
\[    9.523184\] Internal error: Oops: 0000000096000006 \[\#1\]  SMP
\[    9.592968\] CPU: 9 UID: 0 PID: 448 Comm: (udev-worker) Not tainted 6.17.0-rc4-assorted-fix-00005-g0e9bb53a2282-dirty \#3 PREEMPT
\[    9.592970\] Hardware name: Qualcomm CRD, BIOS 6.0.240718.BOOT.MXF.2.4-00515-HAMOA-1 07/18/2024
\[    9.592971\] pstate: a1400005 (NzCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
\[    9.592973\] pc : lookup\_vma+0x28/0xe0 \[msm\]
\[    9.592996\] lr : get\_vma\_locked+0x2c/0x128 \[msm\]
\[    9.763632\] sp : ffff800082dab460
\[    9.763666\] Call trace:
\[    9.763668\]  lookup\_vma+0x28/0xe0 \[msm\] (P)
\[    9.763688\]  get\_vma\_locked+0x2c/0x128 \[msm\]
\[    9.763706\]  msm\_gem\_get\_and\_pin\_iova\_range+0x68/0x11c \[msm\]
\[    9.763723\]  msm\_gem\_get\_and\_pin\_iova+0x18/0x24 \[msm\]
\[    9.763740\]  msm\_fbdev\_driver\_fbdev\_probe+0xd0/0x258 \[msm\]
\[    9.763760\]  \_\_drm\_fb\_helper\_initial\_config\_and\_unlock+0x288/0x528 \[drm\_kms\_helper\]
\[    9.763771\]  drm\_fb\_helper\_initial\_config+0x44/0x54 \[drm\_kms\_helper\]
\[    9.763779\]  drm\_fbdev\_client\_hotplug+0x84/0xd4 \[drm\_client\_lib\]
\[    9.763782\]  drm\_client\_register+0x58/0x9c \[drm\]
\[    9.763806\]  drm\_fbdev\_client\_setup+0xe8/0xcf0 \[drm\_client\_lib\]
\[    9.763809\]  drm\_client\_setup+0xb4/0xd8 \[drm\_client\_lib\]
\[    9.763811\]  msm\_drm\_kms\_post\_init+0x2c/0x3c \[msm\]
\[    9.763830\]  msm\_drm\_init+0x1a8/0x22c \[msm\]
\[    9.763848\]  msm\_drm\_bind+0x30/0x3c \[msm\]
\[    9.919273\]  try\_to\_bring\_up\_aggregate\_device+0x168/0x1d4
\[    9.919283\]  \_\_component\_add+0xa4/0x170
\[    9.919286\]  component\_add+0x14/0x20
\[    9.919288\]  msm\_dp\_display\_probe\_tail+0x4c/0xac \[msm\]
\[    9.919315\]  msm\_dp\_auxbus\_done\_probe+0x14/0x20 \[msm\]
\[    9.919335\]  dp\_aux\_ep\_probe+0x4c/0xf0 \[drm\_dp\_aux\_bus\]
\[    9.919341\]  really\_probe+0xbc/0x298
\[    9.919345\]  \_\_driver\_probe\_device+0x78/0x12c
\[    9.919348\]  driver\_probe\_device+0x40/0x160
\[    9.919350\]  \_\_driver\_attach+0x94/0x19c
\[    9.919353\]  bus\_for\_each\_dev+0x74/0xd4
\[    9.919355\]  driver\_attach+0x24/0x30
\[    9.919358\]  bus\_add\_driver+0xe4/0x208
\[    9.919360\]  driver\_register+0x60/0x128
\[    9.919363\]  \_\_dp\_aux\_dp\_driver\_register+0x24/0x30 \[drm\_dp\_aux\_bus\]
\[    9.919365\]  atana33xc20\_init+0x20/0x1000 \[panel\_samsung\_atna33xc20\]
\[    9.919370\]  do\_one\_initcall+0x6c/0x1b0
\[    9.919374\]  do\_init\_module+0x58/0x234
\[    9.919377\]  load\_module+0x19cc/0x1bd4
\[    9.919380\]  init\_module\_from\_file+0x84/0xc4
\[    9.919382\]  \_\_arm64\_sys\_finit\_module+0x1b8/0x2cc
\[    9.919384\]  invoke\_syscall+0x48/0x110
\[    9.919389\]  el0\_svc\_common.constprop.0+0xc8/0xe8
\[    9.919393\]  do\_el0\_svc+0x20/0x2c
\[    9.919396\]  el0\_svc+0x34/0xf0
\[    9.919401\]  el0t\_64\_sync\_handler+0xa0/0xe4
\[    9.919403\]  el0t\_64\_sync+0x198/0x19c
\[    9.919407\] Code: eb0000bf 54000480 d100a003 aa0303e2 (f8418c44)
\[    9.919410\] ---\[ end trace 0000000000000000 \]---

Patchwork: https://patchwork.freedesktop.org/pa
---truncated---

## Affected and fixed versions

- Linux: \>= 217ed15bd399980981f90f4332bc7ad4b05baa7e, \< 87aff6d08f3b13bfad66df7c13af5f3a3548d5b9; \>= 217ed15bd399980981f90f4332bc7ad4b05baa7e, \< f028bcafb6dfb4c2bb656cbff9e6a66222d3d3d7 (cvelist)
- Linux: 6.17 (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-2025-40152. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40152.md
Affected: Linux >= 217ed15bd399980981f90f4332bc7ad4b05baa7e, < 87aff6d08f3b13bfad66df7c13af5f3a3548d5b9; >= 217ed15bd399980981f90f4332bc7ad4b05baa7e, < f028bcafb6dfb4c2bb656cbff9e6a66222d3d3d7; Linux 6.17
Fixed in: Linux 87aff6d08f3b13bfad66df7c13af5f3a3548d5b9

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-2025-40152 being exploited?

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

### How serious is CVE-2025-40152?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40152?

Linux \>= 217ed15bd399980981f90f4332bc7ad4b05baa7e, \< 87aff6d08f3b13bfad66df7c13af5f3a3548d5b9; \>= 217ed15bd399980981f90f4332bc7ad4b05baa7e, \< f028bcafb6dfb4c2bb656cbff9e6a66222d3d3d7; Linux 6.17.

### Is there a fix for CVE-2025-40152?

Yes. Fixed in Linux 87aff6d08f3b13bfad66df7c13af5f3a3548d5b9. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-40152?

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/87aff6d08f3b13bfad66df7c13af5f3a3548d5b9>
- other: <https://git.kernel.org/stable/c/f028bcafb6dfb4c2bb656cbff9e6a66222d3d3d7>

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

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