UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list loop0: detected capacity change from 0 to 32768 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. ================================================================== BUG: KASAN: slab-use-after-free in ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1445 [inline] BUG: KASAN: slab-use-after-free in ocfs2_claim_suballoc_bits+0x10da/0x2570 fs/ocfs2/suballoc.c:1982 Read of size 4 at addr ffff888051a88000 by task syz.0.0/5323 CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted 6.14.0-syzkaller-05877-g1a9239bb4253 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0x16e/0x5b0 mm/kasan/report.c:521 kasan_report+0x143/0x180 mm/kasan/report.c:634 ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1445 [inline] ocfs2_claim_suballoc_bits+0x10da/0x2570 fs/ocfs2/suballoc.c:1982 ocfs2_claim_new_inode+0x344/0x880 fs/ocfs2/suballoc.c:2267 ocfs2_mknod_locked+0x17c/0x3b0 fs/ocfs2/namei.c:634 ocfs2_mknod+0x17d8/0x2b30 fs/ocfs2/namei.c:381 ocfs2_create+0x1ad/0x480 fs/ocfs2/namei.c:673 vfs_create+0x23c/0x3d0 fs/namei.c:3363 do_mknodat+0x407/0x600 fs/namei.c:4243 __do_sys_mknod fs/namei.c:4276 [inline] __se_sys_mknod fs/namei.c:4274 [inline] __x64_sys_mknod+0x8c/0xa0 fs/namei.c:4274 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feb26b8d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007feb278ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007feb26da5fa0 RCX: 00007feb26b8d169 RDX: 0000000000000701 RSI: 0000000000000000 RDI: 0000200000000000 RBP: 00007feb26c0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007feb26da5fa0 R15: 00007ffc9d0f5908 Allocated by task 5305: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x9d/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4318 [inline] __kvmalloc_node_noprof+0x329/0x5a0 mm/slub.c:5003 seq_buf_alloc fs/seq_file.c:38 [inline] seq_read_iter+0x20b/0xda0 fs/seq_file.c:210 new_sync_read fs/read_write.c:489 [inline] vfs_read+0x9a0/0xb90 fs/read_write.c:570 ksys_read+0x19d/0x2d0 fs/read_write.c:713 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 5305: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2376 [inline] slab_free mm/slub.c:4633 [inline] kfree+0x198/0x430 mm/slub.c:4832 seq_release+0x54/0x70 fs/seq_file.c:355 kernfs_fop_release+0x12d/0x190 fs/kernfs/file.c:766 __fput+0x3e9/0x9f0 fs/file_table.c:465 fput_close_sync+0x1ef/0x270 fs/file_table.c:570 __do_sys_close fs/open.c:1581 [inline] __se_sys_close fs/open.c:1566 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1566 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888051a88000 which belongs to the cache kmalloc-cg-4k of size 4096 The buggy address is located 0 bytes inside of freed 4096-byte region [ffff888051a88000, ffff888051a89000) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x51a88 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 ksm flags: 0x4fff00000000040(head|node=1|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 04fff00000000040 ffff88801b04f500 ffffea000079f800 0000000000000003 raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 head: 04fff00000000040 ffff88801b04f500 ffffea000079f800 0000000000000003 head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 head: 04fff00000000003 ffffea000146a201 ffffffffffffffff 0000000000000000 head: 0000000000000008 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5305, tgid 5305 (udevd), ts 66398465110, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551 prep_new_page mm/page_alloc.c:1559 [inline] get_page_from_freelist+0x3695/0x37e0 mm/page_alloc.c:3477 __alloc_frozen_pages_noprof+0x2c5/0x7b0 mm/page_alloc.c:4740 alloc_pages_mpol+0x339/0x690 mm/mempolicy.c:2301 alloc_slab_page mm/slub.c:2446 [inline] allocate_slab+0x8f/0x3a0 mm/slub.c:2610 new_slab mm/slub.c:2663 [inline] ___slab_alloc+0xc3b/0x1500 mm/slub.c:3849 __slab_alloc+0x58/0xa0 mm/slub.c:3939 __slab_alloc_node mm/slub.c:4014 [inline] slab_alloc_node mm/slub.c:4175 [inline] __do_kmalloc_node mm/slub.c:4317 [inline] __kvmalloc_node_noprof+0x3f4/0x5a0 mm/slub.c:5003 seq_buf_alloc fs/seq_file.c:38 [inline] seq_read_iter+0x20b/0xda0 fs/seq_file.c:210 new_sync_read fs/read_write.c:489 [inline] vfs_read+0x9a0/0xb90 fs/read_write.c:570 ksys_read+0x19d/0x2d0 fs/read_write.c:713 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page_owner free stack trace missing Memory state around the buggy address: ffff888051a87f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888051a87f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888051a88000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888051a88080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888051a88100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================