R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd3af3ea0
R13: 00007fc75da31ef0 R14: 00005555831e94e8 R15: 00007ffdd3af4f70
---[ end trace 0000000000000000 ]---
==================================================================
BUG: KASAN: use-after-free in fast_dput+0x1e9/0x290 fs/dcache.c:778
Read of size 4 at addr ffff888143d70aa0 by task syz-executor/5300
CPU: 1 PID: 5300 Comm: syz-executor 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:334
deactivate_super+0xaf/0xe0 fs/super.c:365
cleanup_mnt+0x474/0x500 fs/namespace.c:1191
__cleanup_mnt+0x19/0x20 fs/namespace.c:1198
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
__do_sys_exit_group kernel/exit.c:1039 [inline]
__se_sys_exit_group kernel/exit.c:1037 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1037
x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232
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
RIP: 0033:0x7fc75d99c629
Code: Unable to access opcode bytes at 0x7fc75d99c5ff.
RSP: 002b:00007ffdd3af2be8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fc75da31f50 RCX: 00007fc75d99c629
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000009 R08: 0000000000000000 R09: 00007fc75da31ef0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd3af3ea0
R13: 00007fc75da31ef0 R14: 00005555831e94e8 R15: 00007ffdd3af4f70
Allocated by task 5456:
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:1575
do_new_mount+0x25a/0xa20 fs/namespace.c:3078
path_mount+0x659/0xfc0 fs/namespace.c:3408
do_mount fs/namespace.c:3421 [inline]
__do_sys_mount fs/namespace.c:3629 [inline]
__se_sys_mount+0x320/0x390 fs/namespace.c:3606
__x64_sys_mount+0xbf/0xd0 fs/namespace.c:3606
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:334
deactivate_super+0xaf/0xe0 fs/super.c:365
cleanup_mnt+0x474/0x500 fs/namespace.c:1191
__cleanup_mnt+0x19/0x20 fs/namespace.c:1198
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
__do_sys_exit_group kernel/exit.c:1039 [inline]
__se_sys_exit_group kernel/exit.c:1037 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1037
x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232
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
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_rmdir+0x27e/0x6b0 fs/namei.c:4261
__do_sys_rmdir fs/namei.c:4278 [inline]
__se_sys_rmdir fs/namei.c:4276 [inline]
__x64_sys_rmdir+0x49/0x50 fs/namei.c:4276
x64_sys_call+0x68e/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:85
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 ffff888143d70aa0
which belongs to the cache dentry of size 208
The buggy address is located 0 bytes inside of
208-byte region [ffff888143d70aa0, ffff888143d70b70)
The buggy address belongs to the physical page:
page:ffffea00050f5c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x143d70
flags: 0x4000000000000200(slab|zone=1)
raw: 4000000000000200 ffffea0004455880 dead000000000003 ffff8881001ed980
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 0x112cd0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY|__GFP_RECLAIMABLE), pid 285, tgid 285 (syz-executor), ts 122611535861, free_ts 122522095345
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_anon fs/dcache.c:1875 [inline]
d_alloc_cursor+0x41/0xd0 fs/dcache.c:1881
dcache_dir_open+0x3b/0x80 fs/libfs.c:83
do_dentry_open+0x88e/0x1260 fs/open.c:884
vfs_open+0x73/0x80 fs/open.c:1017
do_open fs/namei.c:3633 [inline]
path_openat+0x2700/0x2f80 fs/namei.c:3790
do_filp_open+0x1f1/0x430 fs/namei.c:3817
page last free stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1578 [inline]
free_pcp_prepare mm/page_alloc.c:1652 [inline]
free_unref_page_prepare+0x742/0x750 mm/page_alloc.c:3618
free_unref_page+0x95/0x540 mm/page_alloc.c:3716
free_the_page mm/page_alloc.c:863 [inline]
__free_pages+0x67/0x100 mm/page_alloc.c:5986
__free_slab+0xca/0x1a0 mm/slub.c:2044
free_slab mm/slub.c:2059 [inline]
discard_slab+0x29/0x40 mm/slub.c:2065
__slab_free+0x201/0x280 mm/slub.c:3625
do_slab_free mm/slub.c:3666 [inline]
___cache_free+0xbf/0xd0 mm/slub.c:3722
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0xc6/0x140 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x14a/0x170 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x24/0x80 mm/kasan/common.c:311
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+0x16e/0x330 mm/slub.c:3408
getname_flags+0xb9/0x500 fs/namei.c:139
getname+0x19/0x20 fs/namei.c:218
do_sys_openat2+0xeb/0x810 fs/open.c:1337
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
Memory state around the buggy address:
ffff888143d70980: fc fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888143d70a00: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc
>ffff888143d70a80: fc fc fc fc fa fb fb fb fb fb fb fb fb fb fb fb
^
ffff888143d70b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc
ffff888143d70b80: fc fc fc fc fc fc fa fb fb fb fb fb fb fb fb fb
==================================================================
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5300 at fs/dcache.c:794 fast_dput+0x210/0x290 fs/dcache.c:794
Modules linked in:
CPU: 1 PID: 5300 Comm: syz-executor 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: a0 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 7a a0 f1 ff e9 8c fe ff ff e8 20 6e 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:ffffc9000cc2fad0 EFLAGS: 00010293
RAX: ffffffff81c4fee0 RBX: ffff888143d70aa0 RCX: ffff88811e9f0000
RDX: 0000000000000000 RSI: 00000000ffffff80 RDI: 0000000000000001
RBP: ffffc9000cc2fb00 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001985f4c R12: 00000000ffffff80
R13: dffffc0000000000 R14: ffff888143d70af8 R15: 1ffff110287ae15f
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000008300 CR3: 00000001426b6000 CR4: 00000000003526a0
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:334
deactivate_super+0xaf/0xe0 fs/super.c:365
cleanup_mnt+0x474/0x500 fs/namespace.c:1191
__cleanup_mnt+0x19/0x20 fs/namespace.c:1198
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
__do_sys_exit_group kernel/exit.c:1039 [inline]
__se_sys_exit_group kernel/exit.c:1037 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1037
x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232
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
RIP: 0033:0x7fc75d99c629
Code: Unable to access opcode bytes at 0x7fc75d99c5ff.
RSP: 002b:00007ffdd3af2be8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fc75da31f50 RCX: 00007fc75d99c629
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000009 R08: 0000000000000000 R09: 00007fc75da31ef0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd3af3ea0
R13: 00007fc75da31ef0 R14: 00005555831e94e8 R15: 00007ffdd3af4f70
---[ end trace 0000000000000000 ]---