================================================================== BUG: KASAN: slab-out-of-bounds in string_nocheck lib/vsprintf.c:643 [inline] BUG: KASAN: slab-out-of-bounds in string+0x1ec/0x278 lib/vsprintf.c:725 Read of size 1 at addr ffff0000d6317150 by task syz.2.1321/10793 CPU: 0 PID: 10793 Comm: syz.2.1321 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/23/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load1_noabort+0x2c/0x38 mm/kasan/report_generic.c:348 string_nocheck lib/vsprintf.c:643 [inline] string+0x1ec/0x278 lib/vsprintf.c:725 vsnprintf+0x10ec/0x18d8 lib/vsprintf.c:2805 va_format lib/vsprintf.c:1685 [inline] pointer+0x7ac/0xdd8 lib/vsprintf.c:2436 vsnprintf+0xcc0/0x18d8 lib/vsprintf.c:2809 vprintk_store+0x36c/0xb60 kernel/printk/printk.c:2187 vprintk_emit+0x118/0x2f0 kernel/printk/printk.c:2284 vprintk_default+0x54/0x80 kernel/printk/printk.c:2318 vprintk+0x200/0x2a0 kernel/printk/printk_safe.c:45 _printk+0xe0/0x130 kernel/printk/printk.c:2328 __dynamic_pr_debug+0x148/0x1e4 lib/dynamic_debug.c:875 idletimer_tg_checkentry_v1+0xa44/0xbc4 net/netfilter/xt_IDLETIMER.c:353 xt_check_target+0x40c/0xa1c net/netfilter/x_tables.c:1061 nft_target_init+0x508/0x7f8 net/netfilter/nft_compat.c:268 nf_tables_newexpr net/netfilter/nf_tables_api.c:3076 [inline] nf_tables_newrule+0x11b8/0x1be4 net/netfilter/nf_tables_api.c:3808 nfnetlink_rcv_batch net/netfilter/nfnetlink.c:519 [inline] nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:639 [inline] nfnetlink_rcv+0xc7c/0x1c54 net/netfilter/nfnetlink.c:657 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5fc/0x80c net/netlink/af_netlink.c:1344 netlink_sendmsg+0x6f0/0x9d8 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x588/0x90c net/socket.c:2519 ___sys_sendmsg net/socket.c:2573 [inline] __sys_sendmsg+0x288/0x374 net/socket.c:2602 __do_sys_sendmsg net/socket.c:2611 [inline] __se_sys_sendmsg net/socket.c:2609 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2609 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Allocated by task 10793: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc+0xd8/0x180 mm/slab_common.c:949 kmalloc include/linux/slab.h:568 [inline] kzalloc include/linux/slab.h:699 [inline] nf_tables_newrule+0x1004/0x1be4 net/netfilter/nf_tables_api.c:3790 nfnetlink_rcv_batch net/netfilter/nfnetlink.c:519 [inline] nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:639 [inline] nfnetlink_rcv+0xc7c/0x1c54 net/netfilter/nfnetlink.c:657 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5fc/0x80c net/netlink/af_netlink.c:1344 netlink_sendmsg+0x6f0/0x9d8 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x588/0x90c net/socket.c:2519 ___sys_sendmsg net/socket.c:2573 [inline] __sys_sendmsg+0x288/0x374 net/socket.c:2602 __do_sys_sendmsg net/socket.c:2611 [inline] __se_sys_sendmsg net/socket.c:2609 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2609 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:46 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 kvfree_call_rcu+0xb4/0x6f0 kernel/rcu/tree.c:3405 drop_sysctl_table+0x278/0x3c4 fs/proc/proc_sysctl.c:1731 unregister_sysctl_table+0x90/0x134 fs/proc/proc_sysctl.c:1769 unregister_net_sysctl_table+0x20/0x30 net/sysctl_net.c:174 mpls_dev_sysctl_unregister+0x90/0xc8 net/mpls/af_mpls.c:1447 mpls_dev_notify+0x4ec/0x728 net/mpls/af_mpls.c:1659 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd8/0x168 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:2014 [inline] call_netdevice_notifiers_extack net/core/dev.c:2052 [inline] call_netdevice_notifiers net/core/dev.c:2066 [inline] unregister_netdevice_many_notify+0xf18/0x1900 net/core/dev.c:11023 unregister_netdevice_many net/core/dev.c:11077 [inline] default_device_exit_batch+0x9d4/0xa70 net/core/dev.c:11549 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x650/0xa90 net/core/net_namespace.c:640 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 The buggy address belongs to the object at ffff0000d6317100 which belongs to the cache kmalloc-cg-128 of size 128 The buggy address is located 80 bytes inside of 128-byte region [ffff0000d6317100, ffff0000d6317180) The buggy address belongs to the physical page: page:000000009ccc8a2a refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x116317 memcg:ffff0000c4df4b01 flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 dead000000000100 dead000000000122 ffff0000c0002d80 raw: 0000000000000000 0000000080100010 00000001ffffffff ffff0000c4df4b01 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d6317000: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc ffff0000d6317080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000d6317100: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc ^ ffff0000d6317180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d6317200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc ==================================================================