audit: type=1326 audit(1677525899.456:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=10066 comm="syz-executor.1" exe="/root/syz-executor.1" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f82b622f0f9 code=0x0 netlink: 28 bytes leftover after parsing attributes in process `syz-executor.5'. ============================= WARNING: suspicious RCU usage 4.14.307-syzkaller #0 Not tainted ----------------------------- net/sched/act_sample.c:95 suspicious rcu_dereference_protected() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor.5/10079: #0: (rtnl_mutex){+.+.}, at: [] rtnl_lock net/core/rtnetlink.c:72 [inline] #0: (rtnl_mutex){+.+.}, at: [] rtnetlink_rcv_msg+0x31d/0xb10 net/core/rtnetlink.c:4317 stack backtrace: CPU: 0 PID: 10079 Comm: syz-executor.5 Not tainted 4.14.307-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 tcf_sample_init+0x71c/0x8c0 net/sched/act_sample.c:95 tcf_action_init_1+0x51a/0x9e0 net/sched/act_api.c:691 tcf_action_init+0x26d/0x400 net/sched/act_api.c:760 tcf_action_add net/sched/act_api.c:1088 [inline] tc_ctl_action+0x2e3/0x510 net/sched/act_api.c:1140 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4322 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2461 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x651/0xbc0 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fae991b00f9 RSP: 002b:00007fae97722168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fae992cff80 RCX: 00007fae991b00f9 RDX: 0000000000000000 RSI: 0000000020002980 RDI: 0000000000000003 RBP: 00007fae9920bae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc5f14eaef R14: 00007fae97722300 R15: 0000000000022000 audit: type=1326 audit(1677525900.166:4): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=10100 comm="syz-executor.1" exe="/root/syz-executor.1" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f82b622f0f9 code=0x0 squashfs: SQUASHFS error: unable to read xattr id index table hfs: request for non-existent node 131072 in B*Tree hfs: request for non-existent node 131072 in B*Tree EXT4-fs (loop2): Unsupported blocksize for fs encryption hfs: unable to load codepage "i„o8859-2" hfs: unable to parse mount options hfs: request for non-existent node 131072 in B*Tree hfs: request for non-existent node 131072 in B*Tree hfs: request for non-existent node 131072 in B*Tree hfs: request for non-existent node 131072 in B*Tree hfs: request for non-existent node 131072 in B*Tree hfs: inconsistency in B*Tree (8,2,0,3,0) hfs: request for non-existent node 131072 in B*Tree hfs: get root inode failed hfs: request for non-existent node 131072 in B*Tree hfs: request for non-existent node 131072 in B*Tree squashfs: SQUASHFS error: unable to read inode lookup table hfs: request for non-existent node 131072 in B*Tree hfs: request for non-existent node 131072 in B*Tree hfs: request for non-existent node 131072 in B*Tree hfs: request for non-existent node 131072 in B*Tree print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, lost async page write print_req_error: I/O error, dev loop7, sector 1 Buffer I/O error on dev loop7, logical block 1, lost async page write print_req_error: I/O error, dev loop7, sector 2 Buffer I/O error on dev loop7, logical block 2, lost async page write print_req_error: I/O error, dev loop7, sector 3 print_req_error: I/O error, dev loop7, sector 4 Buffer I/O error on dev loop7, logical block 3, lost async page write Buffer I/O error on dev loop7, logical block 4, lost async page write print_req_error: I/O error, dev loop7, sector 5 print_req_error: I/O error, dev loop7, sector 6 Buffer I/O error on dev loop7, logical block 5, lost async page write Buffer I/O error on dev loop7, logical block 6, lost async page write print_req_error: I/O error, dev loop7, sector 7 Buffer I/O error on dev loop7, logical block 7, lost async page write print_req_error: I/O error, dev loop7, sector 8 Buffer I/O error on dev loop7, logical block 8, lost async page write print_req_error: I/O error, dev loop7, sector 9 Buffer I/O error on dev loop7, logical block 9, lost async page write unregister_netdevice: waiting for ip6gre0 to become free. Usage count = -1 netlink: 28 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.5'. EXT4-fs (loop0): filesystem is read-only EXT4-fs (loop0): #clusters per group too big: 24576 netlink: 28 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.5'. audit: type=1800 audit(1677525904.826:5): pid=10548 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="sda1" ino=13865 res=0 ================================================================== BUG: KASAN: slab-out-of-bounds in tipc_nametbl_lookup_dst_nodes+0x4ad/0x4c0 net/tipc/name_table.c:670 Read of size 4 at addr ffff8880b2fbe850 by task syz-executor.5/10653 CPU: 1 PID: 10653 Comm: syz-executor.5 Not tainted 4.14.307-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:251 kasan_report_error.cold+0x8a/0x191 mm/kasan/report.c:350 kasan_report mm/kasan/report.c:408 [inline] __asan_report_load4_noabort+0x68/0x70 mm/kasan/report.c:428 tipc_nametbl_lookup_dst_nodes+0x4ad/0x4c0 net/tipc/name_table.c:670 tipc_sendmcast+0x51a/0xac0 net/tipc/socket.c:768 __tipc_sendmsg+0xbab/0xf90 net/tipc/socket.c:975 tipc_sendmsg+0x4c/0x70 net/tipc/socket.c:923 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fae991b00f9 RSP: 002b:00007fae97722168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fae992cff80 RCX: 00007fae991b00f9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007fae9920bae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc5f14eaef R14: 00007fae97722300 R15: 0000000000022000 Allocated by task 8034: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 __do_kmalloc mm/slab.c:3720 [inline] __kmalloc+0x15a/0x400 mm/slab.c:3729 tipc_nameseq_create+0x53/0x290 net/tipc/name_table.c:152 tipc_nametbl_insert_publ+0xb37/0x14e0 net/tipc/name_table.c:476 tipc_nametbl_publish+0x211/0x3f0 net/tipc/name_table.c:701 tipc_sk_publish net/tipc/socket.c:2206 [inline] tipc_bind+0x2c4/0x600 net/tipc/socket.c:630 tipc_create_listen_sock net/tipc/server.c:338 [inline] tipc_open_listening_sock net/tipc/server.c:396 [inline] tipc_server_start+0x31f/0x880 net/tipc/server.c:611 tipc_topsrv_start net/tipc/subscr.c:382 [inline] tipc_topsrv_init_net+0x53b/0x730 net/tipc/subscr.c:397 ops_init+0xaa/0x3e0 net/core/net_namespace.c:118 setup_net+0x22f/0x530 net/core/net_namespace.c:298 copy_net_ns+0x19b/0x440 net/core/net_namespace.c:422 create_new_namespaces+0x375/0x720 kernel/nsproxy.c:107 unshare_nsproxy_namespaces+0xa1/0x1d0 kernel/nsproxy.c:206 SYSC_unshare kernel/fork.c:2413 [inline] SyS_unshare+0x308/0x7f0 kernel/fork.c:2363 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Freed by task 1: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xc9/0x250 mm/slab.c:3815 acpi_os_free include/acpi/platform/aclinuxex.h:96 [inline] acpi_ex_stop_trace_method+0x1c0/0x1c7 drivers/acpi/acpica/extrace.c:294 acpi_ds_terminate_control_method+0x527/0x536 drivers/acpi/acpica/dsmethod.c:864 acpi_ps_parse_aml+0x425/0x78e drivers/acpi/acpica/psparse.c:587 acpi_ps_execute_method+0x4e4/0x54f drivers/acpi/acpica/psxface.c:221 acpi_ns_evaluate+0x689/0x8f8 drivers/acpi/acpica/nseval.c:238 acpi_evaluate_object+0x459/0x819 drivers/acpi/acpica/nsxfeval.c:389 map_mat_entry+0x83/0x850 drivers/acpi/processor_core.c:171 acpi_get_phys_id+0x1f/0xc0 drivers/acpi/processor_core.c:202 acpi_processor_get_info drivers/acpi/acpi_processor.c:294 [inline] acpi_processor_add+0x68e/0x12b0 drivers/acpi/acpi_processor.c:391 acpi_scan_attach_handler drivers/acpi/scan.c:1960 [inline] acpi_bus_attach+0x2ec/0x8c0 drivers/acpi/scan.c:2004 acpi_bus_attach+0x149/0x8c0 drivers/acpi/scan.c:2025 acpi_bus_attach+0x149/0x8c0 drivers/acpi/scan.c:2025 acpi_bus_scan+0x88/0xe0 drivers/acpi/scan.c:2077 acpi_scan_init+0x222/0x638 drivers/acpi/scan.c:2229 acpi_init+0x64d/0x6cc drivers/acpi/bus.c:1259 do_one_initcall+0x88/0x210 init/main.c:830 do_initcall_level init/main.c:896 [inline] do_initcalls init/main.c:904 [inline] do_basic_setup init/main.c:922 [inline] kernel_init_freeable+0x565/0x626 init/main.c:1081 kernel_init+0xd/0x166 init/main.c:1006 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 The buggy address belongs to the object at ffff8880b2fbe840 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 16 bytes inside of 32-byte region [ffff8880b2fbe840, ffff8880b2fbe860) The buggy address belongs to the page: page:ffffea0002cbef80 count:1 mapcount:0 mapping:ffff8880b2fbe000 index:0xffff8880b2fbefc1 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffff8880b2fbe000 ffff8880b2fbefc1 000000010000003d raw: ffffea0002a68de0 ffffea0002d511e0 ffff88813fe741c0 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880b2fbe700: 00 fc fc fc fc fc fc fc 00 04 fc fc fc fc fc fc ffff8880b2fbe780: 00 00 00 fc fc fc fc fc 00 fc fc fc fc fc fc fc >ffff8880b2fbe800: 00 fc fc fc fc fc fc fc 00 00 fc fc fc fc fc fc ^ ffff8880b2fbe880: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ffff8880b2fbe900: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ==================================================================