LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* WARNING in unlock_new_inode
@ 2018-04-19 16:02 syzbot
  2018-04-19 17:04 ` syzbot
  0 siblings, 1 reply; 2+ messages in thread
From: syzbot @ 2018-04-19 16:02 UTC (permalink / raw)
  To: linux-fsdevel, linux-kernel, syzkaller-bugs, viro

Hello,

syzbot hit the following crash on upstream commit
9dd2326890d89a5179967c947dab2bab34d7ddee (Fri Mar 30 17:29:47 2018 +0000)
Merge tag 'ceph-for-4.16-rc8' of git://github.com/ceph/ceph-client
syzbot dashboard link:  
https://syzkaller.appspot.com/bug?extid=187510916eb6a14598f7

So far this crash happened 4 times on upstream.
Unfortunately, I don't have any reproducer for this crash yet.
Raw console output:  
https://syzkaller.appspot.com/x/log.txt?id=6437140946747392
Kernel config:  
https://syzkaller.appspot.com/x/.config?id=-2760467897697295172
compiler: gcc (GCC) 7.1.1 20170620

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+187510916eb6a14598f7@syzkaller.appspotmail.com
It will help syzbot understand when the bug is fixed. See footer for  
details.
If you forward the report, please keep this part and the footer.

hfs: can't find a HFS filesystem on dev loop3
FAT-fs (loop3): invalid media value (0xd8)
FAT-fs (loop3): Can't find a valid FAT filesystem
REISERFS (device loop2): Using r5 hash to sort names
REISERFS (device loop2): using 3.5.x disk format
WARNING: CPU: 1 PID: 21970 at fs/inode.c:958 unlock_new_inode+0xea/0x120  
fs/inode.c:958
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 21970 Comm: syz-executor2 Not tainted 4.16.0-rc7+ #7
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
Call Trace:
  __dump_stack lib/dump_stack.c:17 [inline]
  dump_stack+0x194/0x24d lib/dump_stack.c:53
  panic+0x1e4/0x41c kernel/panic.c:183
  __warn+0x1dc/0x200 kernel/panic.c:547
  report_bug+0x1f4/0x2b0 lib/bug.c:186
  fixup_bug.part.10+0x37/0x80 arch/x86/kernel/traps.c:178
  fixup_bug arch/x86/kernel/traps.c:247 [inline]
  do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
  do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
  invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:986
RIP: 0010:unlock_new_inode+0xea/0x120 fs/inode.c:958
RSP: 0018:ffff8801ad387120 EFLAGS: 00010246
RAX: 0000000000040000 RBX: ffff88017ecfe1a8 RCX: ffffffff81b7f52a
RDX: 0000000000040000 RSI: ffffc900036cc000 RDI: ffff88017ecfe234
RBP: ffff8801ad387140 R08: 1ffff10035a70d63 R09: 0000000000000004
R10: ffff8801ad386fd8 R11: 0000000000000007 R12: 0000000000000000
R13: ffff88017ecfe280 R14: ffff88017ecfe230 R15: ffff8801ad387598
  reiserfs_new_inode+0x616/0x32a0 fs/reiserfs/inode.c:2159
  reiserfs_mkdir+0x418/0x840 fs/reiserfs/namei.c:840
  xattr_mkdir.constprop.14+0x115/0x170 fs/reiserfs/xattr.c:76
  create_privroot fs/reiserfs/xattr.c:857 [inline]
  reiserfs_xattr_init+0x501/0x970 fs/reiserfs/xattr.c:976
  reiserfs_fill_super+0x2b26/0x33a0 fs/reiserfs/super.c:2176
  mount_bdev+0x2b7/0x370 fs/super.c:1119
  get_super_block+0x34/0x40 fs/reiserfs/super.c:2605
  mount_fs+0x66/0x2d0 fs/super.c:1222
  vfs_kern_mount.part.26+0xc6/0x4a0 fs/namespace.c:1037
  vfs_kern_mount fs/namespace.c:2509 [inline]
  do_new_mount fs/namespace.c:2512 [inline]
  do_mount+0xea4/0x2bb0 fs/namespace.c:2842
  SYSC_mount fs/namespace.c:3058 [inline]
  SyS_mount+0xab/0x120 fs/namespace.c:3035
  do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287
  entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x4578aa
RSP: 002b:00007f3983b39bb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 00000000004578aa
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f3983b39c00
RBP: 0000000000000007 R08: 0000000020011500 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000013
R13: 000000000000066d R14: 00000000006fbad8 R15: 0000000000000000
Dumping ftrace buffer:
    (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This bug is generated by a dumb bot. It may contain errors.
See https://goo.gl/tpsmEJ for details.
Direct all questions to syzkaller@googlegroups.com.

syzbot will keep track of this bug report.
If you forgot to add the Reported-by tag, once the fix for this bug is  
merged
into any tree, please reply to this email with:
#syz fix: exact-commit-title
To mark this as a duplicate of another syzbot report, please reply with:
#syz dup: exact-subject-of-another-report
If it's a one-off invalid bug report, please reply with:
#syz invalid
Note: if the crash happens again, it will cause creation of a new bug  
report.
Note: all commands must start from beginning of the line in the email body.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: WARNING in unlock_new_inode
  2018-04-19 16:02 WARNING in unlock_new_inode syzbot
@ 2018-04-19 17:04 ` syzbot
  0 siblings, 0 replies; 2+ messages in thread
