# CVE-2023-54098: drm/i915/gvt: fix gvt debugfs destroy

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

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.23% (percentile 8, 2026-11-26)
- **Published:** 2025-12-24T13:06:25.197Z
- **Modified:** 2026-10-15T22:17:52.963Z

## Who should check

- Anyone running Linux \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< bb7c7b2c89d2feb347b6f9bffc1c75987adb1048; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< ae9a61511736cc71a99f01e8b7b90f6fb6128ed8; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< b85c8536fda3d1ed07c6d87a661ffe18d6eb214b; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< fe340500baf84b6531c9fc508b167525b9bf6446; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< c4b850d1f448a901fbf4f7f36dec38c84009b489
- Anyone running Linux 4.16

## Description

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

drm/i915/gvt: fix gvt debugfs destroy

When gvt debug fs is destroyed, need to have a sane check if drm
minor's debugfs root is still available or not, otherwise in case like
device remove through unbinding, drm minor's debugfs directory has
already been removed, then intel\_gvt\_debugfs\_clean() would act upon
dangling pointer like below oops.

i915 0000:00:02.0: Direct firmware load for i915/gvt/vid\_0x8086\_did\_0x1926\_rid\_0x0a.golden\_hw\_state failed with error -2
i915 0000:00:02.0: MDEV: Registered
Console: switching to colour dummy device 80x25
i915 0000:00:02.0: MDEV: Unregistering
BUG: kernel NULL pointer dereference, address: 00000000000000a0
PGD 0 P4D 0
Oops: 0002 \[\#1\] PREEMPT SMP PTI
CPU: 2 PID: 2486 Comm: gfx-unbind.sh Tainted: G          I        6.1.0-rc8+ \#15
Hardware name: Dell Inc. XPS 13 9350/0JXC1H, BIOS 1.13.0 02/10/2020
RIP: 0010:down\_write+0x1f/0x90
Code: 1d ff ff 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 53 48 89 fb e8 62 c0 ff ff bf 01 00 00 00 e8 28 5e 31 ff 31 c0 ba 01 00 00 00 \<f0\> 48 0f b1 13 75 33 65 48 8b 04 25 c0 bd 01 00 48 89 43 08 bf 01
RSP: 0018:ffff9eb3036ffcc8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000000000a0 RCX: ffffff8100000000
RDX: 0000000000000001 RSI: 0000000000000064 RDI: ffffffffa48787a8
RBP: ffff9eb3036ffd30 R08: ffffeb1fc45a0608 R09: ffffeb1fc45a05c0
R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000000
R13: ffff91acc33fa328 R14: ffff91acc033f080 R15: ffff91acced533e0
FS:  00007f6947bba740(0000) GS:ffff91ae36d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000000000a0 CR3: 00000001133a2002 CR4: 00000000003706e0
Call Trace:
 \<TASK\>
 simple\_recursive\_removal+0x9f/0x2a0
 ? start\_creating.part.0+0x120/0x120
 ? \_raw\_spin\_lock+0x13/0x40
 debugfs\_remove+0x40/0x60
 intel\_gvt\_debugfs\_clean+0x15/0x30 \[kvmgt\]
 intel\_gvt\_clean\_device+0x49/0xe0 \[kvmgt\]
 intel\_gvt\_driver\_remove+0x2f/0xb0
 i915\_driver\_remove+0xa4/0xf0
 i915\_pci\_remove+0x1a/0x30
 pci\_device\_remove+0x33/0xa0
 device\_release\_driver\_internal+0x1b2/0x230
 unbind\_store+0xe0/0x110
 kernfs\_fop\_write\_iter+0x11b/0x1f0
 vfs\_write+0x203/0x3d0
 ksys\_write+0x63/0xe0
 do\_syscall\_64+0x37/0x90
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
RIP: 0033:0x7f6947cb5190
Code: 40 00 48 8b 15 71 9c 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d 51 24 0e 00 00 74 17 b8 01 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffcbac45a28 EFLAGS: 00000202 ORIG\_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007f6947cb5190
RDX: 000000000000000d RSI: 0000555e35c866a0 RDI: 0000000000000001
RBP: 0000555e35c866a0 R08: 0000000000000002 R09: 0000555e358cb97c
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000001
R13: 000000000000000d R14: 0000000000000000 R15: 0000555e358cb8e0
 \</TASK\>
Modules linked in: kvmgt
CR2: 00000000000000a0
---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< bb7c7b2c89d2feb347b6f9bffc1c75987adb1048; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< ae9a61511736cc71a99f01e8b7b90f6fb6128ed8; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< b85c8536fda3d1ed07c6d87a661ffe18d6eb214b; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< fe340500baf84b6531c9fc508b167525b9bf6446; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< c4b850d1f448a901fbf4f7f36dec38c84009b489 (cvelist)
- Linux: 4.16 (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-2023-54098. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54098.md
Affected: Linux >= bc7b0be316aebac42eb9e8e54c984609555944da, < bb7c7b2c89d2feb347b6f9bffc1c75987adb1048; >= bc7b0be316aebac42eb9e8e54c984609555944da, < ae9a61511736cc71a99f01e8b7b90f6fb6128ed8; >= bc7b0be316aebac42eb9e8e54c984609555944da, < b85c8536fda3d1ed07c6d87a661ffe18d6eb214b; >= bc7b0be316aebac42eb9e8e…
Fixed in: no fixed version listed yet

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

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

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

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

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

Linux \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< bb7c7b2c89d2feb347b6f9bffc1c75987adb1048; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< ae9a61511736cc71a99f01e8b7b90f6fb6128ed8; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< b85c8536fda3d1ed07c6d87a661ffe18d6eb214b; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< fe340500baf84b6531c9fc508b167525b9bf6446; \>= bc7b0be316aebac42eb9e8e54c984609555944da, \< c4b850d1f448a901fbf4f7f36dec38c84009b489; Linux 4.16.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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/bb7c7b2c89d2feb347b6f9bffc1c75987adb1048>
- other: <https://git.kernel.org/stable/c/ae9a61511736cc71a99f01e8b7b90f6fb6128ed8>
- other: <https://git.kernel.org/stable/c/b85c8536fda3d1ed07c6d87a661ffe18d6eb214b>
- other: <https://git.kernel.org/stable/c/fe340500baf84b6531c9fc508b167525b9bf6446>
- other: <https://git.kernel.org/stable/c/c4b850d1f448a901fbf4f7f36dec38c84009b489>

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

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