and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= ================================================================== BUG: KASAN: slab-out-of-bounds in hfs_asc2mac+0x693/0x720 fs/hfs/trans.c:133 Write of size 1 at addr ffff88801de630ce by task syz-executor.2/4235 CPU: 1 PID: 4235 Comm: syz-executor.2 Not tainted 6.1.0-rc7-syzkaller-00123-ga4412fdd49dc #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x15e/0x461 mm/kasan/report.c:395 kasan_report+0xbf/0x1f0 mm/kasan/report.c:495 hfs_asc2mac+0x693/0x720 fs/hfs/trans.c:133 hfs_cat_build_key+0xc4/0x170 fs/hfs/catalog.c:28 hfs_lookup+0x1c6/0x310 fs/hfs/dir.c:31 __lookup_slow+0x24c/0x460 fs/namei.c:1685 lookup_slow fs/namei.c:1702 [inline] walk_component+0x33f/0x5a0 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x1ba/0x840 fs/namei.c:2474 filename_lookup+0x1d2/0x590 fs/namei.c:2503 user_path_at_empty+0x46/0x60 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] user_statfs+0x8a/0x170 fs/statfs.c:103 __do_sys_statfs+0x7a/0xf0 fs/statfs.c:195 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3e1ca8c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3e1d7af168 EFLAGS: 00000246 ORIG_RAX: 0000000000000089 RAX: ffffffffffffffda RBX: 00007f3e1cbabf80 RCX: 00007f3e1ca8c0d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007f3e1cae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe1f78c5bf R14: 00007f3e1d7af300 R15: 0000000000022000 Allocated by task 4235: kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:371 [inline] ____kasan_kmalloc mm/kasan/common.c:330 [inline] __kasan_kmalloc+0xa3/0xb0 mm/kasan/common.c:380 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:955 [inline] __kmalloc+0x5a/0xd0 mm/slab_common.c:968 kmalloc include/linux/slab.h:558 [inline] hfs_find_init+0x95/0x240 fs/hfs/bfind.c:21 hfs_lookup+0x102/0x310 fs/hfs/dir.c:28 __lookup_slow+0x24c/0x460 fs/namei.c:1685 lookup_slow fs/namei.c:1702 [inline] walk_component+0x33f/0x5a0 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x1ba/0x840 fs/namei.c:2474 filename_lookup+0x1d2/0x590 fs/namei.c:2503 user_path_at_empty+0x46/0x60 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] user_statfs+0x8a/0x170 fs/statfs.c:103 __do_sys_statfs+0x7a/0xf0 fs/statfs.c:195 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Last potentially related work creation: kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 __kasan_record_aux_stack+0x7b/0x90 mm/kasan/generic.c:481 kvfree_call_rcu+0x78/0x8f0 kernel/rcu/tree.c:3343 cfg80211_update_known_bss+0x827/0xa70 net/wireless/scan.c:1683 cfg80211_bss_update+0xf3/0x21d0 net/wireless/scan.c:1730 cfg80211_inform_single_bss_frame_data+0x761/0xfc0 net/wireless/scan.c:2499 cfg80211_inform_bss_frame_data+0xc3/0xc80 net/wireless/scan.c:2532 ieee80211_bss_info_update+0x35c/0xaf0 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1120 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x1a32/0x3190 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1630 [inline] ieee80211_iface_work+0xa4b/0xd30 net/mac80211/iface.c:1684 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 The buggy address belongs to the object at ffff88801de63080 which belongs to the cache kmalloc-96 of size 96 The buggy address is located 78 bytes inside of 96-byte region [ffff88801de63080, ffff88801de630e0) The buggy address belongs to the physical page: page:ffffea00007798c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1de63 flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 ffffea0000a467c8 ffffea000073fd08 ffff888012040300 raw: 0000000000000000 ffff88801de63000 0000000100000020 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 0x242220(__GFP_HIGH|__GFP_ATOMIC|__GFP_NOWARN|__GFP_COMP|__GFP_THISNODE), pid 23, tgid 23 (kworker/1:0), ts 319834510029, free_ts 315099325321 prep_new_page mm/page_alloc.c:2539 [inline] get_page_from_freelist+0x10b5/0x2d50 mm/page_alloc.c:4291 __alloc_pages_slowpath.constprop.0+0x36b/0x23d0 mm/page_alloc.c:5092 __alloc_pages+0x4aa/0x5b0 mm/page_alloc.c:5571 __alloc_pages_node include/linux/gfp.h:223 [inline] kmem_getpages mm/slab.c:1363 [inline] cache_grow_begin+0x75/0x360 mm/slab.c:2570 cache_alloc_refill+0x27f/0x380 mm/slab.c:2943 ____cache_alloc mm/slab.c:3019 [inline] ____cache_alloc mm/slab.c:3002 [inline] __do_cache_alloc mm/slab.c:3202 [inline] slab_alloc_node mm/slab.c:3250 [inline] __kmem_cache_alloc_node+0x44a/0x510 mm/slab.c:3549 kmalloc_trace+0x26/0x60 mm/slab_common.c:1045 kmalloc include/linux/slab.h:553 [inline] kzalloc include/linux/slab.h:689 [inline] nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:990 [inline] nsim_fib_event_nb+0x1ba/0xe30 drivers/net/netdevsim/fib.c:1043 notifier_call_chain+0xb5/0x200 kernel/notifier.c:87 atomic_notifier_call_chain+0x74/0x180 kernel/notifier.c:225 call_fib_notifiers+0x11d/0x2a0 net/core/fib_notifier.c:35 call_fib6_entry_notifiers net/ipv6/ip6_fib.c:402 [inline] fib6_add_rt2node net/ipv6/ip6_fib.c:1224 [inline] fib6_add+0xe25/0x3f20 net/ipv6/ip6_fib.c:1478 __ip6_ins_rt net/ipv6/route.c:1302 [inline] ip6_ins_rt+0xb6/0x110 net/ipv6/route.c:1312 __ipv6_ifa_notify+0x8c7/0xb60 net/ipv6/addrconf.c:6157 ipv6_ifa_notify net/ipv6/addrconf.c:6196 [inline] addrconf_dad_completed+0x133/0xd80 net/ipv6/addrconf.c:4209 addrconf_dad_work+0x75d/0x12d0 net/ipv6/addrconf.c:4157 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1459 [inline] free_pcp_prepare+0x65c/0xd90 mm/page_alloc.c:1509 free_unref_page_prepare mm/page_alloc.c:3387 [inline] free_unref_page+0x1d/0x4d0 mm/page_alloc.c:3483 slab_destroy mm/slab.c:1615 [inline] slabs_destroy+0x85/0xc0 mm/slab.c:1635 cache_flusharray mm/slab.c:3360 [inline] ___cache_free+0x2ac/0x3d0 mm/slab.c:3423 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x4f/0x1a0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x184/0x210 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x63/0x90 mm/kasan/common.c:302 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slab.h:737 [inline] slab_alloc_node mm/slab.c:3257 [inline] __kmem_cache_alloc_node+0x266/0x510 mm/slab.c:3549 kmalloc_trace+0x26/0x60 mm/slab_common.c:1045 kmalloc include/linux/slab.h:553 [inline] kzalloc include/linux/slab.h:689 [inline] kobject_uevent_env+0x234/0x1620 lib/kobject_uevent.c:524 __kobject_del+0x160/0x1f0 lib/kobject.c:585 kobject_cleanup lib/kobject.c:664 [inline] kobject_release lib/kobject.c:704 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x2f1/0x4d0 lib/kobject.c:721 netdev_queue_update_kobjects+0x36b/0x4f0 net/core/net-sysfs.c:1733 netif_set_real_num_tx_queues+0x1ba/0x770 net/core/dev.c:2893 veth_init_queues+0xdd/0x190 drivers/net/veth.c:1687 veth_newlink+0x526/0x990 drivers/net/veth.c:1807 Memory state around the buggy address: ffff88801de62f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88801de63000: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc >ffff88801de63080: 00 00 00 00 00 00 00 00 00 06 fc fc fc fc fc fc ^ ffff88801de63100: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff88801de63180: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc ==================================================================