From: syzbot @ 2018-04-19 17:04 UTC (permalink / raw)
  To: linux-fsdevel, linux-kernel, syzkaller-bugs, viro

syzbot has found reproducer for the following crash on upstream commit
87ef12027b9b1dd0e0b12cf311fbcb19f9d92539 (Wed Apr 18 19:48:17 2018 +0000)
Merge tag 'ceph-for-4.17-rc2' of git://github.com/ceph/ceph-client
syzbot dashboard link:  
https://syzkaller.appspot.com/bug?extid=187510916eb6a14598f7

So far this crash happened 5 times on upstream.
C reproducer: https://syzkaller.appspot.com/x/repro.c?id=5714618731200512
syzkaller reproducer:  
https://syzkaller.appspot.com/x/repro.syz?id=5309622306996224
Raw console output:  
https://syzkaller.appspot.com/x/log.txt?id=5896539788541952
Kernel config:  
https://syzkaller.appspot.com/x/.config?id=1808800213120130118
compiler: gcc (GCC) 8.0.1 20180413 (experimental)

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+187510916eb6a14598f7@syzkaller.appspotmail.com
It will help syzbot understand when the bug is fixed.

reiserfs: using flush barriers
REISERFS (device loop0): journal params: device loop0, size 512, journal  
first block 18, max trans len 256, max batch 225, max commit age 30, max  
trans age 30
REISERFS (device loop0): checking transaction log (loop0)
REISERFS (device loop0): Using r5 hash to sort names
REISERFS (device loop0): using 3.5.x disk format
WARNING: CPU: 1 PID: 4507 at fs/inode.c:962 unlock_new_inode+0x107/0x130  
fs/inode.c:962
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4507 Comm: syzkaller359861 Not tainted 4.17.0-rc1+ #8
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+0x1b9/0x294 lib/dump_stack.c:113
  panic+0x22f/0x4de kernel/panic.c:184
  __warn.cold.8+0x163/0x1b3 kernel/panic.c:536
  report_bug+0x252/0x2d0 lib/bug.c:186
  fixup_bug arch/x86/kernel/traps.c:178 [inline]
  do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296
  do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
  invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:unlock_new_inode+0x107/0x130 fs/inode.c:962
RSP: 0018:ffff8801ac0670b8 EFLAGS: 00010293
RAX: ffff8801d02b0040 RBX: ffff8801c4661780 RCX: ffffffff81c6eb00
RDX: 0000000000000000 RSI: ffffffff81c6eb57 RDI: 0000000000000007
RBP: ffff8801ac0670e0 R08: ffff8801d02b0040 R09: ffffed00388cc301
R10: ffffed00388cc301 R11: ffff8801c466180b R12: 0000000000000000
R13: ffff8801c4661858 R14: ffff8801c4661808 R15: 0000000000000000
  reiserfs_new_inode+0x643/0x32f0 fs/reiserfs/inode.c:2159
  reiserfs_mkdir+0x4af/0x8b0 fs/reiserfs/namei.c:840
  xattr_mkdir.constprop.15+0x135/0x1a0 fs/reiserfs/xattr.c:76
  create_privroot fs/reiserfs/xattr.c:857 [inline]
  reiserfs_xattr_init+0x53d/0xa59 fs/reiserfs/xattr.c:976
  reiserfs_fill_super+0x27a0/0x3900 fs/reiserfs/super.c:2177
  mount_bdev+0x30c/0x3e0 fs/super.c:1165
  get_super_block+0x34/0x40 fs/reiserfs/super.c:2605
  mount_fs+0xae/0x328 fs/super.c:1268
  vfs_kern_mount.part.34+0xd4/0x4d0 fs/namespace.c:1037
  vfs_kern_mount fs/namespace.c:1027 [inline]
  do_new_mount fs/namespace.c:2517 [inline]
  do_mount+0x564/0x3070 fs/namespace.c:2847
  ksys_mount+0x12d/0x140 fs/namespace.c:3063
  __do_sys_mount fs/namespace.c:3077 [inline]
  __se_sys_mount fs/namespace.c:3074 [inline]
  __x64_sys_mount+0xbe/0x150 fs/namespace.c:3074
  do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
  entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44306a
RSP: 002b:00007ffe74640c18 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000200002a0 RCX: 000000000044306a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe74640c20
RBP: 0000000000000003 R08: 0000000020011500 R09: 000000000000000a
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004
R13: 0000000000401f60 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
    (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-19 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-19 16:02 WARNING in unlock_new_inode syzbot
2018-04-19 17:04 ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).