sysfs: cannot create duplicate filename '/class/ieee80211/©,í…×;qO!' list_del corruption, ffff88809ab57a90->next is LIST_POISON1 (dead000000000100) CPU: 1 PID: 17599 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 ------------[ cut here ]------------ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 kernel BUG at lib/list_debug.c:45! Call Trace: invalid opcode: 0000 [#1] PREEMPT SMP KASAN __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 CPU: 0 PID: 17596 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 sysfs_warn_dup.cold+0x1c/0x29 fs/sysfs/dir.c:30 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 sysfs_do_create_link_sd+0x116/0x130 fs/sysfs/symlink.c:50 RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45 sysfs_do_create_link fs/sysfs/symlink.c:79 [inline] sysfs_create_link+0x5f/0xc0 fs/sysfs/symlink.c:91 Code: e8 11 43 f7 ff 0f 0b 48 89 ee 48 c7 c7 40 e4 b3 88 e8 00 43 f7 ff 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 80 e3 b3 88 e8 ec 42 f7 ff <0f> 0b 4c 89 e2 48 89 ee 48 c7 c7 e0 e3 b3 88 e8 d8 42 f7 ff 0f 0b device_add_class_symlinks drivers/base/core.c:1934 [inline] device_add+0x7d1/0x16d0 drivers/base/core.c:2136 RSP: 0018:ffff88809ab57970 EFLAGS: 00010086 RAX: 000000000000004e RBX: ffff88809ab57a78 RCX: 0000000000000000 RDX: 0000000000036ae6 RSI: ffffffff814dff01 RDI: ffffed101356af20 wiphy_register+0x1664/0x2130 net/wireless/core.c:832 RBP: ffff88809ab57a90 R08: 000000000000004e R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200 R13: dead000000000100 R14: ffff88809ab57a98 R15: 0000000000000007 FS: 00007efcab48b700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30a22000 CR3: 000000004bff8000 CR4: 00000000003406f0 ieee80211_register_hw+0x13be/0x3550 net/mac80211/main.c:1106 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:117 [inline] list_del include/linux/list.h:125 [inline] __remove_wait_queue include/linux/wait.h:184 [inline] remove_wait_queue+0x2c/0x180 kernel/sched/wait.c:44 mac80211_hwsim_new_radio+0x1d3f/0x3c60 drivers/net/wireless/mac80211_hwsim.c:2896 __tipc_sendstream+0x373/0x9d0 net/tipc/socket.c:1449 hwsim_new_radio_nl+0x5c3/0x850 drivers/net/wireless/mac80211_hwsim.c:3374 tipc_sendstream+0x4c/0x70 net/tipc/socket.c:1414 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 sock_write_iter+0x287/0x3c0 net/socket.c:966 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638 vfs_write+0x1f3/0x540 fs/read_write.c:549 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efcacf5b0d9 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:00007efcab48b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007efcad07b120 RCX: 00007efcacf5b0d9 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 RDX: 000000002000011a RSI: 0000000020000040 RDI: 0000000000000005 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227 RBP: 00007efcacfb6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff9e08646f R14: 00007efcab48b300 R15: 0000000000022000 Modules linked in: ---[ end trace 3ba5df785119da10 ]--- RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45 Code: e8 11 43 f7 ff 0f 0b 48 89 ee 48 c7 c7 40 e4 b3 88 e8 00 43 f7 ff 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 80 e3 b3 88 e8 ec 42 f7 ff <0f> 0b 4c 89 e2 48 89 ee 48 c7 c7 e0 e3 b3 88 e8 d8 42 f7 ff 0f 0b RSP: 0018:ffff88809ab57970 EFLAGS: 00010086 RAX: 000000000000004e RBX: ffff88809ab57a78 RCX: 0000000000000000 RDX: 0000000000036ae6 RSI: ffffffff814dff01 RDI: ffffed101356af20 RBP: ffff88809ab57a90 R08: 000000000000004e R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200 R13: dead000000000100 R14: ffff88809ab57a98 R15: 0000000000000007 FS: 00007efcab48b700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 __sys_sendmsg net/socket.c:2265 [inline] __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30a22000 CR3: 000000004bff8000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400