# CVE-2023-53625: drm/i915/gvt: fix vgpu debugfs clean in remove

> 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.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-10-07T15:19:30.213Z
- **Modified:** 2026-11-05T21:17:29.817Z

## Who should check

- Anyone running Linux \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< af90f8b36d78544433a48a3eda6a5faeafacd0a1; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< f5a9bbf962e2c4b1d9addbfaf16d7ffcc2f63bde; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< ffa83fba2a2ce8010eb106c779378cb3013362c7; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< 44c0e07e3972e3f2609d69ad873d4f342f8a68ec; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< 704f3384f322b40ba24d958473edfb1c9750c8fd
- Anyone running Linux 4.16

## Description

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

drm/i915/gvt: fix vgpu debugfs clean in remove

Check carefully on root debugfs available when destroying vgpu,
e.g in remove case drm minor's debugfs root might already be destroyed,
which led to kernel oops like below.

Console: switching to colour dummy device 80x25
i915 0000:00:02.0: MDEV: Unregistering
intel\_vgpu\_mdev b1338b2d-a709-4c23-b766-cc436c36cdf0: Removing from iommu group 14
BUG: kernel NULL pointer dereference, address: 0000000000000150
PGD 0 P4D 0
Oops: 0000 \[\#1\] PREEMPT SMP
CPU: 3 PID: 1046 Comm: driverctl Not tainted 6.1.0-rc2+ \#6
Hardware name: HP HP ProDesk 600 G3 MT/829D, BIOS P02 Ver. 02.44 09/13/2022
RIP: 0010:\_\_lock\_acquire+0x5e2/0x1f90
Code: 87 ad 09 00 00 39 05 e1 1e cc 02 0f 82 f1 09 00 00 ba 01 00 00 00 48 83 c4 48 89 d0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 ff \<48\> 81 3f 60 9e c2 b6 45 0f 45 f8 83 fe 01 0f 87 55 fa ff ff 89 f0
RSP: 0018:ffff9f770274f948 EFLAGS: 00010046
RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000150
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: ffff8895d1173300 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000150 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fc9b2ba0740(0000) GS:ffff889cdfcc0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000150 CR3: 000000010fd93005 CR4: 00000000003706e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 lock\_acquire+0xbf/0x2b0
 ? simple\_recursive\_removal+0xa5/0x2b0
 ? lock\_release+0x13d/0x2d0
 down\_write+0x2a/0xd0
 ? simple\_recursive\_removal+0xa5/0x2b0
 simple\_recursive\_removal+0xa5/0x2b0
 ? start\_creating.part.0+0x110/0x110
 ? \_raw\_spin\_unlock+0x29/0x40
 debugfs\_remove+0x40/0x60
 intel\_gvt\_debugfs\_remove\_vgpu+0x15/0x30 \[kvmgt\]
 intel\_gvt\_destroy\_vgpu+0x60/0x100 \[kvmgt\]
 intel\_vgpu\_release\_dev+0xe/0x20 \[kvmgt\]
 device\_release+0x30/0x80
 kobject\_put+0x79/0x1b0
 device\_release\_driver\_internal+0x1b8/0x230
 bus\_remove\_device+0xec/0x160
 device\_del+0x189/0x400
 ? up\_write+0x9c/0x1b0
 ? mdev\_device\_remove\_common+0x60/0x60 \[mdev\]
 mdev\_device\_remove\_common+0x22/0x60 \[mdev\]
 mdev\_device\_remove\_cb+0x17/0x20 \[mdev\]
 device\_for\_each\_child+0x56/0x80
 mdev\_unregister\_parent+0x5a/0x81 \[mdev\]
 intel\_gvt\_clean\_device+0x2d/0xe0 \[kvmgt\]
 intel\_gvt\_driver\_remove+0x2e/0xb0 \[i915\]
 i915\_driver\_remove+0xac/0x100 \[i915\]
 i915\_pci\_remove+0x1a/0x30 \[i915\]
 pci\_device\_remove+0x31/0xa0
 device\_release\_driver\_internal+0x1b8/0x230
 unbind\_store+0xd8/0x100
 kernfs\_fop\_write\_iter+0x156/0x210
 vfs\_write+0x236/0x4a0
 ksys\_write+0x61/0xd0
 do\_syscall\_64+0x55/0x80
 ? find\_held\_lock+0x2b/0x80
 ? lock\_release+0x13d/0x2d0
 ? up\_read+0x17/0x20
 ? lock\_is\_held\_type+0xe3/0x140
 ? asm\_exc\_page\_fault+0x22/0x30
 ? lockdep\_hardirqs\_on+0x7d/0x100
 entry\_SYSCALL\_64\_after\_hwframe+0x46/0xb0
RIP: 0033:0x7fc9b2c9e0c4
Code: 15 71 7d 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 80 3d 3d 05 0e 00 00 74 13 b8 01 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48
RSP: 002b:00007ffec29c81c8 EFLAGS: 00000202 ORIG\_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007fc9b2c9e0c4
RDX: 000000000000000d RSI: 0000559f8b5f48a0 RDI: 0000000000000001
RBP: 0000559f8b5f48a0 R08: 0000559f8b5f3540 R09: 00007fc9b2d76d30
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000d
R13: 00007fc9b2d77780 R14: 000000000000000d R15: 00007fc9b2d72a00
 \</TASK\>
Modules linked in: sunrpc intel\_rapl\_msr intel\_rapl\_common intel\_pmc\_core\_pltdrv intel\_pmc\_core intel\_tcc\_cooling x86\_pkg\_temp\_thermal intel\_powerclamp coretemp kvm\_intel ee1004 igbvf rapl vfat fat intel\_cstate intel\_uncore pktcdvd i2c\_i801 pcspkr wmi\_bmof i2c\_smbus acpi\_pad vfio\_pci vfio\_pci\_core vfio\_virqfd zram fuse dm
---truncated---

## Affected and fixed versions

- Linux: \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< af90f8b36d78544433a48a3eda6a5faeafacd0a1; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< f5a9bbf962e2c4b1d9addbfaf16d7ffcc2f63bde; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< ffa83fba2a2ce8010eb106c779378cb3013362c7; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< 44c0e07e3972e3f2609d69ad873d4f342f8a68ec; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< 704f3384f322b40ba24d958473edfb1c9750c8fd (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- Upgrade Linux to 704f3384f322b40ba24d958473edfb1c9750c8fd 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-53625. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53625.md
Affected: Linux >= bc7b0be316aebac42eb9e8e54c984609555944da, < af90f8b36d78544433a48a3eda6a5faeafacd0a1; >= bc7b0be316aebac42eb9e8e54c984609555944da, < f5a9bbf962e2c4b1d9addbfaf16d7ffcc2f63bde; >= bc7b0be316aebac42eb9e8e54c984609555944da, < ffa83fba2a2ce8010eb106c779378cb3013362c7; >= bc7b0be316aebac42eb9e8e…
Fixed in: Linux 44c0e07e3972e3f2609d69ad873d4f342f8a68ec, Linux 704f3384f322b40ba24d958473edfb1c9750c8fd

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

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

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

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

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

Linux \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< af90f8b36d78544433a48a3eda6a5faeafacd0a1; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< f5a9bbf962e2c4b1d9addbfaf16d7ffcc2f63bde; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< ffa83fba2a2ce8010eb106c779378cb3013362c7; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< 44c0e07e3972e3f2609d69ad873d4f342f8a68ec; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< 704f3384f322b40ba24d958473edfb1c9750c8fd; Linux 4.16.

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

Yes. Fixed in Linux 44c0e07e3972e3f2609d69ad873d4f342f8a68ec, Linux 704f3384f322b40ba24d958473edfb1c9750c8fd. Upgrade Linux to 704f3384f322b40ba24d958473edfb1c9750c8fd or later.

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

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/af90f8b36d78544433a48a3eda6a5faeafacd0a1>
- patch: <https://git.kernel.org/stable/c/f5a9bbf962e2c4b1d9addbfaf16d7ffcc2f63bde>
- patch: <https://git.kernel.org/stable/c/ffa83fba2a2ce8010eb106c779378cb3013362c7>
- patch: <https://git.kernel.org/stable/c/44c0e07e3972e3f2609d69ad873d4f342f8a68ec>
- patch: <https://git.kernel.org/stable/c/704f3384f322b40ba24d958473edfb1c9750c8fd>

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

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