{"id":"DEBIAN-CVE-2026-98776","details":"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:  \tBUG: KASAN: slab-use-after-free in hlist_add_head include/linux/list.h:1073 [inline] \tBUG: KASAN: slab-use-after-free in binder_add_device+0xa9/0xc0 drivers/android/binder.c:7068 \tWrite of size 8 at addr ffff88805b340c00 by task syz.1.532/11389  \tCPU: 0 UID: 0 PID: 11389 Comm: syz.1.532 Not tainted 7.2.0 #4 PREEMPT(full) \tHardware 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 \tCall Trace: \t\u003cTASK\u003e \t__dump_stack lib/dump_stack.c:94 [inline] \tdump_stack_lvl+0x10e/0x1f0 lib/dump_stack.c:120 \tprint_address_description mm/kasan/report.c:378 [inline] \tprint_report+0xf7/0x600 mm/kasan/report.c:482 \tkasan_report+0xe4/0x120 mm/kasan/report.c:595 \thlist_add_head include/linux/list.h:1073 [inline] \tbinder_add_device+0xa9/0xc0 drivers/android/binder.c:7068 \tbinderfs_binder_device_create.isra.0+0x724/0x990 drivers/android/binderfs.c:196 \tbinder_ctl_ioctl+0x186/0x1b0 drivers/android/binderfs.c:241 \tvfs_ioctl fs/ioctl.c:51 [inline] \t__do_sys_ioctl fs/ioctl.c:597 [inline] \t__se_sys_ioctl fs/ioctl.c:583 [inline] \t__x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 \tdo_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] \tdo_syscall_64+0x116/0x800 arch/x86/entry/syscall_64.c:94 \tentry_SYSCALL_64_after_hwframe+0x77/0x7f \tRIP: 0033:0x7ff9027a833d \tCode: 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 \u003c48\u003e 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 \tRSP: 002b:00007ff903674018 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 \tRAX: ffffffffffffffda RBX: 00007ff902a35fa0 RCX: 00007ff9027a833d \tRDX: 0000200000000500 RSI: 00000000c1086201 RDI: 0000000000000004 \tRBP: 00007ff902850733 R08: 0000000000000000 R09: 0000000000000000 \tR10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 \tR13: 00007ff902a36038 R14: 00007ff902a35fa0 R15: 00007ffd7166bfa0 \t\u003c/TASK\u003e  \tAllocated by task 11389: \tkasan_save_stack+0x33/0x60 mm/kasan/common.c:57 \tkasan_save_track+0x14/0x30 mm/kasan/common.c:78 \tpoison_kmalloc_redzone mm/kasan/common.c:398 [inline] \t__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415 \tkasan_kmalloc include/linux/kasan.h:263 [inline] \t__kmalloc_cache_noprof+0x2e4/0x6f0 mm/slub.c:5489 \t_kmalloc_noprof include/linux/slab.h:988 [inline] \t_kzalloc_noprof include/linux/slab.h:1309 [inline] \tbinderfs_binder_device_create.isra.0+0x17a/0x990 drivers/android/binderfs.c:148 \tbinder_ctl_ioctl+0x186/0x1b0 drivers/android/binderfs.c:241 \tvfs_ioctl fs/ioctl.c:51 [inline] \t__do_sys_ioctl fs/ioctl.c:597 [inline] \t__se_sys_ioctl fs/ioctl.c:583 [inline] \t__x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 \tdo_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] \tdo_syscall_64+0x116/0x800 arch/x86/entry/syscall_64.c:94 \tentry_SYSCALL_64_after_hwframe+0x77/0x7f  \tFreed by task 11389: \tkasan_save_stack+0x33/0x60 mm/kasan/common.c:57 \tkasan_save_track+0x14/0x30 mm/kasan/common.c:78 \tkasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:584 \tpoison_slab_object mm/kasan/common.c:253 [inline] \t__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285 \tkasan_slab_free include/linux/kasan.h:235 [inline] \tslab_free_hook mm/slub.c:2677 [inline] \tslab_free mm/slub.c:6377 [inline] \tkfree+0x2fc/0x6e0 mm/slub.c:6692 \tbinderf ---truncated---","modified":"2026-10-19T05:00:45.119909163Z","published":"2026-10-18T17:47:33.098667535Z","upstream":["CVE-2026-98776"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-98776"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.10-1"}]}],"versions":["6.12.100-1","6.12.101-1","6.12.105-1","6.12.107-1","6.12.111-1","6.12.113-1","6.12.38-1","6.12.41-1","6.12.43-1","6.12.43-1~bpo12+1","6.12.48-1","6.12.57-1","6.12.57-1~bpo12+1","6.12.63-1","6.12.63-1~bpo12+1","6.12.69-1","6.12.69-1~bpo12+1","6.12.73-1","6.12.73-1~bpo12+1","6.12.74-1","6.12.74-2","6.12.74-2~bpo12+1","6.12.85-1","6.12.85-1~bpo12+1","6.12.86-1","6.12.86-1~bpo12+1","6.12.88-1","6.12.88-1~bpo12+1","6.12.90-1","6.12.90-1~bpo12+1","6.12.90-2","6.12.90-2~bpo12+1","6.12.94-1","6.12.94-1~bpo12+1","6.12.95-1","6.12.95-1~bpo12+1","6.12.96-1","6.13.10-1~exp1","6.13.11-1~exp1","6.13.2-1~exp1","6.13.3-1~exp1","6.13.4-1~exp1","6.13.5-1~exp1","6.13.6-1~exp1","6.13.7-1~exp1","6.13.8-1~exp1","6.13.9-1~exp1","6.13~rc6-1~exp1","6.13~rc7-1~exp1","6.14.3-1~exp1","6.14.5-1~exp1","6.14.6-1~exp1","6.15-1~exp1","6.15.1-1~exp1","6.15.2-1~exp1","6.15.3-1~exp1","6.15.4-1~exp1","6.15.5-1~exp1","6.15.6-1~exp1","6.15~rc7-1~exp1","6.16-1~exp1","6.16.1-1~exp1","6.16.10-1","6.16.11-1","6.16.12-1","6.16.12-1~bpo13+1","6.16.12-2","6.16.3-1","6.16.3-1~bpo13+1","6.16.5-1","6.16.6-1","6.16.7-1","6.16.8-1","6.16.9-1","6.16~rc7-1~exp1","6.17.10-1","6.17.11-1","6.17.12-1","6.17.13-1","6.17.13-1~bpo13+1","6.17.2-1~exp1","6.17.5-1~exp1","6.17.6-1","6.17.7-1","6.17.7-2","6.17.8-1","6.17.8-1~bpo13+1","6.17.9-1","6.18.1-1~exp1","6.18.10-1","6.18.12-1","6.18.12-1~bpo13+1","6.18.13-1","6.18.14-1","6.18.15-1","6.18.15-1~bpo13+1","6.18.2-1~exp1","6.18.3-1","6.18.5-1","6.18.5-1~bpo13+1","6.18.8-1","6.18.9-1","6.18.9-1~bpo13+1","6.18~rc4-1~exp1","6.18~rc4-1~exp2","6.18~rc5-1~exp1","6.18~rc6-1~exp1","6.18~rc7-1~exp1","6.19-1~exp1","6.19.10-1","6.19.10-1~bpo13+1","6.19.11-1","6.19.11-1~bpo13+1","6.19.12-1","6.19.13-1","6.19.13-1~bpo13+1","6.19.14-1","6.19.14-1~bpo13+1","6.19.2-1~exp1","6.19.3-1~exp1","6.19.4-1~exp1","6.19.5-1~exp1","6.19.6-1","6.19.6-2","6.19.6-2~bpo13+1","6.19.8-1","6.19.8-1~bpo13+1","6.19~rc4-1~exp1","6.19~rc5-1~exp1","6.19~rc6-1~exp1","6.19~rc7-1~exp1","6.19~rc8-1~exp1","7.0-1~exp1","7.0.1-1~exp1","7.0.10-1","7.0.10-1~bpo13+1","7.0.12-1","7.0.12-2","7.0.12-2~bpo13+1","7.0.13-1","7.0.13-1~bpo13+1","7.0.14-1","7.0.3-1","7.0.4-1","7.0.4-1~bpo13+1","7.0.7-1","7.0.7-1~bpo13+1","7.0.9-1","7.0.9-1~bpo13+1","7.1.1-1~exp1","7.1.10-1","7.1.12-1","7.1.13-1","7.1.13-1~bpo13+1","7.1.2-1~exp1","7.1.3-1","7.1.3-1+sunvdc","7.1.3-1~bpo13+1","7.1.4-1","7.1.5-1","7.1.6-1","7.1.7-1","7.1.7-1~bpo13+1","7.1.8-1","7.1.8-1~bpo13+1","7.1.8-2","7.1.9-1","7.1.9-1+sparc64","7.1~rc2-1~exp1","7.1~rc3-1~exp1","7.1~rc4-1~exp1","7.1~rc4-1~exp2","7.1~rc5-1~exp1","7.1~rc7-1~exp1","7.2.2-1~exp1","7.2.3-1~exp1","7.2.6-1","7.2.6-1~bpo13+1","7.2.7-1","7.2.8-1","7.2.9-1","7.2.9-1~bpo13+1","7.2~rc3-1~exp1","7.2~rc5-1~exp1","7.2~rc7-1~exp1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-98776.json"}}],"schema_version":"1.9.0"}