================================================================== BUG: KASAN: slab-out-of-bounds in string_nocheck lib/vsprintf.c:642 [inline] BUG: KASAN: slab-out-of-bounds in string+0x204/0x290 lib/vsprintf.c:724 Read of size 1 at addr ffff88805cfc93d0 by task syz.8.1059/9194 CPU: 0 PID: 9194 Comm: syz.8.1059 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 string_nocheck lib/vsprintf.c:642 [inline] string+0x204/0x290 lib/vsprintf.c:724 vsnprintf+0x10db/0x1c20 lib/vsprintf.c:2811 va_format lib/vsprintf.c:1713 [inline] pointer+0x7b2/0xc60 lib/vsprintf.c:2448 vsnprintf+0xd7c/0x1c20 lib/vsprintf.c:2815 vprintk_store+0x378/0x11b0 kernel/printk/printk.c:2164 vprintk_emit+0x85/0x150 kernel/printk/printk.c:2258 _printk+0xda/0x130 kernel/printk/printk.c:2299 __dynamic_pr_debug+0x196/0x240 lib/dynamic_debug.c:619 idletimer_tg_checkentry_v1+0xba5/0xe10 net/netfilter/xt_IDLETIMER.c:353 xt_check_target+0x49d/0xbf0 net/netfilter/x_tables.c:1061 nft_target_init+0x664/0x980 net/netfilter/nft_compat.c:267 nf_tables_newexpr net/netfilter/nf_tables_api.c:3001 [inline] nf_tables_newrule+0x16cc/0x27a0 net/netfilter/nf_tables_api.c:3734 nfnetlink_rcv_batch net/netfilter/nfnetlink.c:514 [inline] nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:634 [inline] nfnetlink_rcv+0x1117/0x2450 net/netfilter/nfnetlink.c:652 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x78f/0x940 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] ____sys_sendmsg+0x5be/0x8f0 net/socket.c:2446 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2500 __sys_sendmsg net/socket.c:2529 [inline] __do_sys_sendmsg net/socket.c:2538 [inline] __se_sys_sendmsg+0x1b7/0x2a0 net/socket.c:2536 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3dd6781199 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3dd49d9028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f3dd6a08fa0 RCX: 00007f3dd6781199 RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000003 RBP: 00007f3dd68188e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3dd6a09038 R14: 00007f3dd6a08fa0 R15: 00007fff4d3d7f98 Allocated by task 9194: 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_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0xaf/0xe0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:612 [inline] kzalloc include/linux/slab.h:738 [inline] nf_tables_newrule+0x1496/0x27a0 net/netfilter/nf_tables_api.c:3716 nfnetlink_rcv_batch net/netfilter/nfnetlink.c:514 [inline] nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:634 [inline] nfnetlink_rcv+0x1117/0x2450 net/netfilter/nfnetlink.c:652 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x78f/0x940 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] ____sys_sendmsg+0x5be/0x8f0 net/socket.c:2446 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2500 __sys_sendmsg net/socket.c:2529 [inline] __do_sys_sendmsg net/socket.c:2538 [inline] __se_sys_sendmsg+0x1b7/0x2a0 net/socket.c:2536 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Last potentially related work creation: kasan_save_stack+0x35/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348 kvfree_call_rcu+0x105/0x7f0 kernel/rcu/tree.c:3600 cfg80211_update_known_bss+0x184/0xb60 net/wireless/scan.c:-1 cfg80211_bss_update+0x156/0x21f0 net/wireless/scan.c:1830 cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2559 [inline] cfg80211_inform_bss_frame_data+0x88d/0x1ed0 net/wireless/scan.c:2592 ieee80211_bss_info_update+0x6ba/0xa80 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1123 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline] ieee80211_ibss_rx_queued_mgmt+0x1763/0x2b50 net/mac80211/ibss.c:1643 ieee80211_iface_process_skb net/mac80211/iface.c:1467 [inline] ieee80211_iface_work+0x714/0xc50 net/mac80211/iface.c:1521 cfg80211_wiphy_work+0x224/0x260 net/wireless/core.c:433 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Second to last potentially related work creation: kasan_save_stack+0x35/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348 kvfree_call_rcu+0x105/0x7f0 kernel/rcu/tree.c:3600 ieee80211_check_fast_xmit+0x50f/0x10c0 net/mac80211/tx.c:3186 ieee80211_update_sta_info net/mac80211/ibss.c:1040 [inline] ieee80211_rx_bss_info net/mac80211/ibss.c:1121 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline] ieee80211_ibss_rx_queued_mgmt+0x14e3/0x2b50 net/mac80211/ibss.c:1643 ieee80211_iface_process_skb net/mac80211/iface.c:1467 [inline] ieee80211_iface_work+0x714/0xc50 net/mac80211/iface.c:1521 cfg80211_wiphy_work+0x224/0x260 net/wireless/core.c:433 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the object at ffff88805cfc9380 which belongs to the cache kmalloc-96 of size 96 The buggy address is located 80 bytes inside of 96-byte region [ffff88805cfc9380, ffff88805cfc93e0) The buggy address belongs to the page: page:ffffea000173f240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5cfc9 flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 ffffea000079fa00 0000000a0000000a ffff888016c41780 raw: 0000000000000000 0000000080200020 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 0x112a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL), pid 144, ts 74486779709, free_ts 74358922269 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x807/0xdd0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] slab_alloc mm/slub.c:3233 [inline] __kmalloc+0x11d/0x340 mm/slub.c:4408 kmalloc include/linux/slab.h:612 [inline] kzalloc include/linux/slab.h:738 [inline] cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2531 [inline] cfg80211_inform_bss_frame_data+0x525/0x1ed0 net/wireless/scan.c:2592 ieee80211_bss_info_update+0x6ba/0xa80 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1123 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline] ieee80211_ibss_rx_queued_mgmt+0x1763/0x2b50 net/mac80211/ibss.c:1643 ieee80211_iface_process_skb net/mac80211/iface.c:1467 [inline] ieee80211_iface_work+0x714/0xc50 net/mac80211/iface.c:1521 cfg80211_wiphy_work+0x224/0x260 net/wireless/core.c:433 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page_list+0x119/0x830 mm/page_alloc.c:3433 release_pages+0x185f/0x1bd0 mm/swap.c:963 tlb_batch_pages_flush mm/mmu_gather.c:50 [inline] tlb_flush_mmu_free mm/mmu_gather.c:241 [inline] tlb_flush_mmu mm/mmu_gather.c:248 [inline] tlb_finish_mmu+0x1b4/0x370 mm/mmu_gather.c:371 exit_mmap+0x3d0/0x640 mm/mmap.c:3218 __mmput+0x115/0x390 kernel/fork.c:1133 exit_mm+0x632/0x7b0 kernel/exit.c:557 do_exit+0x5b8/0x2110 kernel/exit.c:877 do_group_exit+0x12c/0x2f0 kernel/exit.c:1004 get_signal+0x7eb/0x12e0 kernel/signal.c:2913 arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:157 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217 __syscall_exit_to_user_mode_work kernel/entry/common.c:299 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:310 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Memory state around the buggy address: ffff88805cfc9280: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff88805cfc9300: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc >ffff88805cfc9380: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc ^ ffff88805cfc9400: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff88805cfc9480: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ==================================================================