syzbot


WARNING: locking bug in ipv6_setsockopt (2)

Status: closed as invalid on 2022/10/12 16:59
Subsystems: net
[Documentation on labels]
First crash: 1034d, last: 792d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit 90647d9d725068ad27d39f80d2b4a5150d041038
Author: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Date: Fri Mar 25 01:09:43 2022 +0000

  selftest/vm: add util.h and and move helper functions there

  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in ipv6_setsockopt net 1 1327d 1327d 0/26 auto-closed as invalid on 2020/12/06 17:02
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/10/07 04:30 12m retest repro upstream report log
Fix bisection attempts (9)
Created Duration User Patch Repo Result
2022/03/26 15:33 4h32m bisect fix upstream job log (1)
2022/02/24 12:17 30m bisect fix upstream job log (0) log
2022/01/25 08:36 31m bisect fix upstream job log (0) log
2021/12/26 08:09 27m bisect fix upstream job log (0) log
2021/11/26 06:46 31m bisect fix upstream job log (0) log
2021/10/27 06:14 31m bisect fix upstream job log (0) log
2021/09/25 15:59 31m bisect fix upstream job log (0) log
2021/08/26 07:23 32m bisect fix upstream job log (0) log
2021/07/27 03:39 31m bisect fix upstream job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 11104 at kernel/locking/lockdep.c:898 look_up_lock_class+0x110/0x120 kernel/locking/lockdep.c:888
Modules linked in:
CPU: 0 PID: 11104 Comm: syz-executor.0 Not tainted 5.13.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:look_up_lock_class+0x110/0x120 kernel/locking/lockdep.c:888
Code: 31 db 85 c0 74 af 83 3d 45 9c 77 04 00 75 a6 31 db 48 c7 c7 a0 94 2e 8a 48 c7 c6 e0 94 2e 8a 31 c0 e8 84 97 8a f7 0f 0b eb 8b <0f> 0b eb 87 e8 f7 fa ff ff 0f 1f 80 00 00 00 00 55 53 bd 01 00 00
RSP: 0018:ffffc90002e7ee58 EFLAGS: 00010002
RAX: ffffffff8fa0e960 RBX: ffffffff90040e00 RCX: 0000000000000a3e
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88802ff86560
RBP: 0000000000000000 R08: dffffc0000000000 R09: 0000000000000000
R10: fffffbfff1c7066e R11: 0000000000000000 R12: ffff88802ff86560
R13: 0000000000000001 R14: 1ffff920005cfddc R15: dffffc0000000000
FS:  00007f6a2c171700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6a2c171718 CR3: 000000002d6ca000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 register_lock_class+0xd7/0x1210 kernel/locking/lockdep.c:1246
 __lock_acquire+0x186/0x6040 kernel/locking/lockdep.c:4783
 lock_acquire+0x182/0x4a0 kernel/locking/lockdep.c:5514
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:175
 spin_lock_bh include/linux/spinlock.h:359 [inline]
 lock_sock_nested+0x48/0x110 net/core/sock.c:3065
 lock_sock include/net/sock.h:1610 [inline]
 do_ipv6_setsockopt net/ipv6/ipv6_sockglue.c:418 [inline]
 ipv6_setsockopt+0x542/0x5770 net/ipv6/ipv6_sockglue.c:1003
 __sys_setsockopt+0x552/0x990 net/socket.c:2104
 __do_sys_setsockopt net/socket.c:2115 [inline]
 __se_sys_setsockopt net/socket.c:2112 [inline]
 __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2112
 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6a2c171188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9
RDX: 000000000000003b RSI: 0000000000000029 RDI: 0000000000000004
RBP: 00000000004bfcb9 R08: 0000000000000008 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038
R13: 00007ffd799e7eff R14: 00007f6a2c171300 R15: 0000000000022000

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/27 03:39 upstream 625acffd7ae2 9d2ab5df .config console log report syz ci-upstream-kasan-gce-smack-root WARNING: locking bug in ipv6_setsockopt
* Struck through repros no longer work on HEAD.