# CVE-2025-71181: linux: In the Linux kernel, the following vulnerability has been resolved:  rust_binder: remove spin_lock() in rust_shrink_f...

CVE-2025-71181 is fixed in linux on 1 platform by DEBIAN-CVE-2025-71181 (version 6.18.8-1), released January 31, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-71181
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0012
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 31, 2026

## Description

In the Linux kernel, the following vulnerability has been resolved:  rust_binder: remove spin_lock() in rust_shrink_free_page()  When forward-porting Rust Binder to 6.18, I neglected to take commit fb56fdf8b9a2 ("mm/list_lru: split the lock to per-cgroup scope") into account, and apparently I did not end up running the shrinker callback when I sanity tested the driver before submission. This leads to crashes like the following:  	============================================ 	WARNING: possible recursive locking detected 	6.18.0-mainline-maybe-dirty #1 Tainted: G          IO 	-------------------------------------------- 	kswapd0/68 is trying to acquire lock: 	ffff956000fa18b0 (&l->lock){+.+.}-{2:2}, at: lock_list_lru_of_memcg+0x128/0x230  	but task is already holding lock: 	ffff956000fa18b0 (&l->lock){+.+.}-{2:2}, at: rust_helper_spin_lock+0xd/0x20  	other info that might help us debug this: 	 Possible unsafe locking scenario:  	       CPU0 	       ---- 	  lock(&l->lock); 	  lock(&l->lock);  	 *** DEADLOCK ***  	 May be due to missing lock nesting notation  	3 locks held by kswapd0/68: 	 #0: ffffffff90d2e260 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0x597/0x1160 	 #1: ffff956000fa18b0 (&l->lock){+.+.}-{2:2}, at: rust_helper_spin_lock+0xd/0x20 	 #2: ffffffff90cf3680 (rcu_read_lock){....}-{1:2}, at: lock_list_lru_of_memcg+0x2d/0x230  To fix this, remove the spin_lock() call from rust_shrink_free_page().

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 14 | 6.18.8-1 | [DEBIAN-CVE-2025-71181](https://patchblox.com/security/data/fix/linux/debian-cve-2025-71181.md) | Jan 31, 2026 |

---

Data as of 2026-11-10T13:56:55Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
