# CVE-2026-68305: drm/xe/vf: Add drm\_dev guards when detaching CCS read/write buffers

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; 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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-08-10T12:02:39.911Z
- **Modified:** 2026-10-19T22:17:12.710Z

## Who should check

- Anyone running Linux \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 0c07e046e639160a1597830c4c5615ee2a4a5ed5; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 523ed2831ee55b2a1edabdea96781651f9df9685; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 4c92afb4c143526d340545ca581e88e6952ea511
- Anyone running Linux 6.18

## Description

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

drm/xe/vf: Add drm\_dev guards when detaching CCS read/write buffers

CCS read/write buffers are freed during BO destruction. In some cases,
BOs may be destroyed after the device is unbound but while the DRM
structure remains valid, leading to NULL pointer dereferences when
accessing device resources.

BUG: kernel NULL pointer dereference, address: 0000000000000000
PGD 0 P4D 0
Oops: Oops: 0000 \[\#1\] SMP NOPTI
CPU: 0 UID: 0 PID: 9376 Comm: xe\_pat Not tainted 7.2.0-rc2+ \#1 PREEMPT(lazy)
RIP: 0010:xe\_sriov\_vf\_ccs\_rw\_update\_bb\_addr+0x4d/0xa0 \[xe\]
RSP: 0018:ffffcf304110b9c8 EFLAGS: 00010246
RAX: ffff8a85c38a0a00 RBX: 00000000810ef000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8a85c39c1888
RBP: ffffcf304110b9e8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8a85c39c1888
R13: 0000000000000000 R14: ffff8a85c39b4f28 R15: ffff8a85c3885000
FS:  0000000000000000(0000) GS:ffff8a878b809000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000010314a002 CR4: 0000000000772ef0
PKRU: 55555554
Call Trace:
 \<TASK\>
 xe\_migrate\_ccs\_rw\_copy\_clear+0x98/0x120 \[xe\]
 xe\_sriov\_vf\_ccs\_detach\_bo+0x2c/0x60 \[xe\]
 xe\_ttm\_bo\_delete\_mem\_notify+0xc8/0xe0 \[xe\]
 ttm\_bo\_cleanup\_memtype\_use+0x26/0x80 \[ttm\]
 ttm\_bo\_release+0x29e/0x2d0 \[ttm\]
 ttm\_bo\_fini+0x39/0x70 \[ttm\]
 xe\_gem\_object\_free+0x1f/0x30 \[xe\]
 drm\_gem\_object\_free+0x1d/0x40
 ttm\_bo\_vm\_close+0x5f/0x90 \[ttm\]
 remove\_vma+0x2c/0x70
 tear\_down\_vmas+0x63/0xf0
 exit\_mmap+0x20d/0x3f0
 \_\_mmput+0x45/0x170
 mmput+0x31/0x40
 do\_exit+0x2ba/0xac0
 do\_group\_exit+0x2d/0xb0
 \_\_x64\_sys\_exit\_group+0x18/0x20
 x64\_sys\_call+0x14a0/0x2390
 do\_syscall\_64+0xdd/0x640
 ? count\_memcg\_events+0xea/0x240
 ? handle\_mm\_fault+0x1ec/0x2f0

(cherry picked from commit 1ae415a6eefe5004954a1d352b1718faca8844ef)

## Affected and fixed versions

- Linux: \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 0c07e046e639160a1597830c4c5615ee2a4a5ed5; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 523ed2831ee55b2a1edabdea96781651f9df9685; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 4c92afb4c143526d340545ca581e88e6952ea511 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 4c92afb4c143526d340545ca581e88e6952ea511 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-68305.md
Affected: Linux >= 864690cf4dd62482b6dd049d82c509886c904303, < 0c07e046e639160a1597830c4c5615ee2a4a5ed5; >= 864690cf4dd62482b6dd049d82c509886c904303, < 523ed2831ee55b2a1edabdea96781651f9df9685; >= 864690cf4dd62482b6dd049d82c509886c904303, < 4c92afb4c143526d340545ca581e88e6952ea511; Linux 6.18
Fixed in: Linux 0c07e046e639160a1597830c4c5615ee2a4a5ed5, Linux 523ed2831ee55b2a1edabdea96781651f9df9685, Linux 4c92afb4c143526d340545ca581e88e6952ea511

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-2026-68305 being exploited?

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

### How serious is CVE-2026-68305?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-68305?

Linux \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 0c07e046e639160a1597830c4c5615ee2a4a5ed5; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 523ed2831ee55b2a1edabdea96781651f9df9685; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 4c92afb4c143526d340545ca581e88e6952ea511; Linux 6.18.

### Is there a fix for CVE-2026-68305?

Yes. Fixed in Linux 0c07e046e639160a1597830c4c5615ee2a4a5ed5, Linux 523ed2831ee55b2a1edabdea96781651f9df9685, Linux 4c92afb4c143526d340545ca581e88e6952ea511. Upgrade Linux to 4c92afb4c143526d340545ca581e88e6952ea511 or later.

### How do I check if I'm affected by CVE-2026-68305?

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/0c07e046e639160a1597830c4c5615ee2a4a5ed5>
- other: <https://git.kernel.org/stable/c/523ed2831ee55b2a1edabdea96781651f9df9685>
- other: <https://git.kernel.org/stable/c/4c92afb4c143526d340545ca581e88e6952ea511>

## 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-2026-68305>

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