syzbot


general protection fault in llc_ui_autobind

Status: upstream: reported C repro on 2022/03/28 09:52
Reported-by: syzbot+90a70acfb24f1d6bf70c@syzkaller.appspotmail.com
First crash: 760d, last: 433d
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2023/02/19 01:54 28m bisect fix linux-4.14.y job log (0) log
2023/01/19 17:19 24m bisect fix linux-4.14.y job log (0) log
2022/10/26 15:24 23m bisect fix linux-4.14.y job log (0) log
2022/09/17 05:56 22m bisect fix linux-4.14.y job log (0) log
2022/08/18 04:02 25m bisect fix linux-4.14.y job log (0) log
2022/07/19 03:30 25m bisect fix linux-4.14.y job log (0) log
2022/06/19 02:50 25m bisect fix linux-4.14.y job log (0) log
2022/05/20 02:26 22m bisect fix linux-4.14.y job log (0) log

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
Modules linked in:
CPU: 1 PID: 7962 Comm: syz-executor337 Not tainted 4.14.275-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880b51a0040 task.stack: ffff88809bd10000
RIP: 0010:dev_put include/linux/netdevice.h:3381 [inline]
RIP: 0010:llc_ui_autobind.isra.0+0x26b/0x390 net/llc/af_llc.c:320
RSP: 0018:ffff88809bd17bf8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8880b31a69c0 RCX: 1ffffffff127a4bc
RDX: 00000000000000a8 RSI: ffff88809bd17e28 RDI: 0000000000000540
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000001 R12: 00000000ffffffea
R13: ffff88809bd17e28 R14: ffff8880940304c0 R15: ffff8880940304e0
FS:  00005555572f2300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001380 CR3: 00000000a4dd9000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 llc_ui_sendmsg+0x638/0xec0 net/llc/af_llc.c:952
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7ffb767a4019
RSP: 002b:00007fffed09e518 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ffb767a4019
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007ffb76768000 R08: 0000000020001380 R09: 0000000000000080
R10: 00000000000040c0 R11: 0000000000000246 R12: 00007ffb76768090
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Code: 55 ff ff 48 0f ba 73 60 08 45 31 e4 31 ed e8 dd 7c 84 fb 48 8d bd 40 05 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 f2 00 00 00 48 8b 85 40 05 00 00 65 ff 08 44 
RIP: dev_put include/linux/netdevice.h:3381 [inline] RSP: ffff88809bd17bf8
RIP: llc_ui_autobind.isra.0+0x26b/0x390 net/llc/af_llc.c:320 RSP: ffff88809bd17bf8
---[ end trace 492e12486ae8ea34 ]---
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	ff 48 0f             	decl   0xf(%rax)
   3:	ba 73 60 08 45       	mov    $0x45086073,%edx
   8:	31 e4                	xor    %esp,%esp
   a:	31 ed                	xor    %ebp,%ebp
   c:	e8 dd 7c 84 fb       	callq  0xfb847cee
  11:	48 8d bd 40 05 00 00 	lea    0x540(%rbp),%rdi
  18:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1f:	fc ff df
  22:	48 89 fa             	mov    %rdi,%rdx
  25:	48 c1 ea 03          	shr    $0x3,%rdx
* 29:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2d:	0f 85 f2 00 00 00    	jne    0x125
  33:	48 8b 85 40 05 00 00 	mov    0x540(%rbp),%rax
  3a:	65 ff 08             	decl   %gs:(%rax)
  3d:	44                   	rex.R

Crashes (2060):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/07 12:05 linux-4.14.y 74766a973637 53c67432 .config console log report syz C ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/05 04:22 linux-4.14.y 74766a973637 5915c2cb .config console log report syz C ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/03/28 18:37 linux-4.14.y af1af6ebca0e 89bc8608 .config console log report syz C ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/20 01:53 linux-4.14.y 74766a973637 33fc6ed6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/20 00:25 linux-4.14.y 74766a973637 33fc6ed6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 23:17 linux-4.14.y 74766a973637 33fc6ed6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 21:57 linux-4.14.y 74766a973637 33fc6ed6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 21:36 linux-4.14.y 74766a973637 33fc6ed6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 20:30 linux-4.14.y 74766a973637 33fc6ed6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 09:42 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 09:25 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 08:07 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 06:55 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 06:29 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 04:05 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 02:49 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 01:37 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/19 00:28 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 22:28 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 20:59 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 19:40 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 17:15 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 15:58 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 14:13 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 13:12 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 11:53 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 11:51 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 10:50 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 09:25 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 08:21 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 08:16 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 07:02 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 06:01 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 04:22 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 04:05 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 02:34 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/18 00:39 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 23:28 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 22:24 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 21:19 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 20:14 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 19:09 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 18:22 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 16:49 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 16:24 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 14:56 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/04/17 13:45 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
2022/03/28 09:51 linux-4.14.y af1af6ebca0e 89bc8608 .config console log report info ci2-linux-4-14 general protection fault in llc_ui_autobind
* Struck through repros no longer work on HEAD.