syzbot


general protection fault in rcu_sync_func (2)

Status: auto-obsoleted due to no activity on 2024/01/09 18:18
Reported-by: syzbot+5a4973c2e1336d3c96a4@syzkaller.appspotmail.com
First crash: 717d, last: 420d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in rcu_sync_func bluetooth 1 1938d 1934d 0/28 auto-closed as invalid on 2019/11/01 16:33
upstream general protection fault in rcu_sync_func (2) bluetooth 1 975d 971d 0/28 auto-closed as invalid on 2022/06/22 01:15
upstream general protection fault in rcu_sync_func (3) bluetooth 2 804d 818d 0/28 auto-obsoleted due to no activity on 2022/11/09 20:30
android-54 general protection fault in rcu_sync_func 2 1149d 1178d 0/2 auto-closed as invalid on 2022/01/28 23:25

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5139 Comm: syz-executor.3 Not tainted 5.4.249-syzkaller-00008-ga1b9dbe5628a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:__wake_up_common kernel/sched/wait.c:81 [inline]
RIP: 0010:__wake_up_locked+0x5d/0x110 kernel/sched/wait.c:151
Code: e8 58 10 4a 00 48 ba 00 00 00 00 00 fc ff df 4d 8b 34 24 4d 39 e6 0f 84 b1 00 00 00 4c 89 f3 49 8d 6e e8 4c 89 f0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 25 10 4a 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffff8881ab597900 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881b15d8898
RBP: ffffffffffffffe8 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881b15d88a0
R13: ffff8881b15d88b0 R14: 0000000000000000 R15: 0000000000000001
FS:  00007ff1bea7d6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200e0030 CR3: 00000001e7c5a000 CR4: 00000000003426b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rcu_sync_func+0xaa/0x210 kernel/rcu/sync.c:87
 rcu_sync_enter+0x1ec/0x330 kernel/rcu/sync.c:150
 percpu_down_write+0x72/0x350 kernel/locking/percpu-rwsem.c:146
 hci_uart_tty_close+0x11e/0x220 drivers/bluetooth/hci_ldisc.c:536
 tty_ldisc_close drivers/tty/tty_ldisc.c:494 [inline]
 tty_ldisc_kill+0x100/0x220 drivers/tty/tty_ldisc.c:642
 tty_ldisc_hangup+0x39d/0x4a0 drivers/tty/tty_ldisc.c:761
 __tty_hangup+0x62d/0x8a0 drivers/tty/tty_io.c:624
 tty_vhangup drivers/tty/tty_io.c:697 [inline]
 tty_ioctl+0x639/0xcb0 drivers/tty/tty_io.c:2600
 do_vfs_ioctl+0x742/0x1720 fs/ioctl.c:47
 ksys_ioctl fs/ioctl.c:742 [inline]
 __do_sys_ioctl fs/ioctl.c:749 [inline]
 __se_sys_ioctl fs/ioctl.c:747 [inline]
 __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
Modules linked in:
---[ end trace ac071059c23b4b7f ]---
RIP: 0010:__wake_up_common kernel/sched/wait.c:81 [inline]
RIP: 0010:__wake_up_locked+0x5d/0x110 kernel/sched/wait.c:151
Code: e8 58 10 4a 00 48 ba 00 00 00 00 00 fc ff df 4d 8b 34 24 4d 39 e6 0f 84 b1 00 00 00 4c 89 f3 49 8d 6e e8 4c 89 f0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 25 10 4a 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffff8881ab597900 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881b15d8898
RBP: ffffffffffffffe8 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881b15d88a0
R13: ffff8881b15d88b0 R14: 0000000000000000 R15: 0000000000000001
FS:  00007ff1bea7d6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200e0030 CR3: 00000001e7c5a000 CR4: 00000000003426b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e8 58 10 4a 00       	call   0x4a105d
   5:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
   c:	fc ff df
   f:	4d 8b 34 24          	mov    (%r12),%r14
  13:	4d 39 e6             	cmp    %r12,%r14
  16:	0f 84 b1 00 00 00    	je     0xcd
  1c:	4c 89 f3             	mov    %r14,%rbx
  1f:	49 8d 6e e8          	lea    -0x18(%r14),%rbp
  23:	4c 89 f0             	mov    %r14,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 10 00          	cmpb   $0x0,(%rax,%rdx,1) <-- trapping instruction
  2e:	74 12                	je     0x42
  30:	48 89 df             	mov    %rbx,%rdi
  33:	e8 25 10 4a 00       	call   0x4a105d
  38:	48                   	rex.W
  39:	ba 00 00 00 00       	mov    $0x0,%edx
  3e:	00 fc                	add    %bh,%ah

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/29 17:58 android12-5.4 a1b9dbe5628a 8e26a358 .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/09/04 21:42 android12-5.4 50533a8b511b db3306a6 .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/08/22 10:00 android12-5.4 a14f43f0b97d 6b415825 .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/07/12 16:09 android12-5.4 6d5c2c1877e5 979d5fe2 .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/06/28 23:55 android12-5.4 487daef44f9f ca69c785 .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/06/13 19:55 android12-5.4 39a9b92e9828 d2ee9228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/05/27 02:26 android12-5.4 83702fb23e25 cf184559 .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/25 15:09 android12-5.4 0108362f3305 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/23 12:03 android12-5.4 0108362f3305 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/23 04:06 android12-5.4 0108362f3305 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/13 08:38 android12-5.4 21086923c1e6 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/12 02:40 android12-5.4 21086923c1e6 49faf98d .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/10 16:59 android12-5.4 21086923c1e6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/10 06:36 android12-5.4 21086923c1e6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/08 22:48 android12-5.4 21086923c1e6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/08 22:43 android12-5.4 21086923c1e6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/08 21:23 android12-5.4 21086923c1e6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/04/06 03:00 android12-5.4 21086923c1e6 8b834965 .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/03/30 01:16 android12-5.4 da100c5e0cf5 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/03/09 08:55 android12-5.4 250ac66f1853 f08b59ac .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2023/01/11 13:13 android12-5.4 4a947285bcca 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan general protection fault in rcu_sync_func
2022/12/15 11:13 android12-5.4 a76dfbc99260 6f9c033e .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
2022/12/06 23:13 android12-5.4 d7e5d5321233 d88f3abb .config console log report info ci2-android-5-4-kasan general protection fault in rcu_sync_func
* Struck through repros no longer work on HEAD.