# CVE-2023-54199: drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-12-30T12:09:04.886Z
- Modified: 2026-10-28T19:10:00.193Z
- Assigned by: Linux

## Description

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

drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()

Fix the below kernel panic due to null pointer access:
[   18.504431] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000048
[   18.513464] Mem abort info:
[   18.516346]   ESR = 0x0000000096000005
[   18.520204]   EC = 0x25: DABT (current EL), IL = 32 bits
[   18.525706]   SET = 0, FnV = 0
[   18.528878]   EA = 0, S1PTW = 0
[   18.532117]   FSC = 0x05: level 1 translation fault
[   18.537138] Data abort info:
[   18.540110]   ISV = 0, ISS = 0x00000005
[   18.544060]   CM = 0, WnR = 0
[   18.547109] user pgtable: 4k pages, 39-bit VAs, pgdp=0000000112826000
[   18.553738] [0000000000000048] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[   18.562690] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
**Snip**
[   18.696758] Call trace:
[   18.699278]  adreno_gpu_cleanup+0x30/0x88
[   18.703396]  a6xx_destroy+0xc0/0x130
[   18.707066]  a6xx_gpu_init+0x308/0x424
[   18.710921]  adreno_bind+0x178/0x288
[   18.714590]  component_bind_all+0xe0/0x214
[   18.718797]  msm_drm_bind+0x1d4/0x614
[   18.722566]  try_to_bring_up_aggregate_device+0x16c/0x1b8
[   18.728105]  __component_add+0xa0/0x158
[   18.732048]  component_add+0x20/0x2c
[   18.735719]  adreno_probe+0x40/0xc0
[   18.739300]  platform_probe+0xb4/0xd4
[   18.743068]  really_probe+0xfc/0x284
[   18.746738]  __driver_probe_device+0xc0/0xec
[   18.751129]  driver_probe_device+0x48/0x110
[   18.755421]  __device_attach_driver+0xa8/0xd0
[   18.759900]  bus_for_each_drv+0x90/0xdc
[   18.763843]  __device_attach+0xfc/0x174
[   18.767786]  device_initial_probe+0x20/0x2c
[   18.772090]  bus_probe_device+0x40/0xa0
[   18.776032]  deferred_probe_work_func+0x94/0xd0
[   18.780686]  process_one_work+0x190/0x3d0
[   18.784805]  worker_thread+0x280/0x3d4
[   18.788659]  kthread+0x104/0x1c0
[   18.791981]  ret_from_fork+0x10/0x20
[   18.795654] Code: f9400408 aa0003f3 aa1f03f4 91142015 (f9402516)
[   18.801913] ---[ end trace 0000000000000000 ]---
[   18.809039] Kernel panic - not syncing: Oops: Fatal exception

Patchwork: https://patchwork.freedesktop.org/patch/515605/

(As written by CVE List.)

## Affected

- Linux Linux: from 594726c93841c9e6182d3af540c6f317464bc23d before 65a8b6d129cfcf63a2b8a36a63d275479ba6a217; from 17e822f7591fb66162aca07685dc0b01468e5480 before b26bd7791f3cdf3c3318162b1d40c9d1910facca; from 17e822f7591fb66162aca07685dc0b01468e5480 before 399d01375659c273fb6ad9ccfb6e92bc5b891e0d; from 17e822f7591fb66162aca07685dc0b01468e5480 before 7af606b9eb11d6cdf767cabbddc326e20d0d4702; from 17e822f7591fb66162aca07685dc0b01468e5480 before 5fef23c1c0edceb44d16e64e7818f27d48b5bc38; from 17e822f7591fb66162aca07685dc0b01468e5480 before dbeedbcb268d055d8895aceca427f897e12c2b50; 5.9 (not affected: before 5.9; from 5.10.173 up to 5.10.*; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)

## References

- <https://git.kernel.org/stable/c/65a8b6d129cfcf63a2b8a36a63d275479ba6a217>
- <https://git.kernel.org/stable/c/b26bd7791f3cdf3c3318162b1d40c9d1910facca>
- <https://git.kernel.org/stable/c/399d01375659c273fb6ad9ccfb6e92bc5b891e0d>
- <https://git.kernel.org/stable/c/7af606b9eb11d6cdf767cabbddc326e20d0d4702>
- <https://git.kernel.org/stable/c/5fef23c1c0edceb44d16e64e7818f27d48b5bc38>
- <https://git.kernel.org/stable/c/dbeedbcb268d055d8895aceca427f897e12c2b50>

## Sources

- CVE List: [CVE-2023-54199](https://www.cve.org/CVERecord?id=CVE-2023-54199), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54199](https://nvd.nist.gov/vuln/detail/CVE-2023-54199), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2023-54199 · Whole record: https://cve.day/CVE-2023-54199.json · Rebuilt by cve.day 2026-11-25T22:58:35.217Z
