================================================================== BUG: KASAN: slab-out-of-bounds in crc_itu_t+0x218/0x2a0 lib/crc-itu-t.c:60 Read of size 1 at addr ffff88801af1f028 by task syz-executor/5127 CPU: 0 PID: 5127 Comm: syz-executor Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 print_address_description+0x63/0x3b0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x16b/0x1c0 mm/kasan/report.c:451 crc_itu_t+0x218/0x2a0 lib/crc-itu-t.c:60 udf_finalize_lvid fs/udf/super.c:2025 [inline] udf_sync_fs+0x1ce/0x380 fs/udf/super.c:2381 sync_filesystem+0xe8/0x220 fs/sync.c:56 generic_shutdown_super+0x6e/0x2c0 fs/super.c:448 kill_block_super+0x7a/0xe0 fs/super.c:1414 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x6a3/0x2480 kernel/exit.c:874 do_group_exit+0x144/0x310 kernel/exit.c:996 __do_sys_exit_group kernel/exit.c:1007 [inline] __se_sys_exit_group kernel/exit.c:1005 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1005 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc6e77669b9 Code: Unable to access opcode bytes at RIP 0x7fc6e776698f. RSP: 002b:00007ffe0a0e17f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fc6e77d47d6 RCX: 00007fc6e77669b9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000010 R08: 00007ffe0a0df596 R09: 00007ffe0a0e2ab0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe0a0e2ab0 R13: 00007fc6e77d4764 R14: 0000555556b5d4a8 R15: 00007ffe0a0e3b70 Allocated by task 5063: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x8e/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] fill_pool lib/debugobjects.c:171 [inline] __debug_object_init+0x77a/0xd30 lib/debugobjects.c:614 debug_timer_init kernel/time/timer.c:724 [inline] debug_init kernel/time/timer.c:772 [inline] init_timer_key+0x3e/0x2d0 kernel/time/timer.c:816 mca_alloc net/ipv6/mcast.c:884 [inline] __ipv6_dev_mc_inc+0x50a/0xa80 net/ipv6/mcast.c:936 ipv6_add_dev+0xd53/0x1180 net/ipv6/addrconf.c:467 addrconf_notify+0x671/0xf30 net/ipv6/addrconf.c:3578 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2018 [inline] call_netdevice_notifiers_extack net/core/dev.c:2030 [inline] call_netdevice_notifiers+0x145/0x1b0 net/core/dev.c:2044 register_netdevice+0x12e8/0x1720 net/core/dev.c:10388 veth_newlink+0x94f/0xe20 drivers/net/veth.c:1714 __rtnl_newlink net/core/rtnetlink.c:3501 [inline] rtnl_newlink+0x14bd/0x2070 net/core/rtnetlink.c:3549 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5629 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1352 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] __sys_sendto+0x564/0x720 net/socket.c:2058 __do_sys_sendto net/socket.c:2070 [inline] __se_sys_sendto net/socket.c:2066 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2066 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff88801af1f000 which belongs to the cache debug_objects_cache of size 40 The buggy address is located 0 bytes to the right of 40-byte region [ffff88801af1f000, ffff88801af1f028) The buggy address belongs to the page: page:ffffea00006bc7c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88801af1f658 pfn:0x1af1f flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 ffffea00018cde48 ffffea00005b6848 ffff888011c4f8c0 raw: ffff88801af1f658 0000000000490043 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12020(__GFP_HIGH|__GFP_NOWARN|__GFP_NORETRY), pid 3570, ts 59876568950, free_ts 59875188927 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x322a/0x33c0 mm/page_alloc.c:4159 __alloc_pages+0x272/0x700 mm/page_alloc.c:5423 alloc_slab_page mm/slub.c:1775 [inline] allocate_slab mm/slub.c:1912 [inline] new_slab+0xbb/0x4b0 mm/slub.c:1975 ___slab_alloc+0x6f6/0xe10 mm/slub.c:3008 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x18e/0x280 mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] fill_pool lib/debugobjects.c:171 [inline] __debug_object_init+0x6fd/0xd30 lib/debugobjects.c:614 netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:657 [inline] netdevice_event+0x74a/0x960 drivers/infiniband/core/roce_gid_mgmt.c:802 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2018 [inline] call_netdevice_notifiers_extack net/core/dev.c:2030 [inline] call_netdevice_notifiers+0x145/0x1b0 net/core/dev.c:2044 ipvlan_device_event+0x3f4/0xa60 drivers/net/ipvlan/ipvlan_main.c:793 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2018 [inline] call_netdevice_notifiers_extack net/core/dev.c:2030 [inline] call_netdevice_notifiers net/core/dev.c:2044 [inline] dev_set_mac_address+0x325/0x470 net/core/dev.c:9074 dev_set_mac_address_user+0x2d/0x50 net/core/dev.c:9088 do_setlink+0x897/0x3b00 net/core/rtnetlink.c:2696 __rtnl_newlink net/core/rtnetlink.c:3429 [inline] rtnl_newlink+0x17a4/0x2070 net/core/rtnetlink.c:3549 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5629 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0xc34/0xcf0 mm/page_alloc.c:3317 free_unref_page+0x95/0x2d0 mm/page_alloc.c:3396 free_slab mm/slub.c:2015 [inline] discard_slab mm/slub.c:2021 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2507 put_cpu_partial+0x132/0x1a0 mm/slub.c:2587 do_slab_free mm/slub.c:3487 [inline] ___cache_free+0xe3/0x100 mm/slub.c:3506 qlist_free_all+0x36/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x162/0x180 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 fib_table_insert+0x624/0x1f90 net/ipv4/fib_trie.c:1356 fib_magic net/ipv4/fib_frontend.c:1093 [inline] fib_add_ifaddr+0xc24/0x1730 net/ipv4/fib_frontend.c:1130 fib_netdev_event+0x61d/0x760 net/ipv4/fib_frontend.c:1475 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 __dev_notify_flags+0x304/0x610 dev_change_flags+0xe7/0x190 net/core/dev.c:8889 Memory state around the buggy address: ffff88801af1ef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88801af1ef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88801af1f000: 00 00 00 00 00 fc fc 00 00 00 00 00 fc fc 00 00 ^ ffff88801af1f080: 00 00 00 fc fc 00 00 00 00 00 fc fc 00 00 00 00 ffff88801af1f100: 00 fc fc 00 00 00 00 00 fc fc 00 00 00 00 00 fc ==================================================================