# CVE-2025-38175: binder: fix yet another UAF in binder\_devices

> 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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-07-04T10:39:56.392Z
- **Modified:** 2026-08-05T12:00:06.352Z

## Who should check

- Anyone running Linux \>= 12d909cac1e1c4147cc3417fee804ee12fc6b984, \< 4a7694f499cae5b83412c5281bf2c961f34f2ed6; \>= 12d909cac1e1c4147cc3417fee804ee12fc6b984, \< 72a726fb5f25fbb31d6060acfb671c1955831245; \>= 12d909cac1e1c4147cc3417fee804ee12fc6b984, \< 9857af0fcff385c75433f2162c30c62eb912ef6d
- Anyone running Linux 6.14

## Description

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

binder: fix yet another UAF in binder\_devices

Commit e77aff5528a18 ("binderfs: fix use-after-free in binder\_devices")
addressed a use-after-free where devices could be released without first
being removed from the binder\_devices list. However, there is a similar
path in binder\_free\_proc() that was missed:

  ==================================================================
  BUG: KASAN: slab-use-after-free in binder\_remove\_device+0xd4/0x100
  Write of size 8 at addr ffff0000c773b900 by task umount/467
  CPU: 12 UID: 0 PID: 467 Comm: umount Not tainted 6.15.0-rc7-00138-g57483a362741 \#9 PREEMPT
  Hardware name: linux,dummy-virt (DT)
  Call trace:
   binder\_remove\_device+0xd4/0x100
   binderfs\_evict\_inode+0x230/0x2f0
   evict+0x25c/0x5dc
   iput+0x304/0x480
   dentry\_unlink\_inode+0x208/0x46c
   \_\_dentry\_kill+0x154/0x530
   \[...\]

  Allocated by task 463:
   \_\_kmalloc\_cache\_noprof+0x13c/0x324
   binderfs\_binder\_device\_create.isra.0+0x138/0xa60
   binder\_ctl\_ioctl+0x1ac/0x230
  \[...\]

  Freed by task 215:
   kfree+0x184/0x31c
   binder\_proc\_dec\_tmpref+0x33c/0x4ac
   binder\_deferred\_func+0xc10/0x1108
   process\_one\_work+0x520/0xba4
  \[...\]
  ==================================================================

Call binder\_remove\_device() within binder\_free\_proc() to ensure the
device is removed from the binder\_devices list before being kfreed.

## Affected and fixed versions

- Linux: \>= 12d909cac1e1c4147cc3417fee804ee12fc6b984, \< 4a7694f499cae5b83412c5281bf2c961f34f2ed6; \>= 12d909cac1e1c4147cc3417fee804ee12fc6b984, \< 72a726fb5f25fbb31d6060acfb671c1955831245; \>= 12d909cac1e1c4147cc3417fee804ee12fc6b984, \< 9857af0fcff385c75433f2162c30c62eb912ef6d (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2025-38175.md
Affected: Linux >= 12d909cac1e1c4147cc3417fee804ee12fc6b984, < 4a7694f499cae5b83412c5281bf2c961f34f2ed6; >= 12d909cac1e1c4147cc3417fee804ee12fc6b984, < 72a726fb5f25fbb31d6060acfb671c1955831245; >= 12d909cac1e1c4147cc3417fee804ee12fc6b984, < 9857af0fcff385c75433f2162c30c62eb912ef6d; Linux 6.14
Fixed in: Linux 4a7694f499cae5b83412c5281bf2c961f34f2ed6, Linux 72a726fb5f25fbb31d6060acfb671c1955831245, Linux 9857af0fcff385c75433f2162c30c62eb912ef6d

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

There is no confirmed exploitation: CVE-2025-38175 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-38175?

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

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

Linux \>= 12d909cac1e1c4147cc3417fee804ee12fc6b984, \< 4a7694f499cae5b83412c5281bf2c961f34f2ed6; \>= 12d909cac1e1c4147cc3417fee804ee12fc6b984, \< 72a726fb5f25fbb31d6060acfb671c1955831245; \>= 12d909cac1e1c4147cc3417fee804ee12fc6b984, \< 9857af0fcff385c75433f2162c30c62eb912ef6d; Linux 6.14.

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

Yes. Fixed in Linux 4a7694f499cae5b83412c5281bf2c961f34f2ed6, Linux 72a726fb5f25fbb31d6060acfb671c1955831245, Linux 9857af0fcff385c75433f2162c30c62eb912ef6d. Upgrade Linux to 9857af0fcff385c75433f2162c30c62eb912ef6d or later.

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

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/4a7694f499cae5b83412c5281bf2c961f34f2ed6>
- patch: <https://git.kernel.org/stable/c/72a726fb5f25fbb31d6060acfb671c1955831245>
- patch: <https://git.kernel.org/stable/c/9857af0fcff385c75433f2162c30c62eb912ef6d>

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

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