# CVE-2025-21824: gpu: host1x: Fix a use of uninitialized mutex

> 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, CNA) `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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-02-27T20:06:14.720Z
- **Modified:** 2026-06-17T08:44:23.097Z

## Who should check

- Anyone running Linux \>= c8347f915e6779f6c861e7a041adf3559d51b363, \< 396d8e5136b4476672bc15b83ba312486bb4bf76; \>= c8347f915e6779f6c861e7a041adf3559d51b363, \< 127e91638ddcd02b80de92fec2240609a9f90426; \>= c8347f915e6779f6c861e7a041adf3559d51b363, \< 02458fbfaa0170aabf8506f7d4ed054f02414251
- Anyone running Linux 6.12

## Description

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

gpu: host1x: Fix a use of uninitialized mutex

commit c8347f915e67 ("gpu: host1x: Fix boot regression for Tegra")
caused a use of uninitialized mutex leading to below warning when
CONFIG\_DEBUG\_MUTEXES and CONFIG\_DEBUG\_LOCK\_ALLOC are enabled.

\[   41.662843\] ------------\[ cut here \]------------
\[   41.663012\] DEBUG\_LOCKS\_WARN\_ON(lock-\>magic != lock)
\[   41.663035\] WARNING: CPU: 4 PID: 794 at kernel/locking/mutex.c:587 \_\_mutex\_lock+0x670/0x878
\[   41.663458\] Modules linked in: rtw88\_8822c(+) bluetooth(+) rtw88\_pci rtw88\_core mac80211 aquantia libarc4 crc\_itu\_t cfg80211 tegra194\_cpufreq dwmac\_tegra(+) arm\_dsu\_pmu stmmac\_platform stmmac pcs\_xpcs rfkill at24 host1x(+) tegra\_bpmp\_thermal ramoops reed\_solomon fuse loop nfnetlink xfs mmc\_block rpmb\_core ucsi\_ccg ina3221 crct10dif\_ce xhci\_tegra ghash\_ce lm90 sha2\_ce sha256\_arm64 sha1\_ce sdhci\_tegra pwm\_fan sdhci\_pltfm sdhci gpio\_keys rtc\_tegra cqhci mmc\_core phy\_tegra\_xusb i2c\_tegra tegra186\_gpc\_dma i2c\_tegra\_bpmp spi\_tegra114 dm\_mirror dm\_region\_hash dm\_log dm\_mod
\[   41.665078\] CPU: 4 UID: 0 PID: 794 Comm: (udev-worker) Not tainted 6.11.0-29.31\_1538613708.el10.aarch64+debug \#1
\[   41.665838\] Hardware name: NVIDIA NVIDIA Jetson AGX Orin Developer Kit/Jetson, BIOS 36.3.0-gcid-35594366 02/26/2024
\[   41.672555\] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[   41.679636\] pc : \_\_mutex\_lock+0x670/0x878
\[   41.683834\] lr : \_\_mutex\_lock+0x670/0x878
\[   41.688035\] sp : ffff800084b77090
\[   41.691446\] x29: ffff800084b77160 x28: ffffdd4bebf7b000 x27: ffffdd4be96b1000
\[   41.698799\] x26: 1fffe0002308361c x25: 1ffff0001096ee18 x24: 0000000000000000
\[   41.706149\] x23: 0000000000000000 x22: 0000000000000002 x21: ffffdd4be6e3c7a0
\[   41.713500\] x20: ffff800084b770f0 x19: ffff00011841b1e8 x18: 0000000000000000
\[   41.720675\] x17: 0000000000000000 x16: 0000000000000000 x15: 0720072007200720
\[   41.728023\] x14: 0000000000000000 x13: 0000000000000001 x12: ffff6001a96eaab3
\[   41.735375\] x11: 1fffe001a96eaab2 x10: ffff6001a96eaab2 x9 : ffffdd4be4838bbc
\[   41.742723\] x8 : 00009ffe5691554e x7 : ffff000d4b755593 x6 : 0000000000000001
\[   41.749985\] x5 : ffff000d4b755590 x4 : 1fffe0001d88f001 x3 : dfff800000000000
\[   41.756988\] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000ec478000
\[   41.764251\] Call trace:
\[   41.766695\]  \_\_mutex\_lock+0x670/0x878
\[   41.770373\]  mutex\_lock\_nested+0x2c/0x40
\[   41.774134\]  host1x\_intr\_start+0x54/0xf8 \[host1x\]
\[   41.778863\]  host1x\_runtime\_resume+0x150/0x228 \[host1x\]
\[   41.783935\]  pm\_generic\_runtime\_resume+0x84/0xc8
\[   41.788485\]  \_\_rpm\_callback+0xa0/0x478
\[   41.792422\]  rpm\_callback+0x15c/0x1a8
\[   41.795922\]  rpm\_resume+0x698/0xc08
\[   41.799597\]  \_\_pm\_runtime\_resume+0xa8/0x140
\[   41.803621\]  host1x\_probe+0x810/0xbc0 \[host1x\]
\[   41.807909\]  platform\_probe+0xcc/0x1a8
\[   41.811845\]  really\_probe+0x188/0x800
\[   41.815347\]  \_\_driver\_probe\_device+0x164/0x360
\[   41.819810\]  driver\_probe\_device+0x64/0x1a8
\[   41.823834\]  \_\_driver\_attach+0x180/0x490
\[   41.827773\]  bus\_for\_each\_dev+0x104/0x1a0
\[   41.831797\]  driver\_attach+0x44/0x68
\[   41.835296\]  bus\_add\_driver+0x23c/0x4e8
\[   41.839235\]  driver\_register+0x15c/0x3a8
\[   41.843170\]  \_\_platform\_register\_drivers+0xa4/0x208
\[   41.848159\]  tegra\_host1x\_init+0x4c/0xff8 \[host1x\]
\[   41.853147\]  do\_one\_initcall+0xd4/0x380
\[   41.856997\]  do\_init\_module+0x1dc/0x698
\[   41.860758\]  load\_module+0xc70/0x1300
\[   41.864435\]  \_\_do\_sys\_init\_module+0x1a8/0x1d0
\[   41.868721\]  \_\_arm64\_sys\_init\_module+0x74/0xb0
\[   41.873183\]  invoke\_syscall.constprop.0+0xdc/0x1e8
\[   41.877997\]  do\_el0\_svc+0x154/0x1d0
\[   41.881671\]  el0\_svc+0x54/0x140
\[   41.884820\]  el0t\_64\_sync\_handler+0x120/0x130
\[   41.889285\]  el0t\_64\_sync+0x1a4/0x1a8
\[   41.892960\] irq event stamp: 69737
\[   41.896370\] hardirqs last  enabled at (69737): \[\<ffffdd4be6d7768c\>\] \_raw\_spin\_unlock\_irqrestore+0x44/0xe8
\[   41.905739\] hardirqs last disabled at (69736):
---truncated---

## Affected and fixed versions

- Linux: \>= c8347f915e6779f6c861e7a041adf3559d51b363, \< 396d8e5136b4476672bc15b83ba312486bb4bf76; \>= c8347f915e6779f6c861e7a041adf3559d51b363, \< 127e91638ddcd02b80de92fec2240609a9f90426; \>= c8347f915e6779f6c861e7a041adf3559d51b363, \< 02458fbfaa0170aabf8506f7d4ed054f02414251 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 02458fbfaa0170aabf8506f7d4ed054f02414251 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-21824.md
Affected: Linux >= c8347f915e6779f6c861e7a041adf3559d51b363, < 396d8e5136b4476672bc15b83ba312486bb4bf76; >= c8347f915e6779f6c861e7a041adf3559d51b363, < 127e91638ddcd02b80de92fec2240609a9f90426; >= c8347f915e6779f6c861e7a041adf3559d51b363, < 02458fbfaa0170aabf8506f7d4ed054f02414251; Linux 6.12
Fixed in: Linux 396d8e5136b4476672bc15b83ba312486bb4bf76, Linux 127e91638ddcd02b80de92fec2240609a9f90426, Linux 02458fbfaa0170aabf8506f7d4ed054f02414251

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

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

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

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

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

Linux \>= c8347f915e6779f6c861e7a041adf3559d51b363, \< 396d8e5136b4476672bc15b83ba312486bb4bf76; \>= c8347f915e6779f6c861e7a041adf3559d51b363, \< 127e91638ddcd02b80de92fec2240609a9f90426; \>= c8347f915e6779f6c861e7a041adf3559d51b363, \< 02458fbfaa0170aabf8506f7d4ed054f02414251; Linux 6.12.

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

Yes. Fixed in Linux 396d8e5136b4476672bc15b83ba312486bb4bf76, Linux 127e91638ddcd02b80de92fec2240609a9f90426, Linux 02458fbfaa0170aabf8506f7d4ed054f02414251. Upgrade Linux to 02458fbfaa0170aabf8506f7d4ed054f02414251 or later.

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

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/396d8e5136b4476672bc15b83ba312486bb4bf76>
- patch: <https://git.kernel.org/stable/c/127e91638ddcd02b80de92fec2240609a9f90426>
- patch: <https://git.kernel.org/stable/c/02458fbfaa0170aabf8506f7d4ed054f02414251>

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

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