# CVE-2026-98776: binderfs: fix UAF write in binder\_add\_device

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-18T15:48:12.661Z
- **Modified:** 2026-10-19T10:19:41.697Z

## Who should check

- Anyone running Linux \>= b89aa544821d5018002829fce5d10c9d00cc567f, \< 885bbbe52d31856768de439e9720f1ffa474a93a; \>= b89aa544821d5018002829fce5d10c9d00cc567f, \< 30d15f44a9e513ec2f257fdf192d9d1fa5af0799
- Anyone running Linux 6.19

## Description

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

binderfs: fix UAF write in binder\_add\_device

binderfs\_binder\_device\_create() publishes the new dentry with
d\_make\_persistent() and then calls simple\_done\_creating(), which drops
the parent directory lock and the creator's dentry reference. It then
calls binder\_add\_device() to register the device in the global
binder\_devices list.

After simple\_done\_creating() releases the parent directory lock, a
concurrent unlinkat() can remove the new device entry. Dropping the
creator's dentry reference can then trigger binderfs\_evict\_inode(),
freeing the device. binder\_add\_device() later accesses the freed
object, causing UAF write.

Found by a modified Syzkaller:

	BUG: KASAN: slab-use-after-free in hlist\_add\_head include/linux/list.h:1073 \[inline\]
	BUG: KASAN: slab-use-after-free in binder\_add\_device+0xa9/0xc0 drivers/android/binder.c:7068
	Write of size 8 at addr ffff88805b340c00 by task syz.1.532/11389

	CPU: 0 UID: 0 PID: 11389 Comm: syz.1.532 Not tainted 7.2.0 \#4 PREEMPT(full)
	Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch\_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
	Call Trace:
	\<TASK\>
	\_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
	dump\_stack\_lvl+0x10e/0x1f0 lib/dump\_stack.c:120
	print\_address\_description mm/kasan/report.c:378 \[inline\]
	print\_report+0xf7/0x600 mm/kasan/report.c:482
	kasan\_report+0xe4/0x120 mm/kasan/report.c:595
	hlist\_add\_head include/linux/list.h:1073 \[inline\]
	binder\_add\_device+0xa9/0xc0 drivers/android/binder.c:7068
	binderfs\_binder\_device\_create.isra.0+0x724/0x990 drivers/android/binderfs.c:196
	binder\_ctl\_ioctl+0x186/0x1b0 drivers/android/binderfs.c:241
	vfs\_ioctl fs/ioctl.c:51 \[inline\]
	\_\_do\_sys\_ioctl fs/ioctl.c:597 \[inline\]
	\_\_se\_sys\_ioctl fs/ioctl.c:583 \[inline\]
	\_\_x64\_sys\_ioctl+0x18e/0x210 fs/ioctl.c:583
	do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
	do\_syscall\_64+0x116/0x800 arch/x86/entry/syscall\_64.c:94
	entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
	RIP: 0033:0x7ff9027a833d
	Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
	RSP: 002b:00007ff903674018 EFLAGS: 00000246 ORIG\_RAX: 0000000000000010
	RAX: ffffffffffffffda RBX: 00007ff902a35fa0 RCX: 00007ff9027a833d
	RDX: 0000200000000500 RSI: 00000000c1086201 RDI: 0000000000000004
	RBP: 00007ff902850733 R08: 0000000000000000 R09: 0000000000000000
	R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
	R13: 00007ff902a36038 R14: 00007ff902a35fa0 R15: 00007ffd7166bfa0
	\</TASK\>

	Allocated by task 11389:
	kasan\_save\_stack+0x33/0x60 mm/kasan/common.c:57
	kasan\_save\_track+0x14/0x30 mm/kasan/common.c:78
	poison\_kmalloc\_redzone mm/kasan/common.c:398 \[inline\]
	\_\_kasan\_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
	kasan\_kmalloc include/linux/kasan.h:263 \[inline\]
	\_\_kmalloc\_cache\_noprof+0x2e4/0x6f0 mm/slub.c:5489
	\_kmalloc\_noprof include/linux/slab.h:988 \[inline\]
	\_kzalloc\_noprof include/linux/slab.h:1309 \[inline\]
	binderfs\_binder\_device\_create.isra.0+0x17a/0x990 drivers/android/binderfs.c:148
	binder\_ctl\_ioctl+0x186/0x1b0 drivers/android/binderfs.c:241
	vfs\_ioctl fs/ioctl.c:51 \[inline\]
	\_\_do\_sys\_ioctl fs/ioctl.c:597 \[inline\]
	\_\_se\_sys\_ioctl fs/ioctl.c:583 \[inline\]
	\_\_x64\_sys\_ioctl+0x18e/0x210 fs/ioctl.c:583
	do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
	do\_syscall\_64+0x116/0x800 arch/x86/entry/syscall\_64.c:94
	entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

	Freed by task 11389:
	kasan\_save\_stack+0x33/0x60 mm/kasan/common.c:57
	kasan\_save\_track+0x14/0x30 mm/kasan/common.c:78
	kasan\_save\_free\_info+0x3b/0x60 mm/kasan/generic.c:584
	poison\_slab\_object mm/kasan/common.c:253 \[inline\]
	\_\_kasan\_slab\_free+0x5f/0x80 mm/kasan/common.c:285
	kasan\_slab\_free include/linux/kasan.h:235 \[inline\]
	slab\_free\_hook mm/slub.c:2677 \[inline\]
	slab\_free mm/slub.c:6377 \[inline\]
	kfree+0x2fc/0x6e0 mm/slub.c:6692
	binderf
---truncated---

## Affected and fixed versions

- Linux: \>= b89aa544821d5018002829fce5d10c9d00cc567f, \< 885bbbe52d31856768de439e9720f1ffa474a93a; \>= b89aa544821d5018002829fce5d10c9d00cc567f, \< 30d15f44a9e513ec2f257fdf192d9d1fa5af0799 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-98776.md
Affected: Linux >= b89aa544821d5018002829fce5d10c9d00cc567f, < 885bbbe52d31856768de439e9720f1ffa474a93a; >= b89aa544821d5018002829fce5d10c9d00cc567f, < 30d15f44a9e513ec2f257fdf192d9d1fa5af0799; Linux 6.19
Fixed in: Linux 885bbbe52d31856768de439e9720f1ffa474a93a, Linux 30d15f44a9e513ec2f257fdf192d9d1fa5af0799

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= b89aa544821d5018002829fce5d10c9d00cc567f, \< 885bbbe52d31856768de439e9720f1ffa474a93a; \>= b89aa544821d5018002829fce5d10c9d00cc567f, \< 30d15f44a9e513ec2f257fdf192d9d1fa5af0799; Linux 6.19.

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

Yes. Fixed in Linux 885bbbe52d31856768de439e9720f1ffa474a93a, Linux 30d15f44a9e513ec2f257fdf192d9d1fa5af0799. Upgrade Linux to 30d15f44a9e513ec2f257fdf192d9d1fa5af0799 or later.

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

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

- other: <https://git.kernel.org/stable/c/885bbbe52d31856768de439e9720f1ffa474a93a>
- other: <https://git.kernel.org/stable/c/30d15f44a9e513ec2f257fdf192d9d1fa5af0799>

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

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