# CVE-2025-37754: drm/i915/huc: Fix fence not released on early probe errors

> 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.32% (percentile 18, 2026-11-26)
- **Published:** 2025-05-01T12:55:58.845Z
- **Modified:** 2026-06-17T09:15:22.433Z

## Who should check

- Anyone running Linux \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< 9f5ef4a5eaa61a7a4ed31231da45deb85065397a; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< c5a906806162aea62dbe5d327760ce3b7117ca17; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< 4bd4bf79bcfe101f0385ab81dbabb6e3f7d96c00; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< f104ef4db9f8f3923cc06ed1fafb3da38df6006d; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< e3ea2eae70692a455e256787e4f54153fb739b90
- Anyone running Linux 6.2

## Description

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

drm/i915/huc: Fix fence not released on early probe errors

HuC delayed loading fence, introduced with commit 27536e03271da
("drm/i915/huc: track delayed HuC load with a fence"), is registered with
object tracker early on driver probe but unregistered only from driver
remove, which is not called on early probe errors.  Since its memory is
allocated under devres, then released anyway, it may happen to be
allocated again to the fence and reused on future driver probes, resulting
in kernel warnings that taint the kernel:

\<4\> \[309.731371\] ------------\[ cut here \]------------
\<3\> \[309.731373\] ODEBUG: init destroyed (active state 0) object: ffff88813d7dd2e0 object type: i915\_sw\_fence hint: sw\_fence\_dummy\_notify+0x0/0x20 \[i915\]
\<4\> \[309.731575\] WARNING: CPU: 2 PID: 3161 at lib/debugobjects.c:612 debug\_print\_object+0x93/0xf0
...
\<4\> \[309.731693\] CPU: 2 UID: 0 PID: 3161 Comm: i915\_module\_loa Tainted: G     U             6.14.0-CI\_DRM\_16362-gf0fd77956987+ \#1
...
\<4\> \[309.731700\] RIP: 0010:debug\_print\_object+0x93/0xf0
...
\<4\> \[309.731728\] Call Trace:
\<4\> \[309.731730\]  \<TASK\>
...
\<4\> \[309.731949\]  \_\_debug\_object\_init+0x17b/0x1c0
\<4\> \[309.731957\]  debug\_object\_init+0x34/0x50
\<4\> \[309.732126\]  \_\_i915\_sw\_fence\_init+0x34/0x60 \[i915\]
\<4\> \[309.732256\]  intel\_huc\_init\_early+0x4b/0x1d0 \[i915\]
\<4\> \[309.732468\]  intel\_uc\_init\_early+0x61/0x680 \[i915\]
\<4\> \[309.732667\]  intel\_gt\_common\_init\_early+0x105/0x130 \[i915\]
\<4\> \[309.732804\]  intel\_root\_gt\_init\_early+0x63/0x80 \[i915\]
\<4\> \[309.732938\]  i915\_driver\_probe+0x1fa/0xeb0 \[i915\]
\<4\> \[309.733075\]  i915\_pci\_probe+0xe6/0x220 \[i915\]
\<4\> \[309.733198\]  local\_pci\_probe+0x44/0xb0
\<4\> \[309.733203\]  pci\_device\_probe+0xf4/0x270
\<4\> \[309.733209\]  really\_probe+0xee/0x3c0
\<4\> \[309.733215\]  \_\_driver\_probe\_device+0x8c/0x180
\<4\> \[309.733219\]  driver\_probe\_device+0x24/0xd0
\<4\> \[309.733223\]  \_\_driver\_attach+0x10f/0x220
\<4\> \[309.733230\]  bus\_for\_each\_dev+0x7d/0xe0
\<4\> \[309.733236\]  driver\_attach+0x1e/0x30
\<4\> \[309.733239\]  bus\_add\_driver+0x151/0x290
\<4\> \[309.733244\]  driver\_register+0x5e/0x130
\<4\> \[309.733247\]  \_\_pci\_register\_driver+0x7d/0x90
\<4\> \[309.733251\]  i915\_pci\_register\_driver+0x23/0x30 \[i915\]
\<4\> \[309.733413\]  i915\_init+0x34/0x120 \[i915\]
\<4\> \[309.733655\]  do\_one\_initcall+0x62/0x3f0
\<4\> \[309.733667\]  do\_init\_module+0x97/0x2a0
\<4\> \[309.733671\]  load\_module+0x25ff/0x2890
\<4\> \[309.733688\]  init\_module\_from\_file+0x97/0xe0
\<4\> \[309.733701\]  idempotent\_init\_module+0x118/0x330
\<4\> \[309.733711\]  \_\_x64\_sys\_finit\_module+0x77/0x100
\<4\> \[309.733715\]  x64\_sys\_call+0x1f37/0x2650
\<4\> \[309.733719\]  do\_syscall\_64+0x91/0x180
\<4\> \[309.733763\]  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
\<4\> \[309.733792\]  \</TASK\>
...
\<4\> \[309.733806\] ---\[ end trace 0000000000000000 \]---

