In the Linux kernel, the following vulnerability has been resolved: binderfs: fix UAF write in binder_add_device binderfs_binder_device_cr
위협 신호 · CVSS · EPSS · KEV
이론적 심각도 점수
예측 데이터 없음
실측 악용 기록 없음
계획된 패치 주기 내 조치(60일 이내)
CVSS 벡터 · 메트릭
CVSS 벡터 정보 없음
상세 설명
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:
1BUG: KASAN: slab-use-after-free in hlist_add_head include/linux/list.h:1073 [inline] 2BUG: KASAN: slab-use-after-free in binder_add_device+0xa9/0xc0 drivers/android/binder.c:7068 3Write of size 8 at addr ffff88805b340c00 by task syz.1.532/11389 4 5CPU: 0 UID: 0 PID: 11389 Comm: syz.1.532 Not tainted 7.2.0 #4 PREEMPT(full) 6Hardware 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 7Call Trace: 8<TASK> 9__dump_stack lib/dump_stack.c:94 [inline]10dump_stack_lvl+0x10e/0x1f0 lib/dump_stack.c:12011print_address_description mm/kasan/report.c:378 [inline]12print_report+0xf7/0x600 mm/kasan/report.c:48213kasan_report+0xe4/0x120 mm/kasan/report.c:59514hlist_add_head include/linux/list.h:1073 [inline]15binder_add_device+0xa9/0xc0 drivers/android/binder.c:706816binderfs_binder_device_create.isra.0+0x724/0x990 drivers/android/binderfs.c:19617binder_ctl_ioctl+0x186/0x1b0 drivers/android/binderfs.c:24118vfs_ioctl fs/ioctl.c:51 [inline]19__do_sys_ioctl fs/ioctl.c:597 [inline]20__se_sys_ioctl fs/ioctl.c:583 [inline]21__x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:58322do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]23do_syscall_64+0x116/0x800 arch/x86/entry/syscall_64.c:9424entry_SYSCALL_64_after_hwframe+0x77/0x7f25RIP: 0033:0x7ff9027a833d26Code: 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 4827RSP: 002b:00007ff903674018 EFLAGS: 00000246 ORIG_RAX: 000000000000001028RAX: ffffffffffffffda RBX: 00007ff902a35fa0 RCX: 00007ff9027a833d29RDX: 0000200000000500 RSI: 00000000c1086201 RDI: 000000000000000430RBP: 00007ff902850733 R08: 0000000000000000 R09: 000000000000000031R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000032R13: 00007ff902a36038 R14: 00007ff902a35fa0 R15: 00007ffd7166bfa033</TASK>34 35Allocated by task 11389:36kasan_save_stack+0x33/0x60 mm/kasan/common.c:5737kasan_save_track+0x14/0x30 mm/kasan/common.c:7838poison_kmalloc_redzone mm/kasan/common.c:398 [inline]39__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:41540kasan_kmalloc include/linux/kasan.h:263 [inline]41__kmalloc_cache_noprof+0x2e4/0x6f0 mm/slub.c:548942_kmalloc_noprof include/linux/slab.h:988 [inline]43_kzalloc_noprof include/linux/slab.h:1309 [inline]44binderfs_binder_device_create.isra.0+0x17a/0x990 drivers/android/binderfs.c:14845binder_ctl_ioctl+0x186/0x1b0 drivers/android/binderfs.c:24146vfs_ioctl fs/ioctl.c:51 [inline]47__do_sys_ioctl fs/ioctl.c:597 [inline]48__se_sys_ioctl fs/ioctl.c:583 [inline]49__x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:58350do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]51do_syscall_64+0x116/0x800 arch/x86/entry/syscall_64.c:9452entry_SYSCALL_64_after_hwframe+0x77/0x7f53 54Freed by task 11389:55kasan_save_stack+0x33/0x60 mm/kasan/common.c:5756kasan_save_track+0x14/0x30 mm/kasan/common.c:7857kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:58458poison_slab_object mm/kasan/common.c:253 [inline]59__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:28560kasan_slab_free include/linux/kasan.h:235 [inline]61slab_free_hook mm/slub.c:2677 [inline]62slab_free mm/slub.c:6377 [inline]63kfree+0x2fc/0x6e0 mm/slub.c:669264binderf---truncated---
AI 심층 분석
공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.