================================================================== BUG: KASAN: slab-out-of-bounds in crc_itu_t+0x218/0x2a0 lib/crc-itu-t.c:60 Read of size 1 at addr ffff88801aa580a8 by task syz-executor/3651 CPU: 1 PID: 3651 Comm: syz-executor Not tainted 6.1.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 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 crc_itu_t+0x218/0x2a0 lib/crc-itu-t.c:60 udf_finalize_lvid fs/udf/super.c:2023 [inline] udf_sync_fs+0x1ce/0x380 fs/udf/super.c:2379 sync_filesystem+0xe8/0x220 fs/sync.c:56 generic_shutdown_super+0x6b/0x340 fs/super.c:474 kill_block_super+0x7a/0xe0 fs/super.c:1470 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:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0xa73/0x26a0 kernel/exit.c:871 do_group_exit+0x202/0x2b0 kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7067979e79 Code: Unable to access opcode bytes at 0x7f7067979e4f. RSP: 002b:00007ffdd840fdc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f70679e784e RCX: 00007f7067979e79 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000010 R08: 00007ffdd840db66 R09: 00007ffdd8411080 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd8411080 R13: 00007f70679e77dc R14: 00005555572574a8 R15: 00007ffdd8412140 Allocated by task 3306: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 __kasan_slab_alloc+0x65/0x70 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x52/0x3a0 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 kmem_cache_zalloc include/linux/slab.h:682 [inline] __kernfs_new_node+0xd4/0x870 fs/kernfs/dir.c:614 kernfs_new_node+0x136/0x230 fs/kernfs/dir.c:690 __kernfs_create_file+0x45/0x2e0 fs/kernfs/file.c:1047 sysfs_add_file_mode_ns+0x246/0x300 fs/sysfs/file.c:294 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x545/0xed0 fs/sysfs/group.c:148 internal_create_groups fs/sysfs/group.c:188 [inline] sysfs_create_groups+0x52/0x110 fs/sysfs/group.c:214 device_add_groups drivers/base/core.c:2747 [inline] device_add_attrs+0xe1/0x5f0 drivers/base/core.c:2895 device_add+0x63e/0xfd0 drivers/base/core.c:3643 netdev_register_kobject+0x176/0x310 net/core/net-sysfs.c:2013 register_netdevice+0x108a/0x1720 net/core/dev.c:10099 bpq_new_device drivers/net/hamradio/bpqether.c:499 [inline] bpq_device_event+0x485/0x8a0 drivers/net/hamradio/bpqether.c:542 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:455 __dev_notify_flags+0x304/0x610 dev_change_flags+0xe7/0x190 net/core/dev.c:8661 devinet_ioctl+0x92e/0x1b20 net/ipv4/devinet.c:1146 inet_ioctl+0x32d/0x400 net/ipv4/af_inet.c:1010 sock_do_ioctl+0x152/0x450 net/socket.c:1204 sock_ioctl+0x47f/0x770 net/socket.c:1321 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 The buggy address belongs to the object at ffff88801aa58000 which belongs to the cache kernfs_node_cache of size 168 The buggy address is located 0 bytes to the right of 168-byte region [ffff88801aa58000, ffff88801aa580a8) The buggy address belongs to the physical page: page:ffffea00006a9600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1aa58 flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 ffffea00006a9640 dead000000000006 ffff888140009c80 raw: 0000000000000000 0000000000110011 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 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 2410196351, free_ts 0 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2517 prep_new_page mm/page_alloc.c:2524 [inline] get_page_from_freelist+0x322e/0x33b0 mm/page_alloc.c:4290 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5558 alloc_page_interleave+0x22/0x1c0 mm/mempolicy.c:2115 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+0xc20/0x1270 mm/slub.c:3180 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x1a5/0x2d0 mm/slub.c:3422 kmem_cache_zalloc include/linux/slab.h:682 [inline] __kernfs_new_node+0xd4/0x870 fs/kernfs/dir.c:614 kernfs_new_node+0x136/0x230 fs/kernfs/dir.c:690 __kernfs_create_file+0x45/0x2e0 fs/kernfs/file.c:1047 sysfs_add_file_mode_ns+0x246/0x300 fs/sysfs/file.c:294 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x545/0xed0 fs/sysfs/group.c:148 kernel_add_sysfs_param+0xe8/0x126 kernel/params.c:814 param_sysfs_builtin+0x16a/0x1e2 kernel/params.c:851 param_sysfs_init+0x66/0x6a kernel/params.c:970 page_owner free stack trace missing Memory state around the buggy address: ffff88801aa57f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88801aa58000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88801aa58080: 00 00 00 00 00 fc fc fc fc fc fc fc fc 00 00 00 ^ ffff88801aa58100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88801aa58180: 00 00 fc fc fc fc fc fc fc fc 00 00 00 00 00 00 ==================================================================