syzbot


BUG: corrupted list in sysfs_warn_dup (2)

Status: auto-obsoleted due to no activity on 2023/04/11 03:36
Reported-by: syzbot+73a2d5648d7eae700a2a@syzkaller.appspotmail.com
First crash: 510d, last: 501d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: corrupted list in sysfs_warn_dup 1 705d 705d 0/1 auto-obsoleted due to no activity on 2022/09/19 04:55

Sample crash report:
overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off.
list_del corruption, ffff88809c957a90->next is LIST_POISON1 (dead000000000100)
befs: Unrecognized mount option "([ª" or missing value
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:45!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
befs: (loop5): cannot parse mount options
CPU: 0 PID: 16605 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
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:ffff88809c957970 EFLAGS: 00010086
RAX: 000000000000004e RBX: ffff88809c957a78 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814dff01 RDI: ffffed101392af20
RBP: ffff88809c957a90 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff88809c957a98 R15: 0000000000000007
sysfs: cannot create duplicate filename '/class/ieee80211/©,í…×;qO!'
FS:  00007fcb642ad700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CPU: 1 PID: 16668 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
CR2: 0000001b2f924000 CR3: 0000000099daa000 CR4: 00000000003406f0
Call Trace:
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 sysfs_warn_dup.cold+0x1c/0x29 fs/sysfs/dir.c:30
Call Trace:
 sysfs_do_create_link_sd+0x116/0x130 fs/sysfs/symlink.c:50
 __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
 sysfs_do_create_link fs/sysfs/symlink.c:79 [inline]
 sysfs_create_link+0x5f/0xc0 fs/sysfs/symlink.c:91
 device_add_class_symlinks drivers/base/core.c:1934 [inline]
 device_add+0x7d1/0x16d0 drivers/base/core.c:2136
 __tipc_sendstream+0x373/0x9d0 net/tipc/socket.c:1449
 wiphy_register+0x1664/0x2130 net/wireless/core.c:832
 tipc_sendstream+0x4c/0x70 net/tipc/socket.c:1414
 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
 ieee80211_register_hw+0x13be/0x3550 net/mac80211/main.c:1106
 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
 mac80211_hwsim_new_radio+0x1d3f/0x3c60 drivers/net/wireless/mac80211_hwsim.c:2896
 vfs_write+0x1f3/0x540 fs/read_write.c:549
 ksys_write+0x12b/0x2a0 fs/read_write.c:599
 hwsim_new_radio_nl+0x5c3/0x850 drivers/net/wireless/mac80211_hwsim.c:3374
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fcb65d5c0d9
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:00007fcb642ad168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fcb65e7c050 RCX: 00007fcb65d5c0d9
RDX: 000000002000011a RSI: 0000000020000080 RDI: 0000000000000007
RBP: 00007fcb65db7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
R13: 00007ffd45f542ff R14: 00007fcb642ad300 R15: 0000000000022000
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
Modules linked in:
---[ end trace aefa5b67d687a187 ]---
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
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
RSP: 0018:ffff88809c957970 EFLAGS: 00010086
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
RAX: 000000000000004e RBX: ffff88809c957a78 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814dff01 RDI: ffffed101392af20
RBP: ffff88809c957a90 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff88809c957a98 R15: 0000000000000007
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
FS:  00007fcb642ad700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f924000 CR3: 0000000099daa000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/12 03:35 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in sysfs_warn_dup
2022/12/03 04:54 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in sysfs_warn_dup
* Struck through repros no longer work on HEAD.