Hello,
When using Healer to fuzz the latest Linux kernel, the following crash
was triggered.
HEAD commit: f25a5481af12 Merge tag 'libnvdimm-fixes-5.15-rc8'
git tree: upstream
console output: https://paste.ubuntu.com/p/nk3R6rmF8j/
kernel config: https://paste.ubuntu.com/p/ygjjwKn86x/
Sorry, I don't have a reproducer for this crash, hope the symbolized
report can help.
If you fix this issue, please add the following tag to the commit:
Reported-by: Hao Sun <[email protected]>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7252 at kernel/locking/lockdep.c:897
look_up_lock_class.isra.0+0x6c/0xe0 kernel/locking/lockdep.c:897
Modules linked in:
CPU: 0 PID: 7252 Comm: syz-executor Not tainted 5.15.0-rc7+ #5
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.13.0-1ubuntu1.1 04/01/2014
RIP: 0010:look_up_lock_class.isra.0+0x6c/0xe0 kernel/locking/lockdep.c:897
Code: 48 85 c0 75 0a eb 59 48 8b 00 48 85 c0 74 51 48 3b 50 40 75 f2
48 8b 0e 48 39 88 b0 00 00 00 74 41 48 81 3f 40 e4 ef 8e 74 38 <0f> 0b
48 83 c4 08 c3 9c 59 80 e5 02 74 c0 e8 91 47 ac fa 85 c0 74
RSP: 0018:ffffc90007f2f728 EFLAGS: 00010006
RAX: ffffffff8fd48380 RBX: ffffffff902488e0 RCX: ffffffff8aa6dfe0
RDX: ffffffff905bf3c0 RSI: ffff8880127b38b8 RDI: ffff8880127b38a0
RBP: ffff8880127b38a0 R08: 0000000000000001 R09: 0000000000000000
R10: ffff888063e32a0b R11: ffffed100c7c6541 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880127b38b8 R15: 1ffff92000fe5eef
FS: 00007f7d8ac4c700(0000) GS:ffff888063e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000001d598000 CR4: 0000000000350ef0
Call Trace:
register_lock_class+0xc4/0x1950 kernel/locking/lockdep.c:1246
__lock_acquire+0x106/0x57e0 kernel/locking/lockdep.c:4894
lock_acquire kernel/locking/lockdep.c:5625 [inline]
lock_acquire+0x1ab/0x520 kernel/locking/lockdep.c:5590
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
_raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:368 [inline]
lock_sock_nested+0x5d/0xf0 net/core/sock.c:3206
lock_sock include/net/sock.h:1615 [inline]
do_ipv6_setsockopt.isra.0+0x30b/0x4260 net/ipv6/ipv6_sockglue.c:418
ipv6_setsockopt+0x113/0x190 net/ipv6/ipv6_sockglue.c:1003
udpv6_setsockopt+0x76/0xc0 net/ipv6/udp.c:1647
__sys_setsockopt+0x2db/0x610 net/socket.c:2176
__do_sys_setsockopt net/socket.c:2187 [inline]
__se_sys_setsockopt net/socket.c:2184 [inline]
__x64_sys_setsockopt+0xba/0x150 net/socket.c:2184
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f7d8d6e3c4d
Code: 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7d8ac4bc58 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f7d8d80a0a0 RCX: 00007f7d8d6e3c4d
RDX: 0000000000000036 RSI: 0000000000000029 RDI: 0000000000000005
RBP: 00007f7d8d75cd80 R08: 0000000000000008 R09: 0000000000000000
R10: 00000000200000c0 R11: 0000000000000246 R12: 00007f7d8d80a0a0
R13: 00007ffcb83da37f R14: 00007ffcb83da520 R15: 00007f7d8ac4bdc0