R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fded3016038 R14: 00007fded3015fa0 R15: 00007ffc7e2bb2e8
---[ end trace 0000000000000000 ]---
==================================================================
BUG: KASAN: use-after-free in fast_dput+0x1e9/0x290 fs/dcache.c:778
Read of size 4 at addr ffff8881170ce330 by task syz.1.1081/3901
CPU: 0 PID: 3901 Comm: syz.1.1081 Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
print_address_description+0x71/0x200 mm/kasan/report.c:316
print_report+0x4a/0x60 mm/kasan/report.c:420
kasan_report+0x122/0x150 mm/kasan/report.c:524
__asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:350
fast_dput+0x1e9/0x290 fs/dcache.c:778
dput+0x21/0x80 fs/dcache.c:905
incfs_free_mount_info+0x60/0x200 fs/incfs/data_mgmt.c:166
incfs_kill_sb+0x1b8/0x220 fs/incfs/vfs.c:2003
deactivate_locked_super+0xb5/0x120 fs/super.c:336
deactivate_super+0xaf/0xe0 fs/super.c:367
cleanup_mnt+0x474/0x500 fs/namespace.c:1192
__cleanup_mnt+0x19/0x20 fs/namespace.c:1199
task_work_run+0x1e1/0x250 kernel/task_work.c:203
exit_task_work include/linux/task_work.h:39 [inline]
do_exit+0xa35/0x2660 kernel/exit.c:886
do_group_exit+0x210/0x2d0 kernel/exit.c:1028
get_signal+0x13b5/0x1520 kernel/signal.c:2891
arch_do_signal_or_restart+0xd1/0x1140 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:288
RIP: 0033:0x7fded2d9c799
Code: Unable to access opcode bytes at 0x7fded2d9c76f.
RSP: 002b:00007fded3b93fd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: 0000000000000000 RBX: 00007fded3015fa0 RCX: 00007fded2d9c799
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fded2e32c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fded3016038 R14: 00007fded3015fa0 R15: 00007ffc7e2bb2e8
Allocated by task 4044:
kasan_save_stack mm/kasan/common.c:46 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:53
kasan_save_alloc_info+0x25/0x30 mm/kasan/generic.c:505
__kasan_slab_alloc+0x72/0x80 mm/kasan/common.c:334
kasan_slab_alloc include/linux/kasan.h:202 [inline]
slab_post_alloc_hook+0x4f/0x2d0 mm/slab.h:768
slab_alloc_node mm/slub.c:3382 [inline]
slab_alloc mm/slub.c:3392 [inline]
__kmem_cache_alloc_lru mm/slub.c:3399 [inline]
kmem_cache_alloc_lru+0x104/0x280 mm/slub.c:3415
__d_alloc+0x34/0x6c0 fs/dcache.c:1774
d_alloc fs/dcache.c:1854 [inline]
d_alloc_parallel+0xe2/0x12e0 fs/dcache.c:2647
__lookup_slow+0x14f/0x410 fs/namei.c:1682
lookup_one_len+0x19d/0x2e0 fs/namei.c:2747
incfs_lookup_dentry+0x60/0xb0 fs/incfs/data_mgmt.c:210
open_or_create_special_dir+0x4f/0x1d0 fs/incfs/vfs.c:475
incfs_mount_fs+0x42f/0x890 fs/incfs/vfs.c:1890
legacy_get_tree+0xfe/0x1a0 fs/fs_context.c:632
vfs_get_tree+0x9a/0x270 fs/super.c:1578
do_new_mount+0x251/0xb30 fs/namespace.c:3081
path_mount+0x659/0xfc0 fs/namespace.c:3411
do_mount fs/namespace.c:3424 [inline]
__do_sys_mount fs/namespace.c:3632 [inline]
__se_sys_mount+0x320/0x390 fs/namespace.c:3609
__x64_sys_mount+0xbf/0xd0 fs/namespace.c:3609
x64_sys_call+0x65d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Freed by task 23:
kasan_save_stack mm/kasan/common.c:46 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:53
kasan_save_free_info+0x31/0x50 mm/kasan/generic.c:516
____kasan_slab_free+0x132/0x180 mm/kasan/common.c:242
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:250
kasan_slab_free include/linux/kasan.h:178 [inline]
slab_free_hook mm/slub.c:1750 [inline]
slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1776
slab_free mm/slub.c:3712 [inline]
kmem_cache_free+0x12d/0x300 mm/slub.c:3737
__d_free+0x23/0x30 fs/dcache.c:298
rcu_do_batch+0x52a/0xbc0 kernel/rcu/tree.c:2297
rcu_core+0x5c3/0xe80 kernel/rcu/tree.c:2557
rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2574
handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
run_ksoftirqd+0x28/0x30 kernel/softirq.c:1019
smpboot_thread_fn+0x4a0/0x910 kernel/smpboot.c:164
kthread+0x281/0x320 kernel/kthread.c:386
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Last potentially related work creation:
kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46
__kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486
kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496
__call_rcu_common kernel/rcu/tree.c:2807 [inline]
call_rcu+0xcf/0xf90 kernel/rcu/tree.c:2926
dentry_free+0xbd/0x150 fs/dcache.c:-1
__dentry_kill+0x529/0x670 fs/dcache.c:625
dentry_kill+0xc0/0x2a0 fs/dcache.c:-1
dput+0x42/0x80 fs/dcache.c:918
incfs_free_mount_info+0x60/0x200 fs/incfs/data_mgmt.c:166
incfs_kill_sb+0x1b8/0x220 fs/incfs/vfs.c:2003
deactivate_locked_super+0xb5/0x120 fs/super.c:336
deactivate_super+0xaf/0xe0 fs/super.c:367
cleanup_mnt+0x474/0x500 fs/namespace.c:1192
__cleanup_mnt+0x19/0x20 fs/namespace.c:1199
task_work_run+0x1e1/0x250 kernel/task_work.c:203
exit_task_work include/linux/task_work.h:39 [inline]
do_exit+0xa35/0x2660 kernel/exit.c:886
do_group_exit+0x210/0x2d0 kernel/exit.c:1028
get_signal+0x13b5/0x1520 kernel/signal.c:2891
arch_do_signal_or_restart+0xd1/0x1140 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:288
Second to last potentially related work creation:
kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46
__kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486
kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496
__call_rcu_common kernel/rcu/tree.c:2807 [inline]
call_rcu+0xcf/0xf90 kernel/rcu/tree.c:2926
dentry_free+0xbd/0x150 fs/dcache.c:-1
__dentry_kill+0x529/0x670 fs/dcache.c:625
dentry_kill+0xc0/0x2a0 fs/dcache.c:-1
dput+0x42/0x80 fs/dcache.c:918
do_unlinkat+0x34a/0x6d0 fs/namei.c:4400
__do_sys_unlink fs/namei.c:4445 [inline]
__se_sys_unlink fs/namei.c:4443 [inline]
__x64_sys_unlink+0x49/0x50 fs/namei.c:4443
x64_sys_call+0x958/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:88
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
The buggy address belongs to the object at ffff8881170ce330
which belongs to the cache dentry of size 208
The buggy address is located 0 bytes inside of
208-byte region [ffff8881170ce330, ffff8881170ce400)
The buggy address belongs to the physical page:
page:ffffea00045c3380 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1170ce
flags: 0x4000000000000200(slab|zone=1)
raw: 4000000000000200 ffffea00045c88c0 dead000000000004 ffff8881001eca80
raw: 0000000000000000 00000000000f000f 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Reclaimable, gfp_mask 0x12cd0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_RECLAIMABLE), pid 108, tgid 108 (udevd), ts 4984567229, free_ts 0
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2670
prep_new_page+0x1c/0x110 mm/page_alloc.c:2677
get_page_from_freelist+0x2d12/0x2d80 mm/page_alloc.c:4583
__alloc_pages+0x1d9/0x480 mm/page_alloc.c:5897
alloc_slab_page+0x6e/0xf0 include/linux/gfp.h:-1
allocate_slab mm/slub.c:1967 [inline]
new_slab+0x98/0x3d0 mm/slub.c:2020
___slab_alloc+0x6bd/0xb20 mm/slub.c:3177
__slab_alloc+0x5e/0xa0 mm/slub.c:3263
slab_alloc_node mm/slub.c:3348 [inline]
slab_alloc mm/slub.c:3392 [inline]
__kmem_cache_alloc_lru mm/slub.c:3399 [inline]
kmem_cache_alloc_lru+0x144/0x280 mm/slub.c:3415
__d_alloc+0x34/0x6c0 fs/dcache.c:1774
d_alloc fs/dcache.c:1854 [inline]
d_alloc_parallel+0xe2/0x12e0 fs/dcache.c:2647
lookup_open fs/namei.c:3414 [inline]
open_last_lookups fs/namei.c:3557 [inline]
path_openat+0x961/0x2f80 fs/namei.c:3787
do_filp_open+0x1f1/0x430 fs/namei.c:3817
do_sys_openat2+0x15e/0x810 fs/open.c:1343
do_sys_open fs/open.c:1359 [inline]
__do_sys_openat fs/open.c:1375 [inline]
__se_sys_openat fs/open.c:1370 [inline]
__x64_sys_openat+0x136/0x160 fs/open.c:1370
x64_sys_call+0x783/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258
page_owner free stack trace missing
Memory state around the buggy address:
ffff8881170ce200: fc fc fc fc 00 00 00 00 00 00 00 00 00 00 00 00
ffff8881170ce280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc
>ffff8881170ce300: fc fc fc fc fc fc fa fb fb fb fb fb fb fb fb fb
^
ffff8881170ce380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff8881170ce400: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
==================================================================
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3901 at fs/dcache.c:794 fast_dput+0x210/0x290 fs/dcache.c:794
Modules linked in:
CPU: 1 PID: 3901 Comm: syz.1.1081 Tainted: G B W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:fast_dput+0x210/0x290 fs/dcache.c:794
Code: 9f f1 ff e9 46 fe ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 99 fe ff ff 48 89 df e8 6a 9f f1 ff e9 8c fe ff ff e8 e0 69 ac ff <0f> 0b e9 0b ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c e4 fe ff
RSP: 0018:ffffc90010c177d0 EFLAGS: 00010293
RAX: ffffffff81c50200 RBX: ffff8881170ce330 RCX: ffff8881303a9440
RDX: 0000000000000000 RSI: 00000000ffffff80 RDI: 0000000000000001
RBP: ffffc90010c17800 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52002182eec R12: 00000000ffffff80
R13: dffffc0000000000 R14: ffff8881170ce388 R15: 1ffff11022e19c71
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a132faff8 CR3: 000000010ff1e000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
dput+0x21/0x80 fs/dcache.c:905
incfs_free_mount_info+0x60/0x200 fs/incfs/data_mgmt.c:166
incfs_kill_sb+0x1b8/0x220 fs/incfs/vfs.c:2003
deactivate_locked_super+0xb5/0x120 fs/super.c:336
deactivate_super+0xaf/0xe0 fs/super.c:367
cleanup_mnt+0x474/0x500 fs/namespace.c:1192
__cleanup_mnt+0x19/0x20 fs/namespace.c:1199
task_work_run+0x1e1/0x250 kernel/task_work.c:203
exit_task_work include/linux/task_work.h:39 [inline]
do_exit+0xa35/0x2660 kernel/exit.c:886
do_group_exit+0x210/0x2d0 kernel/exit.c:1028
get_signal+0x13b5/0x1520 kernel/signal.c:2891
arch_do_signal_or_restart+0xd1/0x1140 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:288
RIP: 0033:0x7fded2d9c799
Code: Unable to access opcode bytes at 0x7fded2d9c76f.
RSP: 002b:00007fded3b93fd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: 0000000000000000 RBX: 00007fded3015fa0 RCX: 00007fded2d9c799
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fded2e32c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fded3016038 R14: 00007fded3015fa0 R15: 00007ffc7e2bb2e8
---[ end trace 0000000000000000 ]---