syzbot


witness: reversal: lock order data missing (3)

Status: fixed on 2024/07/10 22:52
Reported-by: syzbot+444b020a92d87d6ded8b@syzkaller.appspotmail.com
Fix commit: ef9354f58d69 sync
First crash: 982d, last: 134d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd witness: reversal: lock order data missing (2) C 173 1138d 1287d 0/3 closed as invalid on 2022/02/22 18:44
openbsd witness: reversal: lock order data missing (4) 57671 1d11h 134d 0/3 upstream: reported on 2024/07/10 23:00
openbsd witness: reversal: lock order data missing C 667 1288d 1358d 3/3 fixed on 2021/05/14 01:59

Sample crash report:
witness: lock order reversal:
 1st 0xffff8000011900e0 sbufrcv (&so->so_rcv.sb_lock)
 2nd 0xfffffd807bcb8e68 inode (&ip->i_lock)
lock order [1] sbufrcv (&so->so_rcv.sb_lock) -> [2] inode (&ip->i_lock)
lock order data 0xffffffff830d5171 -> 0xffffffff8304f7ef is missing
lock order [2] inode (&ip->i_lock) -> [1] sbufrcv (&so->so_rcv.sb_lock)
#0  rw_enter+0x122
#1  sblock+0xb7 sys/kern/uipc_socket2.c:549
#2  soreceive+0x298 sys/kern/uipc_socket.c:877
#3  fifo_read+0x11a sys/miscfs/fifofs/fifo_vnops.c:264
#4  VOP_READ+0x102 sys/kern/vfs_vops.c:227
#5  vn_rdwr+0x15b
#6  vndsetcred+0xa1 sys/dev/vnd.c:684
#7  vndioctl+0xe6c sys/dev/vnd.c:485
#8  VOP_IOCTL+0xac sys/kern/vfs_vops.c:264
#9  vn_ioctl+0xf6 sys/kern/vfs_vnops.c:525
#10 sys_ioctl+0x67c
#11 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline]
#11 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
#12 Xsyscall+0x128
Stopped at      db_enter+0x25:  addq    $0x8,%rsp

Crashes (8192):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/10 21:29 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 20:35 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 20:01 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 19:35 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 18:55 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 18:22 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 17:46 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 17:04 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 16:08 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 15:25 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 14:26 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 13:52 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 13:04 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 12:56 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 11:46 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 11:42 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 10:41 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 10:40 openbsd 548c80f25ce3 e7213be3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 09:39 openbsd 548c80f25ce3 bc144f9a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 08:44 openbsd 548c80f25ce3 bc144f9a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 08:01 openbsd 548c80f25ce3 bc144f9a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/07/10 07:58 openbsd 548c80f25ce3 bc144f9a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 08:59 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 08:27 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 07:38 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 07:01 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 06:08 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 05:18 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 04:42 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 03:45 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 02:54 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 02:09 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 02:05 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 01:05 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/26 00:14 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/25 23:30 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/25 22:30 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/25 22:27 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/25 21:27 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/25 20:42 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/25 19:59 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2024/06/25 19:19 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore witness: reversal: lock order data missing
2022/03/15 20:04 openbsd 4141bb4bac68 9e8eaa75 .config console log report ci-openbsd-multicore witness: reversal: lock order data missing
* Struck through repros no longer work on HEAD.