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. ======================================================= ================================================================== BUG: KASAN: slab-out-of-bounds in udf_close_lvid+0x6a4/0x9a0 fs/udf/super.c:2073 Write of size 1 at addr ffff88807d5161d8 by task syz-executor205/3544 CPU: 0 PID: 3544 Comm: syz-executor205 Not tainted 6.1.53-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x15f/0x4f0 mm/kasan/report.c:395 kasan_report+0x136/0x160 mm/kasan/report.c:495 udf_close_lvid+0x6a4/0x9a0 fs/udf/super.c:2073 udf_put_super+0xc9/0x160 fs/udf/super.c:2360 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7a/0xe0 fs/super.c:1459 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x6fb/0x2300 kernel/exit.c:869 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 __do_sys_exit_group kernel/exit.c:1030 [inline] __se_sys_exit_group kernel/exit.c:1028 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1028 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2773560e89 Code: Unable to access opcode bytes at 0x7f2773560e5f. RSP: 002b:00007ffeb9ff34f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f2773560e89 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 00007f277360a390 R08: ffffffffffffffb0 R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 00007f277360a390 R13: 0000000000000000 R14: 00007f277360c160 R15: 00007f277352b800 Allocated by task 3219: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0x97/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:955 [inline] __kmalloc_node_track_caller+0xb1/0x220 mm/slab_common.c:975 kmalloc_reserve net/core/skbuff.c:437 [inline] __alloc_skb+0x130/0x620 net/core/skbuff.c:510 alloc_skb include/linux/skbuff.h:1268 [inline] netlink_dump+0x1ed/0xc50 net/netlink/af_netlink.c:2227 netlink_recvmsg+0x698/0x1190 net/netlink/af_netlink.c:1985 ____sys_recvmsg+0x285/0x530 ___sys_recvmsg net/socket.c:2743 [inline] __sys_recvmsg+0x2e9/0x3d0 net/socket.c:2773 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Freed by task 3219: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] __kmem_cache_free+0x25c/0x3c0 mm/slub.c:3674 skb_free_head net/core/skbuff.c:760 [inline] skb_release_data+0x5de/0x7a0 net/core/skbuff.c:789 skb_release_all net/core/skbuff.c:854 [inline] __kfree_skb net/core/skbuff.c:868 [inline] consume_skb+0xa3/0x140 net/core/skbuff.c:1033 netlink_recvmsg+0x5ea/0x1190 net/netlink/af_netlink.c:1981 ____sys_recvmsg+0x285/0x530 ___sys_recvmsg net/socket.c:2743 [inline] __sys_recvmsg+0x2e9/0x3d0 net/socket.c:2773 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd The buggy address belongs to the object at ffff88807d514000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 472 bytes to the right of 8192-byte region [ffff88807d514000, ffff88807d516000) The buggy address belongs to the physical page: page:ffffea0001f54400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7d510 head:ffffea0001f54400 order:3 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000122 ffff888012442280 raw: 0000000000000000 0000000000020002 00000001ffffffff 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 0xd28c0(GFP_NOWAIT|__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 3219, tgid 3219 (dhcpcd), ts 29528012993, free_ts 29495662073 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2533 prep_new_page mm/page_alloc.c:2540 [inline] get_page_from_freelist+0x32ed/0x3480 mm/page_alloc.c:4292 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5559 alloc_slab_page+0x6a/0x150 mm/slub.c:1794 allocate_slab mm/slub.c:1939 [inline] new_slab+0x84/0x2d0 mm/slub.c:1992 ___slab_alloc+0xa71/0x1080 mm/slub.c:3180 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] __kmem_cache_alloc_node+0x19f/0x260 mm/slub.c:3437 __do_kmalloc_node mm/slab_common.c:954 [inline] __kmalloc_node_track_caller+0xa0/0x220 mm/slab_common.c:975 kmalloc_reserve net/core/skbuff.c:437 [inline] __alloc_skb+0x130/0x620 net/core/skbuff.c:510 alloc_skb include/linux/skbuff.h:1268 [inline] netlink_dump+0x1ed/0xc50 net/netlink/af_netlink.c:2227 netlink_recvmsg+0x698/0x1190 net/netlink/af_netlink.c:1985 ____sys_recvmsg+0x285/0x530 ___sys_recvmsg net/socket.c:2743 [inline] __sys_recvmsg+0x2e9/0x3d0 net/socket.c:2773 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1460 [inline] free_pcp_prepare mm/page_alloc.c:1510 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3388 free_unref_page+0x98/0x570 mm/page_alloc.c:3484 free_slab mm/slub.c:2031 [inline] discard_slab mm/slub.c:2037 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2586 put_cpu_partial+0x116/0x180 mm/slub.c:2662 qlist_free_all+0x22/0x60 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x162/0x180 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1f/0x70 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x50/0x370 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x10c/0x2d0 mm/slub.c:3422 getname_flags+0xb8/0x4e0 fs/namei.c:139 user_path_at_empty+0x2a/0x180 fs/namei.c:2875 user_path_at include/linux/namei.h:57 [inline] user_statfs+0xd5/0x450 fs/statfs.c:103 __do_sys_statfs fs/statfs.c:195 [inline] __se_sys_statfs fs/statfs.c:192 [inline] __x64_sys_statfs+0xe4/0x1a0 fs/statfs.c:192 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Memory state around the buggy address: ffff88807d516080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807d516100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88807d516180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88807d516200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807d516280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================