syzbot


WARNING in sysfs_warn_dup (2)

Status: auto-closed as invalid on 2021/07/09 11:24
Reported-by: syzbot+09f5f2b89ff401cfb86d@syzkaller.appspotmail.com
First crash: 1363d, last: 1363d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in sysfs_warn_dup gfs2 C 4771 638d 2063d 0/1 upstream: reported C repro on 2019/04/11 12:48
upstream WARNING in sysfs_warn_dup fs 11 2499d 2542d 4/28 fixed on 2018/02/04 23:45
linux-4.19 WARNING in sysfs_warn_dup 1 1533d 1533d 0/1 auto-closed as invalid on 2021/01/21 01:19

Sample crash report:
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fda8a5b3000
RBP: 00007fda8a5b3040 R08: 00007fda8a5b3040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000
R13: 0000000020000100 R14: 00007fda8a5b3000 R15: 0000000020047a20
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7818 at net/mac80211/rx.c:4511 ieee80211_rx_napi.cold+0x11/0x80 net/mac80211/rx.c:4511
CPU: 1 PID: 14133 Comm: syz-executor.2 Not tainted 4.19.179-syzkaller #0
Kernel panic - not syncing: panic_on_warn set ...

Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 sysfs_warn_dup.cold+0x1c/0x29 fs/sysfs/dir.c:30
 sysfs_create_dir_ns+0x228/0x280 fs/sysfs/dir.c:63
 create_dir lib/kobject.c:88 [inline]
 kobject_add_internal+0x2a5/0x9c0 lib/kobject.c:247
 kobject_add_varg lib/kobject.c:382 [inline]
 kobject_init_and_add+0x101/0x160 lib/kobject.c:453
 gfs2_sys_fs_add+0x18e/0x440 fs/gfs2/sys.c:659
 fill_super+0x1240/0x2550 fs/gfs2/ops_fstype.c:1103
 gfs2_mount+0x4c0/0x5a0 fs/gfs2/ops_fstype.c:1316
 mount_fs+0xa3/0x310 fs/super.c:1261
 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
 vfs_kern_mount fs/namespace.c:951 [inline]
 do_new_mount fs/namespace.c:2469 [inline]
 do_mount+0x113c/0x2f10 fs/namespace.c:2799
 ksys_mount+0xcf/0x130 fs/namespace.c:3015
 __do_sys_mount fs/namespace.c:3029 [inline]
 __se_sys_mount fs/namespace.c:3026 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3026
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x46748a
Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe1badd5fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046748a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fe1badd6000
RBP: 00007fe1badd6040 R08: 00007fe1badd6040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000
R13: 0000000020000100 R14: 00007fe1badd6000 R15: 0000000020047a20
CPU: 0 PID: 7818 Comm: in:imklog Not tainted 4.19.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:ieee80211_rx_napi.cold+0x11/0x80 net/mac80211/rx.c:4511
Code: ff e8 f5 ad 50 f9 48 c7 c7 20 4a 67 89 e8 a3 53 df ff 0f 0b e9 c3 34 8c ff e8 dd ad 50 f9 48 c7 c7 20 4a 67 89 e8 8b 53 df ff <0f> 0b e9 15 ab 8c ff e8 c5 ad 50 f9 48 c7 c7 20 4a 67 89 e8 73 53
RSP: 0018:ffff8880ba007d30 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff8880495f3328 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff814de3d1 RDI: ffffed1017400f98
RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff888096940140
R13: ffff8880495f19e0 R14: ffff8880495f19e0 R15: ffff888096940140
 ieee80211_rx include/net/mac80211.h:4109 [inline]
 ieee80211_tasklet_handler+0x101/0x160 net/mac80211/main.c:229
 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 call_function_single_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:916
 </IRQ>
RIP: 0010:syslog_print kernel/printk/printk.c:1374 [inline]
RIP: 0010:do_syslog.part.0+0x4bd/0x1510 kernel/printk/printk.c:1505
Code: 00 00 00 fc ff df 80 3c 08 00 0f 85 8e 0f 00 00 48 83 3d 8d 0b a4 08 00 0f 84 c1 0d 00 00 e8 da e9 14 00 fb 66 0f 1f 44 00 00 <31> ff 48 89 ee e8 59 eb 14 00 48 85 ed 74 61 e8 bf e9 14 00 4c 8b
RSP: 0018:ffff8880a2dcfab8 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff04
RAX: ffff8880a37145c0 RBX: 0000000000001ed4 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff814d76d6 RDI: ffff8880a3714e44
RBP: 0000000000000034 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000039fd4
R13: ffffffff8d1fc120 R14: 00000000000000cc R15: 00007f3831276e6c
 do_syslog+0x49/0x60 kernel/printk/printk.c:1486
 kmsg_read+0x8a/0xb0 fs/proc/kmsg.c:40
 proc_reg_read+0x1bd/0x2d0 fs/proc/inode.c:231
 __vfs_read+0xf7/0x750 fs/read_write.c:416
 vfs_read+0x194/0x3c0 fs/read_write.c:452
 ksys_read+0x12b/0x2a0 fs/read_write.c:579
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f38338da22d
Code: c1 20 00 00 75 10 b8 00 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 b8 00 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 97 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007f3831276580 EFLAGS: 00000293 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f38338da22d
RDX: 0000000000001fa0 RSI: 00007f3831276da0 RDI: 0000000000000004
RBP: 000055ebced989d0 R08: 0000000000000000 R09: 0000000000000000
R10: 2ce33e6c02ce33e7 R11: 0000000000000293 R12: 00007f3831276da0
R13: 0000000000001fa0 R14: 0000000000001f9f R15: 00007f3831276ef0
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/11 11:23 linux-4.19.y 2cae3e25b706 c2ca1f2a .config console log report info ci2-linux-4-19 WARNING in sysfs_warn_dup
* Struck through repros no longer work on HEAD.