BUG: corrupted list in sysfs_warn_dup

已查看 5 次
跳至第一个未读帖子

syzbot

未读,
2022年5月22日 00:56:282022/5/22
收件人 syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11d3ad19f00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=a33bdc172fce4b23ad60
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+a33bdc...@syzkaller.appspotmail.com

overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off.
overlayfs: unrecognized mount option "� ��oc}��k��Yd$ "��F���f����^"5s�" or missing value
sysfs: cannot create duplicate filename '/class/ieee80211/�,��;qO !'
list_del corruption, ffff888053ad7738->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:45!
CPU: 0 PID: 4628 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
CPU: 1 PID: 4543 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Call Trace:
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45
sysfs_warn_dup.cold+0x1c/0x29 fs/sysfs/dir.c:30
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
sysfs_do_create_link_sd+0x116/0x130 fs/sysfs/symlink.c:50
RSP: 0018:ffff888053ad7610 EFLAGS: 00010086
sysfs_do_create_link fs/sysfs/symlink.c:79 [inline]
sysfs_create_link+0x5f/0xc0 fs/sysfs/symlink.c:91
RAX: 000000000000004e RBX: ffff888053ad7720 RCX: 0000000000000000
device_add_class_symlinks drivers/base/core.c:1934 [inline]
device_add+0x7d1/0x16d0 drivers/base/core.c:2136
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed100a75aeb4
RBP: ffff888053ad7738 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
wiphy_register+0x1664/0x2130 net/wireless/core.c:832
R13: dead000000000100 R14: ffff888053ad7740 R15: 0000000000000007
FS: 00007f3aead25700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f68c3add1b8 CR3: 00000000a5b84000 CR4: 00000000003406e0
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_send_group_bcast+0x317/0xa10 net/tipc/socket.c:1022
hwsim_new_radio_nl+0x5c3/0x850 drivers/net/wireless/mac80211_hwsim.c:3374
__tipc_sendmsg+0xa2b/0x1320 net/tipc/socket.c:1314
genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
tipc_sendmsg+0x4c/0x70 net/tipc/socket.c:1279
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
___sys_sendmsg+0x3b3/0x8e0 net/socket.c:2227
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
__sys_sendmmsg+0x195/0x470 net/socket.c:2322
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
__do_sys_sendmmsg net/socket.c:2351 [inline]
__se_sys_sendmmsg net/socket.c:2348 [inline]
__x64_sys_sendmmsg+0x99/0x100 net/socket.c:2348
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f3aec3f20e9
__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
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3aead25168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f3aec505100 RCX: 00007f3aec3f20e9
RDX: 0000000000000092 RSI: 00000000200030c0 RDI: 0000000000000005
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
RBP: 00007f3aec44c08d R08: 0000000000000000 R09: 0000000000000000
entry_SYSCALL_64_after_hwframe+0x49/0xbe
R10: 1000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffceafe5b1f R14: 00007f3aead25300 R15: 0000000000022000
RIP: 0033:0x7f27ab62b0e9
Modules linked in:
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48
---[ end trace 5f3915b5378e088d ]---
RSP: 002b:00007f27a9fa0168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45
RAX: ffffffffffffffda RBX: 00007f27ab73df60 RCX: 00007f27ab62b0e9
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
RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000003
RSP: 0018:ffff888053ad7610 EFLAGS: 00010086
RBP: 00007f27ab68508d R08: 0000000000000000 R09: 0000000000000000
RAX: 000000000000004e RBX: ffff888053ad7720 RCX: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed100a75aeb4
R13: 00007ffdbb97520f R14: 00007f27a9fa0300 R15: 0000000000022000
RBP: ffff888053ad7738 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff888053ad7740 R15: 0000000000000007
FS: 00007f3aead25700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f68c3add1b8 CR3: 00000000a5b84000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: ff c3 inc %ebx
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 40 00 nopl 0x0(%rax)
10: 48 89 f8 mov %rdi,%rax
13: 48 89 f7 mov %rsi,%rdi
16: 48 89 d6 mov %rdx,%rsi
19: 48 89 ca mov %rcx,%rdx
1c: 4d 89 c2 mov %r8,%r10
1f: 4d 89 c8 mov %r9,%r8
22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
27: 0f 05 syscall
* 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
2f: 73 01 jae 0x32
31: c3 retq
32: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx
39: f7 d8 neg %eax
3b: 64 89 01 mov %eax,%fs:(%rcx)
3e: 48 rex.W


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

未读,
2022年9月19日 00:55:292022/9/19
收件人 syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
回复全部
回复作者
转发
0 个新帖子