That scenario is most easily reproducible with
igt@i915\_module\_load@reload-with-fault-injection.

Fix the issue by moving the cleanup step to driver release path.

(cherry picked from commit 795dbde92fe5c6996a02a5b579481de73035e7bf)

## Affected and fixed versions

- Linux: \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< 9f5ef4a5eaa61a7a4ed31231da45deb85065397a; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< c5a906806162aea62dbe5d327760ce3b7117ca17; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< 4bd4bf79bcfe101f0385ab81dbabb6e3f7d96c00; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< f104ef4db9f8f3923cc06ed1fafb3da38df6006d; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< e3ea2eae70692a455e256787e4f54153fb739b90 (cvelist)
- Linux: 6.2 (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-2025-37754. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37754.md
Affected: Linux >= 27536e03271da3dafcdddf735102041a26ad5bd0, < 9f5ef4a5eaa61a7a4ed31231da45deb85065397a; >= 27536e03271da3dafcdddf735102041a26ad5bd0, < c5a906806162aea62dbe5d327760ce3b7117ca17; >= 27536e03271da3dafcdddf735102041a26ad5bd0, < 4bd4bf79bcfe101f0385ab81dbabb6e3f7d96c00; >= 27536e03271da3dafcdddf7…
Fixed in: Linux 9f5ef4a5eaa61a7a4ed31231da45deb85065397a, Linux 4bd4bf79bcfe101f0385ab81dbabb6e3f7d96c00

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

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

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

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

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

Linux \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< 9f5ef4a5eaa61a7a4ed31231da45deb85065397a; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< c5a906806162aea62dbe5d327760ce3b7117ca17; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< 4bd4bf79bcfe101f0385ab81dbabb6e3f7d96c00; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< f104ef4db9f8f3923cc06ed1fafb3da38df6006d; \>= 27536e03271da3dafcdddf735102041a26ad5bd0, \< e3ea2eae70692a455e256787e4f54153fb739b90; Linux 6.2.

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

Yes. Fixed in Linux 9f5ef4a5eaa61a7a4ed31231da45deb85065397a, Linux 4bd4bf79bcfe101f0385ab81dbabb6e3f7d96c00. No fix listed yet: follow the vendor advisory.

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

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/9f5ef4a5eaa61a7a4ed31231da45deb85065397a>
- patch: <https://git.kernel.org/stable/c/c5a906806162aea62dbe5d327760ce3b7117ca17>
- patch: <https://git.kernel.org/stable/c/4bd4bf79bcfe101f0385ab81dbabb6e3f7d96c00>
- patch: <https://git.kernel.org/stable/c/f104ef4db9f8f3923cc06ed1fafb3da38df6006d>
- patch: <https://git.kernel.org/stable/c/e3ea2eae70692a455e256787e4f54153fb739b90>

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

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