# CVE-2026-23162: drm/xe/nvm: Fix double-free on aux add failure

> 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, NVD) `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.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2026-02-14T16:01:27.243Z
- **Modified:** 2026-06-17T10:21:00.887Z

## Who should check

- Anyone running Linux \>= 7926ba2143d8fef40bb940232818c7363e33598c, \< 32887d8e4bc0696b3cb6c5915a42b39cfd3434f4; \>= 7926ba2143d8fef40bb940232818c7363e33598c, \< 8a44241b0b83a6047c5448da1fff03fcc29496b5
- Anyone running Linux 6.17

## Description

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

drm/xe/nvm: Fix double-free on aux add failure

After a successful auxiliary\_device\_init(), aux\_dev-\>dev.release
(xe\_nvm\_release\_dev()) is responsible for the kfree(nvm). When
there is failure with auxiliary\_device\_add(), driver will call
auxiliary\_device\_uninit(), which call put\_device(). So that the
.release callback will be triggered to free the memory associated
with the auxiliary\_device.

Move the kfree(nvm) into the auxiliary\_device\_init() failure path
and remove the err goto path to fix below error.

"
\[   13.232905\] ==================================================================
\[   13.232911\] BUG: KASAN: double-free in xe\_nvm\_init+0x751/0xf10 \[xe\]
\[   13.233112\] Free of addr ffff888120635000 by task systemd-udevd/273

\[   13.233120\] CPU: 8 UID: 0 PID: 273 Comm: systemd-udevd Not tainted 6.19.0-rc2-lgci-xe-kernel+ \#225 PREEMPT(voluntary)
...
\[   13.233125\] Call Trace:
\[   13.233126\]  \<TASK\>
\[   13.233127\]  dump\_stack\_lvl+0x7f/0xc0
\[   13.233132\]  print\_report+0xce/0x610
\[   13.233136\]  ? kasan\_complete\_mode\_report\_info+0x5d/0x1e0
\[   13.233139\]  ? xe\_nvm\_init+0x751/0xf10 \[xe\]
...
"

v2: drop err goto path. (Alexander)

(cherry picked from commit a3187c0c2bbd947ffff97f90d077ac88f9c2a215)

## Affected and fixed versions

- Linux: \>= 7926ba2143d8fef40bb940232818c7363e33598c, \< 32887d8e4bc0696b3cb6c5915a42b39cfd3434f4; \>= 7926ba2143d8fef40bb940232818c7363e33598c, \< 8a44241b0b83a6047c5448da1fff03fcc29496b5 (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-23162.md
Affected: Linux >= 7926ba2143d8fef40bb940232818c7363e33598c, < 32887d8e4bc0696b3cb6c5915a42b39cfd3434f4; >= 7926ba2143d8fef40bb940232818c7363e33598c, < 8a44241b0b83a6047c5448da1fff03fcc29496b5; Linux 6.17
Fixed in: Linux 32887d8e4bc0696b3cb6c5915a42b39cfd3434f4, Linux 8a44241b0b83a6047c5448da1fff03fcc29496b5

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

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

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

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

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

Linux \>= 7926ba2143d8fef40bb940232818c7363e33598c, \< 32887d8e4bc0696b3cb6c5915a42b39cfd3434f4; \>= 7926ba2143d8fef40bb940232818c7363e33598c, \< 8a44241b0b83a6047c5448da1fff03fcc29496b5; Linux 6.17.

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

Yes. Fixed in Linux 32887d8e4bc0696b3cb6c5915a42b39cfd3434f4, Linux 8a44241b0b83a6047c5448da1fff03fcc29496b5. Upgrade Linux to 8a44241b0b83a6047c5448da1fff03fcc29496b5 or later.

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

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/32887d8e4bc0696b3cb6c5915a42b39cfd3434f4>
- patch: <https://git.kernel.org/stable/c/8a44241b0b83a6047c5448da1fff03fcc29496b5>

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

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