================================================================== BUG: KASAN: slab-use-after-free in write_special_inodes+0x170/0x1b0 fs/jfs/jfs_logmgr.c:206 Read of size 8 at addr ffff88807fa182b0 by task syz-executor/5639 CPU: 0 UID: 0 PID: 5639 Comm: syz-executor Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 write_special_inodes+0x170/0x1b0 fs/jfs/jfs_logmgr.c:206 jfs_flush_journal+0x4f8/0x8c0 fs/jfs/jfs_logmgr.c:1579 jfs_umount+0x17a/0x430 fs/jfs/jfs_umount.c:59 jfs_put_super+0x88/0x1a0 fs/jfs/super.c:194 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbbf79a0797 Code: a2 c7 05 5c 9f 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc308b3ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fbbf7a35f63 RCX: 00007fbbf79a0797 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc308b3da0 RBP: 00007ffc308b3da0 R08: 00007ffc308b4da0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc308b4e30 R13: 00007fbbf7a35f63 R14: 0000000000078b5a R15: 00007ffc308b4e70 Allocated by task 12437: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x2f8/0x6d0 mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] jfs_fill_super+0xca/0xf70 fs/jfs/super.c:452 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1883 vfs_get_tree+0x92/0x320 fs/super.c:1943 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount fs/namespace.c:3986 [inline] path_mount+0x7d0/0x2850 fs/namespace.c:4337 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount fs/namespace.c:4542 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 9280: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kfree+0x22b/0x6d0 mm/slub.c:6923 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88807fa18200 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 176 bytes inside of freed 256-byte region [ffff88807fa18200, ffff88807fa18300) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7fa18 head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88813ff07b40 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88813ff07b40 dead000000000100 dead000000000122 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5980, tgid 5980 (syz-executor), ts 116072222775 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1856 prep_new_page mm/page_alloc.c:1864 [inline] get_page_from_freelist+0x1113/0x35e0 mm/page_alloc.c:3935 __alloc_frozen_pages_noprof+0x2bd/0x3280 mm/page_alloc.c:5444 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab mm/slub.c:3499 [inline] new_slab+0xb1/0x6d0 mm/slub.c:3550 refill_objects+0xe3/0x410 mm/slub.c:7539 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] __do_kmalloc_node mm/slub.c:5530 [inline] __kmalloc_noprof+0x677/0x840 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kmalloc_array_noprof include/linux/slab.h:1211 [inline] security_inode_init_security+0x113/0x370 security/security.c:1361 shmem_symlink+0x163/0xbf0 mm/shmem.c:4269 vfs_symlink fs/namei.c:5806 [inline] vfs_symlink+0x17b/0x4e0 fs/namei.c:5785 filename_symlinkat+0x2a6/0x560 fs/namei.c:5831 __do_sys_symlinkat fs/namei.c:5851 [inline] __se_sys_symlinkat fs/namei.c:5846 [inline] __x64_sys_symlinkat+0x9c/0xe0 fs/namei.c:5846 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 15 tgid 15 ts 115938652640 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] __free_frozen_pages+0x7b4/0x1110 mm/page_alloc.c:2954 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x5f0/0x1220 kernel/rcu/tree.c:2919 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 run_ksoftirqd kernel/softirq.c:1133 [inline] run_ksoftirqd+0x38/0x60 kernel/softirq.c:1125 smpboot_thread_fn+0x41f/0xb90 kernel/smpboot.c:162 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Memory state around the buggy address: ffff88807fa18180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807fa18200: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88807fa18280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88807fa18300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807fa18380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ================================================================== BUG: KASAN: slab-use-after-free in write_special_inodes+0x195/0x1b0 fs/jfs/jfs_logmgr.c:207 Read of size 8 at addr ffff88804651e590 by task syz-executor/5639 CPU: 1 UID: 0 PID: 5639 Comm: syz-executor Tainted: G B L syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 write_special_inodes+0x195/0x1b0 fs/jfs/jfs_logmgr.c:207 jfs_flush_journal+0x4f8/0x8c0 fs/jfs/jfs_logmgr.c:1579 jfs_umount+0x17a/0x430 fs/jfs/jfs_umount.c:59 jfs_put_super+0x88/0x1a0 fs/jfs/super.c:194 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbbf79a0797 Code: a2 c7 05 5c 9f 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc308b3ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fbbf7a35f63 RCX: 00007fbbf79a0797 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc308b3da0 RBP: 00007ffc308b3da0 R08: 00007ffc308b4da0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc308b4e30 R13: 00007fbbf7a35f63 R14: 0000000000078b5a R15: 00007ffc308b4e70 Allocated by task 12437: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:351 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:377 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:5033 [inline] kmem_cache_alloc_lru_noprof+0x265/0x6a0 mm/slub.c:5066 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x68/0x250 fs/inode.c:338 new_inode+0x22/0x1c0 fs/inode.c:1170 jfs_fill_super+0x6c2/0xf70 fs/jfs/super.c:512 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1883 vfs_get_tree+0x92/0x320 fs/super.c:1943 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount fs/namespace.c:3986 [inline] path_mount+0x7d0/0x2850 fs/namespace.c:4337 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount fs/namespace.c:4542 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 32: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kmem_cache_free+0x127/0x6c0 mm/slub.c:6757 i_callback+0x46/0x80 fs/inode.c:317 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x5f0/0x1220 kernel/rcu/tree.c:2919 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Last potentially related work creation: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556 __call_rcu_common.constprop.0+0x7b/0x2b0 kernel/rcu/tree.c:3287 destroy_inode+0x134/0x1c0 fs/inode.c:392 evict+0x599/0xad0 fs/inode.c:846 iput_final fs/inode.c:2014 [inline] iput.part.0+0x989/0x1050 fs/inode.c:2063 iput+0x30/0x40 fs/inode.c:2029 jfs_put_super+0x159/0x1a0 fs/jfs/super.c:201 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88804651e148 which belongs to the cache jfs_ip of size 2136 The buggy address is located 1096 bytes inside of freed 2136-byte region [ffff88804651e148, ffff88804651e9a0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888046518000 pfn:0x46518 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88804651fbd1 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff888140428640 ffff888020b7b648 ffffea0001194410 raw: ffff888046518000 00000002000e000a 00000000f5000000 ffff88804651fbd1 head: 00fff00000000240 ffff888140428640 ffff888020b7b648 ffffea0001194410 head: ffff888046518000 00000002000e000a 00000000f5000000 ffff88804651fbd1 head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Reclaimable, gfp_mask 0xd2050(__GFP_RECLAIMABLE|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 12437, tgid 12434 (syz.6.2820), ts 490970766068 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1856 prep_new_page mm/page_alloc.c:1864 [inline] get_page_from_freelist+0x1113/0x35e0 mm/page_alloc.c:3935 __alloc_frozen_pages_noprof+0x2bd/0x3280 mm/page_alloc.c:5444 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab mm/slub.c:3499 [inline] new_slab+0xb1/0x6d0 mm/slub.c:3550 refill_objects+0xe3/0x410 mm/slub.c:7539 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] kmem_cache_alloc_lru_noprof+0x4bb/0x6a0 mm/slub.c:5066 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x68/0x250 fs/inode.c:338 new_inode+0x22/0x1c0 fs/inode.c:1170 jfs_fill_super+0x6c2/0xf70 fs/jfs/super.c:512 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1883 vfs_get_tree+0x92/0x320 fs/super.c:1943 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount fs/namespace.c:3986 [inline] path_mount+0x7d0/0x2850 fs/namespace.c:4337 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount fs/namespace.c:4542 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 page last free pid 7762 tgid 7761 ts 221604799572 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] free_pages_prepare+0x586/0xe00 mm/page_alloc.c:1448 __free_contig_range_common+0x14f/0x250 mm/page_alloc.c:7062 __free_contig_range mm/page_alloc.c:7107 [inline] free_pages_bulk+0xbd/0x1f0 mm/page_alloc.c:5330 vm_area_free_pages+0xb2/0x2a0 mm/vmalloc.c:3498 vfree mm/vmalloc.c:3547 [inline] vfree+0xfc/0x850 mm/vmalloc.c:3521 do_replace_finish+0x631/0x20d0 net/bridge/netfilter/ebtables.c:1106 do_replace+0x2f5/0x490 net/bridge/netfilter/ebtables.c:1157 do_ebt_set_ctl+0x55a/0x670 net/bridge/netfilter/ebtables.c:2573 nf_setsockopt+0x8d/0xf0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0xcb/0xf0 net/ipv4/ip_sockglue.c:1424 udp_setsockopt+0x64/0xb0 net/ipv4/udp.c:3041 do_sock_setsockopt+0xf3/0x1d0 net/socket.c:2399 __sys_setsockopt+0x195/0x220 net/socket.c:2424 __do_sys_setsockopt net/socket.c:2430 [inline] __se_sys_setsockopt net/socket.c:2427 [inline] __x64_sys_setsockopt+0xbd/0x160 net/socket.c:2427 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88804651e480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88804651e500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88804651e580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88804651e600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88804651e680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: slab-use-after-free in mapping_can_writeback include/linux/backing-dev.h:134 [inline] BUG: KASAN: slab-use-after-free in filemap_writeback+0x29c/0x2e0 mm/filemap.c:382 Read of size 8 at addr ffff88804651e778 by task syz-executor/5639 CPU: 0 UID: 0 PID: 5639 Comm: syz-executor Tainted: G B L syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 mapping_can_writeback include/linux/backing-dev.h:134 [inline] filemap_writeback+0x29c/0x2e0 mm/filemap.c:382 write_special_inodes+0x121/0x1b0 fs/jfs/jfs_logmgr.c:207 jfs_flush_journal+0x4f8/0x8c0 fs/jfs/jfs_logmgr.c:1579 jfs_umount+0x17a/0x430 fs/jfs/jfs_umount.c:59 jfs_put_super+0x88/0x1a0 fs/jfs/super.c:194 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbbf79a0797 Code: a2 c7 05 5c 9f 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc308b3ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fbbf7a35f63 RCX: 00007fbbf79a0797 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc308b3da0 RBP: 00007ffc308b3da0 R08: 00007ffc308b4da0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc308b4e30 R13: 00007fbbf7a35f63 R14: 0000000000078b5a R15: 00007ffc308b4e70 Allocated by task 12437: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:351 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:377 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:5033 [inline] kmem_cache_alloc_lru_noprof+0x265/0x6a0 mm/slub.c:5066 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x68/0x250 fs/inode.c:338 new_inode+0x22/0x1c0 fs/inode.c:1170 jfs_fill_super+0x6c2/0xf70 fs/jfs/super.c:512 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1883 vfs_get_tree+0x92/0x320 fs/super.c:1943 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount fs/namespace.c:3986 [inline] path_mount+0x7d0/0x2850 fs/namespace.c:4337 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount fs/namespace.c:4542 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 32: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kmem_cache_free+0x127/0x6c0 mm/slub.c:6757 i_callback+0x46/0x80 fs/inode.c:317 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x5f0/0x1220 kernel/rcu/tree.c:2919 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Last potentially related work creation: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556 __call_rcu_common.constprop.0+0x7b/0x2b0 kernel/rcu/tree.c:3287 destroy_inode+0x134/0x1c0 fs/inode.c:392 evict+0x599/0xad0 fs/inode.c:846 iput_final fs/inode.c:2014 [inline] iput.part.0+0x989/0x1050 fs/inode.c:2063 iput+0x30/0x40 fs/inode.c:2029 jfs_put_super+0x159/0x1a0 fs/jfs/super.c:201 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88804651e148 which belongs to the cache jfs_ip of size 2136 The buggy address is located 1584 bytes inside of freed 2136-byte region [ffff88804651e148, ffff88804651e9a0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888046518000 pfn:0x46518 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88804651fbd1 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff888140428640 ffff888020b7b648 ffffea0001194410 raw: ffff888046518000 00000002000e000a 00000000f5000000 ffff88804651fbd1 head: 00fff00000000240 ffff888140428640 ffff888020b7b648 ffffea0001194410 head: ffff888046518000 00000002000e000a 00000000f5000000 ffff88804651fbd1 head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Reclaimable, gfp_mask 0xd2050(__GFP_RECLAIMABLE|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 12437, tgid 12434 (syz.6.2820), ts 490970766068 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1856 prep_new_page mm/page_alloc.c:1864 [inline] get_page_from_freelist+0x1113/0x35e0 mm/page_alloc.c:3935 __alloc_frozen_pages_noprof+0x2bd/0x3280 mm/page_alloc.c:5444 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab mm/slub.c:3499 [inline] new_slab+0xb1/0x6d0 mm/slub.c:3550 refill_objects+0xe3/0x410 mm/slub.c:7539 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] kmem_cache_alloc_lru_noprof+0x4bb/0x6a0 mm/slub.c:5066 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x68/0x250 fs/inode.c:338 new_inode+0x22/0x1c0 fs/inode.c:1170 jfs_fill_super+0x6c2/0xf70 fs/jfs/super.c:512 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1883 vfs_get_tree+0x92/0x320 fs/super.c:1943 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount fs/namespace.c:3986 [inline] path_mount+0x7d0/0x2850 fs/namespace.c:4337 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount fs/namespace.c:4542 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 page last free pid 7762 tgid 7761 ts 221604799572 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] free_pages_prepare+0x586/0xe00 mm/page_alloc.c:1448 __free_contig_range_common+0x14f/0x250 mm/page_alloc.c:7062 __free_contig_range mm/page_alloc.c:7107 [inline] free_pages_bulk+0xbd/0x1f0 mm/page_alloc.c:5330 vm_area_free_pages+0xb2/0x2a0 mm/vmalloc.c:3498 vfree mm/vmalloc.c:3547 [inline] vfree+0xfc/0x850 mm/vmalloc.c:3521 do_replace_finish+0x631/0x20d0 net/bridge/netfilter/ebtables.c:1106 do_replace+0x2f5/0x490 net/bridge/netfilter/ebtables.c:1157 do_ebt_set_ctl+0x55a/0x670 net/bridge/netfilter/ebtables.c:2573 nf_setsockopt+0x8d/0xf0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0xcb/0xf0 net/ipv4/ip_sockglue.c:1424 udp_setsockopt+0x64/0xb0 net/ipv4/udp.c:3041 do_sock_setsockopt+0xf3/0x1d0 net/socket.c:2399 __sys_setsockopt+0x195/0x220 net/socket.c:2424 __do_sys_setsockopt net/socket.c:2430 [inline] __se_sys_setsockopt net/socket.c:2427 [inline] __x64_sys_setsockopt+0xbd/0x160 net/socket.c:2427 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88804651e600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88804651e680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88804651e700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88804651e780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88804651e800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: slab-use-after-free in inode_to_bdi+0x139/0x160 mm/backing-dev.c:1210 Read of size 8 at addr ffff88804651e588 by task syz-executor/5639 CPU: 1 UID: 0 PID: 5639 Comm: syz-executor Tainted: G B L syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 inode_to_bdi+0x139/0x160 mm/backing-dev.c:1210 mapping_can_writeback include/linux/backing-dev.h:134 [inline] filemap_writeback+0x118/0x2e0 mm/filemap.c:382 write_special_inodes+0x121/0x1b0 fs/jfs/jfs_logmgr.c:207 jfs_flush_journal+0x4f8/0x8c0 fs/jfs/jfs_logmgr.c:1579 jfs_umount+0x17a/0x430 fs/jfs/jfs_umount.c:59 jfs_put_super+0x88/0x1a0 fs/jfs/super.c:194 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbbf79a0797 Code: a2 c7 05 5c 9f 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc308b3ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fbbf7a35f63 RCX: 00007fbbf79a0797 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc308b3da0 RBP: 00007ffc308b3da0 R08: 00007ffc308b4da0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc308b4e30 R13: 00007fbbf7a35f63 R14: 0000000000078b5a R15: 00007ffc308b4e70 Allocated by task 12437: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:351 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:377 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:5033 [inline] kmem_cache_alloc_lru_noprof+0x265/0x6a0 mm/slub.c:5066 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x68/0x250 fs/inode.c:338 new_inode+0x22/0x1c0 fs/inode.c:1170 jfs_fill_super+0x6c2/0xf70 fs/jfs/super.c:512 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1883 vfs_get_tree+0x92/0x320 fs/super.c:1943 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount fs/namespace.c:3986 [inline] path_mount+0x7d0/0x2850 fs/namespace.c:4337 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount fs/namespace.c:4542 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 32: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kmem_cache_free+0x127/0x6c0 mm/slub.c:6757 i_callback+0x46/0x80 fs/inode.c:317 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x5f0/0x1220 kernel/rcu/tree.c:2919 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Last potentially related work creation: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556 __call_rcu_common.constprop.0+0x7b/0x2b0 kernel/rcu/tree.c:3287 destroy_inode+0x134/0x1c0 fs/inode.c:392 evict+0x599/0xad0 fs/inode.c:846 iput_final fs/inode.c:2014 [inline] iput.part.0+0x989/0x1050 fs/inode.c:2063 iput+0x30/0x40 fs/inode.c:2029 jfs_put_super+0x159/0x1a0 fs/jfs/super.c:201 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88804651e148 which belongs to the cache jfs_ip of size 2136 The buggy address is located 1088 bytes inside of freed 2136-byte region [ffff88804651e148, ffff88804651e9a0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888046518000 pfn:0x46518 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88804651fbd1 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff888140428640 ffff888020b7b648 ffffea0001194410 raw: ffff888046518000 00000002000e000a 00000000f5000000 ffff88804651fbd1 head: 00fff00000000240 ffff888140428640 ffff888020b7b648 ffffea0001194410 head: ffff888046518000 00000002000e000a 00000000f5000000 ffff88804651fbd1 head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Reclaimable, gfp_mask 0xd2050(__GFP_RECLAIMABLE|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 12437, tgid 12434 (syz.6.2820), ts 490970766068 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1856 prep_new_page mm/page_alloc.c:1864 [inline] get_page_from_freelist+0x1113/0x35e0 mm/page_alloc.c:3935 __alloc_frozen_pages_noprof+0x2bd/0x3280 mm/page_alloc.c:5444 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab mm/slub.c:3499 [inline] new_slab+0xb1/0x6d0 mm/slub.c:3550 refill_objects+0xe3/0x410 mm/slub.c:7539 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] kmem_cache_alloc_lru_noprof+0x4bb/0x6a0 mm/slub.c:5066 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x68/0x250 fs/inode.c:338 new_inode+0x22/0x1c0 fs/inode.c:1170 jfs_fill_super+0x6c2/0xf70 fs/jfs/super.c:512 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1883 vfs_get_tree+0x92/0x320 fs/super.c:1943 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount fs/namespace.c:3986 [inline] path_mount+0x7d0/0x2850 fs/namespace.c:4337 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount fs/namespace.c:4542 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 page last free pid 7762 tgid 7761 ts 221604799572 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] free_pages_prepare+0x586/0xe00 mm/page_alloc.c:1448 __free_contig_range_common+0x14f/0x250 mm/page_alloc.c:7062 __free_contig_range mm/page_alloc.c:7107 [inline] free_pages_bulk+0xbd/0x1f0 mm/page_alloc.c:5330 vm_area_free_pages+0xb2/0x2a0 mm/vmalloc.c:3498 vfree mm/vmalloc.c:3547 [inline] vfree+0xfc/0x850 mm/vmalloc.c:3521 do_replace_finish+0x631/0x20d0 net/bridge/netfilter/ebtables.c:1106 do_replace+0x2f5/0x490 net/bridge/netfilter/ebtables.c:1157 do_ebt_set_ctl+0x55a/0x670 net/bridge/netfilter/ebtables.c:2573 nf_setsockopt+0x8d/0xf0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0xcb/0xf0 net/ipv4/ip_sockglue.c:1424 udp_setsockopt+0x64/0xb0 net/ipv4/udp.c:3041 do_sock_setsockopt+0xf3/0x1d0 net/socket.c:2399 __sys_setsockopt+0x195/0x220 net/socket.c:2424 __do_sys_setsockopt net/socket.c:2430 [inline] __se_sys_setsockopt net/socket.c:2427 [inline] __x64_sys_setsockopt+0xbd/0x160 net/socket.c:2427 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88804651e480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88804651e500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88804651e580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88804651e600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88804651e680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: slab-use-after-free in inode_to_bdi+0x11e/0x160 mm/backing-dev.c:1215 Read of size 8 at addr ffff888036f881b0 by task syz-executor/5639 CPU: 1 UID: 0 PID: 5639 Comm: syz-executor Tainted: G B L syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 inode_to_bdi+0x11e/0x160 mm/backing-dev.c:1215 mapping_can_writeback include/linux/backing-dev.h:134 [inline] filemap_writeback+0x118/0x2e0 mm/filemap.c:382 write_special_inodes+0x121/0x1b0 fs/jfs/jfs_logmgr.c:207 jfs_flush_journal+0x4f8/0x8c0 fs/jfs/jfs_logmgr.c:1579 jfs_umount+0x17a/0x430 fs/jfs/jfs_umount.c:59 jfs_put_super+0x88/0x1a0 fs/jfs/super.c:194 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbbf79a0797 Code: a2 c7 05 5c 9f 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc308b3ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fbbf7a35f63 RCX: 00007fbbf79a0797 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc308b3da0 RBP: 00007ffc308b3da0 R08: 00007ffc308b4da0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc308b4e30 R13: 00007fbbf7a35f63 R14: 0000000000078b5a R15: 00007ffc308b4e70 Allocated by task 12437: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x2f8/0x6d0 mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] alloc_super fs/super.c:326 [inline] sget_fc+0x1ba/0x1f60 fs/super.c:874 sget_dev fs/super.c:1482 [inline] get_tree_bdev_flags+0x1ba/0x620 fs/super.c:1869 vfs_get_tree+0x92/0x320 fs/super.c:1943 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount fs/namespace.c:3986 [inline] path_mount+0x7d0/0x2850 fs/namespace.c:4337 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount fs/namespace.c:4542 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 5798: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kfree+0x22b/0x6d0 mm/slub.c:6923 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Last potentially related work creation: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556 insert_work+0x36/0x230 kernel/workqueue.c:2356 __queue_work+0xac1/0x16f0 kernel/workqueue.c:2546 queue_work_on+0x180/0x1e0 kernel/workqueue.c:2599 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x5f0/0x1220 kernel/rcu/tree.c:2919 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Second to last potentially related work creation: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_record_aux_stack+0xa7/0xc0 mm/kasan/generic.c:556 __call_rcu_common.constprop.0+0x7b/0x2b0 kernel/rcu/tree.c:3287 put_super fs/super.c:432 [inline] put_super+0x30e/0x420 fs/super.c:419 deactivate_locked_super+0xe5/0x130 fs/super.c:594 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888036f88000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 432 bytes inside of freed 4096-byte region [ffff888036f88000, ffff888036f89000) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x36f88 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88813ff0c140 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000040004 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88813ff0c140 dead000000000100 dead000000000122 head: 0000000000000000 0000000000040004 00000000f5000000 0000000000000000 head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 11418, tgid 11418 (syz-executor), ts 435239915625 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1856 prep_new_page mm/page_alloc.c:1864 [inline] get_page_from_freelist+0x1113/0x35e0 mm/page_alloc.c:3935 __alloc_frozen_pages_noprof+0x2bd/0x3280 mm/page_alloc.c:5444 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab mm/slub.c:3499 [inline] new_slab+0xb1/0x6d0 mm/slub.c:3550 refill_objects+0xe3/0x410 mm/slub.c:7539 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] __do_kmalloc_node mm/slub.c:5530 [inline] __kmalloc_noprof+0x677/0x840 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] tomoyo_realpath_from_path+0xb6/0x690 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x276/0x460 security/tomoyo/file.c:827 tomoyo_path_symlink+0x97/0xe0 security/tomoyo/tomoyo.c:212 security_path_symlink+0x152/0x2d0 security/security.c:1516 filename_symlinkat+0x122/0x560 fs/namei.c:5829 __do_sys_symlinkat fs/namei.c:5851 [inline] __se_sys_symlinkat fs/namei.c:5846 [inline] __x64_sys_symlinkat+0x9c/0xe0 fs/namei.c:5846 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 11366 tgid 11366 ts 432797666749 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] __free_frozen_pages+0x7b4/0x1110 mm/page_alloc.c:2954 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x8a/0xb0 mm/kasan/common.c:417 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5531 [inline] __kmalloc_noprof+0x32f/0x840 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] tomoyo_encode2+0xfb/0x3c0 security/tomoyo/realpath.c:45 tomoyo_encode+0x29/0x50 security/tomoyo/realpath.c:80 tomoyo_path_perm+0x3a7/0x460 security/tomoyo/file.c:836 tomoyo_path_symlink+0x97/0xe0 security/tomoyo/tomoyo.c:212 security_path_symlink+0x152/0x2d0 security/security.c:1516 filename_symlinkat+0x122/0x560 fs/namei.c:5829 __do_sys_symlinkat fs/namei.c:5851 [inline] __se_sys_symlinkat fs/namei.c:5846 [inline] __x64_sys_symlinkat+0x9c/0xe0 fs/namei.c:5846 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff888036f88080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888036f88100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888036f88180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888036f88200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888036f88280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: slab-use-after-free in write_special_inodes+0x169/0x1b0 fs/jfs/jfs_logmgr.c:200 Read of size 8 at addr ffff88807fa18238 by task syz-executor/5639 CPU: 1 UID: 0 PID: 5639 Comm: syz-executor Tainted: G B L syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 write_special_inodes+0x169/0x1b0 fs/jfs/jfs_logmgr.c:200 jfs_flush_journal+0x4f8/0x8c0 fs/jfs/jfs_logmgr.c:1579 jfs_umount+0x17a/0x430 fs/jfs/jfs_umount.c:59 jfs_put_super+0x88/0x1a0 fs/jfs/super.c:194 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbbf79a0797 Code: a2 c7 05 5c 9f 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc308b3ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fbbf7a35f63 RCX: 00007fbbf79a0797 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc308b3da0 RBP: 00007ffc308b3da0 R08: 00007ffc308b4da0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc308b4e30 R13: 00007fbbf7a35f63 R14: 0000000000078b5a R15: 00007ffc308b4e70 Allocated by task 12437: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x2f8/0x6d0 mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] jfs_fill_super+0xca/0xf70 fs/jfs/super.c:452 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1883 vfs_get_tree+0x92/0x320 fs/super.c:1943 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount fs/namespace.c:3986 [inline] path_mount+0x7d0/0x2850 fs/namespace.c:4337 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4565 [inline] __se_sys_mount fs/namespace.c:4542 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4542 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 9280: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kfree+0x22b/0x6d0 mm/slub.c:6923 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88807fa18200 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 56 bytes inside of freed 256-byte region [ffff88807fa18200, ffff88807fa18300) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7fa18 head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88813ff07b40 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88813ff07b40 dead000000000100 dead000000000122 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000001 ffffffffffffff81 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5980, tgid 5980 (syz-executor), ts 116072222775 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1856 prep_new_page mm/page_alloc.c:1864 [inline] get_page_from_freelist+0x1113/0x35e0 mm/page_alloc.c:3935 __alloc_frozen_pages_noprof+0x2bd/0x3280 mm/page_alloc.c:5444 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab mm/slub.c:3499 [inline] new_slab+0xb1/0x6d0 mm/slub.c:3550 refill_objects+0xe3/0x410 mm/slub.c:7539 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] __do_kmalloc_node mm/slub.c:5530 [inline] __kmalloc_noprof+0x677/0x840 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kmalloc_array_noprof include/linux/slab.h:1211 [inline] security_inode_init_security+0x113/0x370 security/security.c:1361 shmem_symlink+0x163/0xbf0 mm/shmem.c:4269 vfs_symlink fs/namei.c:5806 [inline] vfs_symlink+0x17b/0x4e0 fs/namei.c:5785 filename_symlinkat+0x2a6/0x560 fs/namei.c:5831 __do_sys_symlinkat fs/namei.c:5851 [inline] __se_sys_symlinkat fs/namei.c:5846 [inline] __x64_sys_symlinkat+0x9c/0xe0 fs/namei.c:5846 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 15 tgid 15 ts 115938652640 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] __free_frozen_pages+0x7b4/0x1110 mm/page_alloc.c:2954 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x5f0/0x1220 kernel/rcu/tree.c:2919 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 run_ksoftirqd kernel/softirq.c:1133 [inline] run_ksoftirqd+0x38/0x60 kernel/softirq.c:1125 smpboot_thread_fn+0x41f/0xb90 kernel/smpboot.c:162 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Memory state around the buggy address: ffff88807fa18100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807fa18180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88807fa18200: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88807fa18280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88807fa18300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== Oops: general protection fault, probably for non-canonical address 0xfbd59c000000001b: 0000 [#1] SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0xdead0000000000d8-0xdead0000000000df] CPU: 1 UID: 0 PID: 5639 Comm: syz-executor Tainted: G B L syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 RIP: 0010:write_special_inodes+0x58/0x1b0 fs/jfs/jfs_logmgr.c:202 Code: 49 8b 06 48 8d 58 c8 49 39 c6 0f 84 0a 01 00 00 48 bd 00 00 00 00 00 fc ff df e8 f3 f2 47 fe 48 8d 7b 10 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 f8 00 00 00 4c 8b 63 10 4d 85 e4 74 26 e8 d0 f2 RSP: 0018:ffffc900043e7bc0 EFLAGS: 00010216 RAX: 1bd5a0000000001b RBX: dead0000000000c8 RCX: 0000000000000000 RDX: ffff88807ffbbe80 RSI: ffffffff83c63eed RDI: dead0000000000d8 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff95bd9b27 R11: 0000000000000000 R12: ffff88804651e560 R13: ffffffff82521330 R14: ffff8880516bf800 R15: 1ffff1100a2d7f44 FS: 000055557478a500(0000) GS:ffff88812258e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055fc6d9e9008 CR3: 000000005a79c000 CR4: 0000000000350ef0 Call Trace: jfs_flush_journal+0x4f8/0x8c0 fs/jfs/jfs_logmgr.c:1579 jfs_umount+0x17a/0x430 fs/jfs/jfs_umount.c:59 jfs_put_super+0x88/0x1a0 fs/jfs/super.c:194 generic_shutdown_super+0x167/0x360 fs/super.c:751 kill_block_super+0x3b/0xa0 fs/super.c:1914 deactivate_locked_super+0xbd/0x130 fs/super.c:586 deactivate_super fs/super.c:614 [inline] deactivate_super+0xea/0x110 fs/super.c:610 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbbf79a0797 Code: a2 c7 05 5c 9f 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc308b3ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fbbf7a35f63 RCX: 00007fbbf79a0797 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc308b3da0 RBP: 00007ffc308b3da0 R08: 00007ffc308b4da0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc308b4e30 R13: 00007fbbf7a35f63 R14: 0000000000078b5a R15: 00007ffc308b4e70 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:write_special_inodes+0x58/0x1b0 fs/jfs/jfs_logmgr.c:202 Code: 49 8b 06 48 8d 58 c8 49 39 c6 0f 84 0a 01 00 00 48 bd 00 00 00 00 00 fc ff df e8 f3 f2 47 fe 48 8d 7b 10 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 f8 00 00 00 4c 8b 63 10 4d 85 e4 74 26 e8 d0 f2 RSP: 0018:ffffc900043e7bc0 EFLAGS: 00010216 RAX: 1bd5a0000000001b RBX: dead0000000000c8 RCX: 0000000000000000 RDX: ffff88807ffbbe80 RSI: ffffffff83c63eed RDI: dead0000000000d8 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff95bd9b27 R11: 0000000000000000 R12: ffff88804651e560 R13: ffffffff82521330 R14: ffff8880516bf800 R15: 1ffff1100a2d7f44 FS: 000055557478a500(0000) GS:ffff88812248e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08fe767000 CR3: 000000005a79c000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 49 8b 06 mov (%r14),%rax 3: 48 8d 58 c8 lea -0x38(%rax),%rbx 7: 49 39 c6 cmp %rax,%r14 a: 0f 84 0a 01 00 00 je 0x11a 10: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp 17: fc ff df 1a: e8 f3 f2 47 fe call 0xfe47f312 1f: 48 8d 7b 10 lea 0x10(%rbx),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction 2e: 0f 85 f8 00 00 00 jne 0x12c 34: 4c 8b 63 10 mov 0x10(%rbx),%r12 38: 4d 85 e4 test %r12,%r12 3b: 74 26 je 0x63 3d: e8 .byte 0xe8 3e: d0 f2 shl $1,%dl