Hello,
syzbot found the following issue on:
HEAD commit: c4215ee4771b Linux 4.14.302
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=17f85096480000
kernel config:
https://syzkaller.appspot.com/x/.config?x=4a9988fe055c9527
dashboard link:
https://syzkaller.appspot.com/bug?extid=adb181e90f6aa46b5713
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=144ad329480000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/c93ba055d204/disk-c4215ee4.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/bfbc929a33c1/vmlinux-c4215ee4.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/444658051770/bzImage-c4215ee4.xz
mounted in repro:
https://storage.googleapis.com/syzbot-assets/9873eab59283/mount_0.gz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+adb181...@syzkaller.appspotmail.com
EXT4-fs (loop4): mounted filesystem without journal. Opts: quota,jqfmt=vfsv0,nouid32,,errors=continue
EXT4-fs (loop1): mounted filesystem without journal. Opts: quota,jqfmt=vfsv0,nouid32,,errors=continue
EXT4-fs (loop2): mounted filesystem without journal. Opts: quota,jqfmt=vfsv0,nouid32,,errors=continue
EXT4-fs (loop3): Quota format mount options ignored when QUOTA feature is enabled
------------[ cut here ]------------
WARNING: CPU: 0 PID: 9586 at kernel/locking/lockdep.c:722 look_up_lock_class kernel/locking/lockdep.c:689 [inline]
WARNING: CPU: 0 PID: 9586 at kernel/locking/lockdep.c:722 register_lock_class+0x85c/0x1180 kernel/locking/lockdep.c:756
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 9586 Comm: syz-executor.2 Not tainted 4.14.302-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x281 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x44 kernel/panic.c:547
report_bug+0x208/0x250 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967
RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:722 [inline]
RIP: 0010:register_lock_class+0x85c/0x1180 kernel/locking/lockdep.c:756
RSP: 0018:ffff88809b7df0f8 EFLAGS: 00010087
EXT4-fs (loop5): Quota format mount options ignored when QUOTA feature is enabled
RAX: dffffc0000000000 RBX: ffffffff87933140 RCX: 0000000000000001
RDX: 1ffff1101135c151 RSI: 0000000000000002 RDI: ffff888089ae0a88
RBP: ffffffff8907d210 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: ffff8880b48c4040 R12: ffffffff8becfdc0
R13: ffff888089ae0a70 R14: 0000000000000000 R15: ffffffff8ba3ff30
__lock_acquire+0x167/0x3f20 kernel/locking/lockdep.c:3378
lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
down_write+0x34/0x90 kernel/locking/rwsem.c:54
inode_lock include/linux/fs.h:719 [inline]
ext4_xattr_inode_update_ref+0xe6/0x4d0 fs/ext4/xattr.c:1027
ext4_xattr_inode_inc_ref fs/ext4/xattr.c:1091 [inline]
ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1530 [inline]
ext4_xattr_set_entry+0x23cf/0x31c0 fs/ext4/xattr.c:1669
ext4_xattr_block_set+0x52a/0x2b30 fs/ext4/xattr.c:1892
ext4_xattr_set_handle+0x881/0xda0 fs/ext4/xattr.c:2416
ext4_xattr_set+0x118/0x230 fs/ext4/xattr.c:2516
__vfs_setxattr+0xdc/0x130 fs/xattr.c:150
__vfs_setxattr_noperm+0xfd/0x3d0 fs/xattr.c:181
__vfs_setxattr_locked+0x14d/0x250 fs/xattr.c:239
vfs_setxattr+0xcf/0x230 fs/xattr.c:256
setxattr+0x1a9/0x300 fs/xattr.c:523
path_setxattr+0x118/0x130 fs/xattr.c:542
SYSC_setxattr fs/xattr.c:557 [inline]
SyS_setxattr+0x36/0x50 fs/xattr.c:553
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7f6809b4d0c9
RSP: 002b:00007f6808ebf168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f6809c6cf80 RCX: 00007f6809b4d0c9
RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 0000000020000080
RBP: 00007f6809ba8ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffefe88394f R14: 00007f6808ebf300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
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 can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches