# CVE-2025-38371: drm/v3d: Disable interrupts before resetting the GPU

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-07-25T12:53:14.292Z
- **Modified:** 2026-06-17T09:16:43.463Z

## Who should check

- Anyone running Linux \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< b9c403d1236cecb10dd0246a30d81e4b265f8e8d; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 2446e25e9246e0642a41d91cbf54c33b275da3c3; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 576a6739e08ac06c67f2916f71204557232388b0; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< c8851a6ab19d9f390677c42a3cc01ff9b2eb6241; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 387da3b6d1a90e3210bc9a7fb56703bdad2ac18a; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 9ff95ed0371aec4d9617e478e9c69cde86cd7c38; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< dc805c927cd832bb8f790b756880ae6c769d5fbc; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 226862f50a7a88e4e4de9abbf36c64d19acd6fd0
- Anyone running Linux 4.18

## Description

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

drm/v3d: Disable interrupts before resetting the GPU

Currently, an interrupt can be triggered during a GPU reset, which can
lead to GPU hangs and NULL pointer dereference in an interrupt context
as shown in the following trace:

 \[  314.035040\] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000c0
 \[  314.043822\] Mem abort info:
 \[  314.046606\]   ESR = 0x0000000096000005
 \[  314.050347\]   EC = 0x25: DABT (current EL), IL = 32 bits
 \[  314.055651\]   SET = 0, FnV = 0
 \[  314.058695\]   EA = 0, S1PTW = 0
 \[  314.061826\]   FSC = 0x05: level 1 translation fault
 \[  314.066694\] Data abort info:
 \[  314.069564\]   ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
 \[  314.075039\]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
 \[  314.080080\]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
 \[  314.085382\] user pgtable: 4k pages, 39-bit VAs, pgdp=0000000102728000
 \[  314.091814\] \[00000000000000c0\] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
 \[  314.100511\] Internal error: Oops: 0000000096000005 \[\#1\] PREEMPT SMP
 \[  314.106770\] Modules linked in: v3d i2c\_brcmstb vc4 snd\_soc\_hdmi\_codec gpu\_sched drm\_shmem\_helper drm\_display\_helper cec drm\_dma\_helper drm\_kms\_helper drm drm\_panel\_orientation\_quirks snd\_soc\_core snd\_compress snd\_pcm\_dmaengine snd\_pcm snd\_timer snd backlight
 \[  314.129654\] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.12.25+rpt-rpi-v8 \#1  Debian 1:6.12.25-1+rpt1
 \[  314.139388\] Hardware name: Raspberry Pi 4 Model B Rev 1.4 (DT)
 \[  314.145211\] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
 \[  314.152165\] pc : v3d\_irq+0xec/0x2e0 \[v3d\]
 \[  314.156187\] lr : v3d\_irq+0xe0/0x2e0 \[v3d\]
 \[  314.160198\] sp : ffffffc080003ea0
 \[  314.163502\] x29: ffffffc080003ea0 x28: ffffffec1f184980 x27: 021202b000000000
 \[  314.170633\] x26: ffffffec1f17f630 x25: ffffff8101372000 x24: ffffffec1f17d9f0
 \[  314.177764\] x23: 000000000000002a x22: 000000000000002a x21: ffffff8103252000
 \[  314.184895\] x20: 0000000000000001 x19: 00000000deadbeef x18: 0000000000000000
 \[  314.192026\] x17: ffffff94e51d2000 x16: ffffffec1dac3cb0 x15: c306000000000000
 \[  314.199156\] x14: 0000000000000000 x13: b2fc982e03cc5168 x12: 0000000000000001
 \[  314.206286\] x11: ffffff8103f8bcc0 x10: ffffffec1f196868 x9 : ffffffec1dac3874
 \[  314.213416\] x8 : 0000000000000000 x7 : 0000000000042a3a x6 : ffffff810017a180
 \[  314.220547\] x5 : ffffffec1ebad400 x4 : ffffffec1ebad320 x3 : 00000000000bebeb
 \[  314.227677\] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
 \[  314.234807\] Call trace:
 \[  314.237243\]  v3d\_irq+0xec/0x2e0 \[v3d\]
 \[  314.240906\]  \_\_handle\_irq\_event\_percpu+0x58/0x218
 \[  314.245609\]  handle\_irq\_event+0x54/0xb8
 \[  314.249439\]  handle\_fasteoi\_irq+0xac/0x240
 \[  314.253527\]  handle\_irq\_desc+0x48/0x68
 \[  314.257269\]  generic\_handle\_domain\_irq+0x24/0x38
 \[  314.261879\]  gic\_handle\_irq+0x48/0xd8
 \[  314.265533\]  call\_on\_irq\_stack+0x24/0x58
 \[  314.269448\]  do\_interrupt\_handler+0x88/0x98
 \[  314.273624\]  el1\_interrupt+0x34/0x68
 \[  314.277193\]  el1h\_64\_irq\_handler+0x18/0x28
 \[  314.281281\]  el1h\_64\_irq+0x64/0x68
 \[  314.284673\]  default\_idle\_call+0x3c/0x168
 \[  314.288675\]  do\_idle+0x1fc/0x230
 \[  314.291895\]  cpu\_startup\_entry+0x3c/0x50
 \[  314.295810\]  rest\_init+0xe4/0xf0
 \[  314.299030\]  start\_kernel+0x5e8/0x790
 \[  314.302684\]  \_\_primary\_switched+0x80/0x90
 \[  314.306691\] Code: 940029eb 360ffc13 f9442ea0 52800001 (f9406017)
 \[  314.312775\] ---\[ end trace 0000000000000000 \]---
 \[  314.317384\] Kernel panic - not syncing: Oops: Fatal exception in interrupt
 \[  314.324249\] SMP: stopping secondary CPUs
 \[  314.328167\] Kernel Offset: 0x2b9da00000 from 0xffffffc080000000
 \[  314.334076\] PHYS\_OFFSET: 0x0
 \[  314.336946\] CPU features: 0x08,00002013,c0200000,0200421b
 \[  314.342337\] Memory Limit: none
 \[  314.345382\] ---\[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt \]---

Before resetting the G
---truncated---

## Affected and fixed versions

- Linux: \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< b9c403d1236cecb10dd0246a30d81e4b265f8e8d; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 2446e25e9246e0642a41d91cbf54c33b275da3c3; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 576a6739e08ac06c67f2916f71204557232388b0; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< c8851a6ab19d9f390677c42a3cc01ff9b2eb6241; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 387da3b6d1a90e3210bc9a7fb56703bdad2ac18a; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 9ff95ed0371aec4d9617e478e9c69cde86cd7c38; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< dc805c927cd832bb8f790b756880ae6c769d5fbc; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 226862f50a7a88e4e4de9abbf36c64d19acd6fd0 (cvelist)
- Linux: 4.18 (cvelist)

## Mitigation

- Upgrade Linux to 226862f50a7a88e4e4de9abbf36c64d19acd6fd0 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38371.md
Affected: Linux >= 57692c94dcbe99a1e0444409a3da13fb3443562c, < b9c403d1236cecb10dd0246a30d81e4b265f8e8d; >= 57692c94dcbe99a1e0444409a3da13fb3443562c, < 2446e25e9246e0642a41d91cbf54c33b275da3c3; >= 57692c94dcbe99a1e0444409a3da13fb3443562c, < 576a6739e08ac06c67f2916f71204557232388b0; >= 57692c94dcbe99a1e044440…
Fixed in: Linux 2446e25e9246e0642a41d91cbf54c33b275da3c3, Linux 576a6739e08ac06c67f2916f71204557232388b0, Linux 387da3b6d1a90e3210bc9a7fb56703bdad2ac18a, Linux 9ff95ed0371aec4d9617e478e9c69cde86cd7c38, Linux 226862f50a7a88e4e4de9abbf36c64d19acd6fd0

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-38371 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< b9c403d1236cecb10dd0246a30d81e4b265f8e8d; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 2446e25e9246e0642a41d91cbf54c33b275da3c3; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 576a6739e08ac06c67f2916f71204557232388b0; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< c8851a6ab19d9f390677c42a3cc01ff9b2eb6241; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 387da3b6d1a90e3210bc9a7fb56703bdad2ac18a; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 9ff95ed0371aec4d9617e478e9c69cde86cd7c38; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< dc805c927cd832bb8f790b756880ae6c769d5fbc; \>= 57692c94dcbe99a1e0444409a3da13fb3443562c, \< 226862f50a7a88e4e4de9abbf36c64d19acd6fd0; Linux 4.18.

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

Yes. Fixed in Linux 2446e25e9246e0642a41d91cbf54c33b275da3c3, Linux 576a6739e08ac06c67f2916f71204557232388b0, Linux 387da3b6d1a90e3210bc9a7fb56703bdad2ac18a, Linux 9ff95ed0371aec4d9617e478e9c69cde86cd7c38, Linux 226862f50a7a88e4e4de9abbf36c64d19acd6fd0. Upgrade Linux to 226862f50a7a88e4e4de9abbf36c64d19acd6fd0 or later.

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

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/b9c403d1236cecb10dd0246a30d81e4b265f8e8d>
- patch: <https://git.kernel.org/stable/c/2446e25e9246e0642a41d91cbf54c33b275da3c3>
- patch: <https://git.kernel.org/stable/c/576a6739e08ac06c67f2916f71204557232388b0>
- patch: <https://git.kernel.org/stable/c/c8851a6ab19d9f390677c42a3cc01ff9b2eb6241>
- patch: <https://git.kernel.org/stable/c/387da3b6d1a90e3210bc9a7fb56703bdad2ac18a>
- patch: <https://git.kernel.org/stable/c/9ff95ed0371aec4d9617e478e9c69cde86cd7c38>
- patch: <https://git.kernel.org/stable/c/dc805c927cd832bb8f790b756880ae6c769d5fbc>
- patch: <https://git.kernel.org/stable/c/226862f50a7a88e4e4de9abbf36c64d19acd6fd0>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

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

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