syzbot


general protection fault in nfc_genl_dump_ses_done

Status: upstream: reported C repro on 2022/11/19 01:41
Reported-by: syzbot+301e2e1577f5b394737e@syzkaller.appspotmail.com
First crash: 714d, last: 606d

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
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: 1 PID: 3580 Comm: kworker/1:2 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
Workqueue: events netlink_sock_destruct_work
RIP: 0010:klist_iter_exit+0x21/0x80 lib/klist.c:314
Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 34 69 74 f9 48 8d 6b 08 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 <80> 3c 02 00 75 40 4c 8b 63 08 4d 85 e4 74 2e e8 0b 69 74 f9 31 f6
RSP: 0018:ffff8880a8837c48 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff87ee1c3c RDI: 0000000000000000
RBP: 0000000000000008 R08: 0000000000000000 R09: fffffbfff15cf8ac
R10: ffffffff8ae7c567 R11: 0000000000074071 R12: 0000000000000000
R13: ffffffff896f1440 R14: ffff8880ba12a8c0 R15: ffff8880ba12f000
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fdb1982160 CR3: 00000000a1aec000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 nfc_genl_dump_ses_done+0x31/0x50 net/nfc/netlink.c:177
 genl_lock_done+0x82/0xc0 net/netlink/genetlink.c:495
 netlink_sock_destruct+0x96/0x280 net/netlink/af_netlink.c:398
 __sk_destruct+0x4b/0x8a0 net/core/sock.c:1576
 sk_destruct net/core/sock.c:1617 [inline]
 __sk_free+0x165/0x3b0 net/core/sock.c:1628
 sk_free+0x3b/0x50 net/core/sock.c:1639
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
----------------
Code disassembly (best guess):
   0:	66 0f 1f 84 00 00 00 	nopw   0x0(%rax,%rax,1)
   7:	00 00
   9:	41 54                	push   %r12
   b:	55                   	push   %rbp
   c:	53                   	push   %rbx
   d:	48 89 fb             	mov    %rdi,%rbx
  10:	e8 34 69 74 f9       	callq  0xf9746949
  15:	48 8d 6b 08          	lea    0x8(%rbx),%rbp
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	48 89 ea             	mov    %rbp,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	75 40                	jne    0x70
  30:	4c 8b 63 08          	mov    0x8(%rbx),%r12
  34:	4d 85 e4             	test   %r12,%r12
  37:	74 2e                	je     0x67
  39:	e8 0b 69 74 f9       	callq  0xf9746949
  3e:	31 f6                	xor    %esi,%esi

Crashes (57):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/27 15:16 linux-4.19.y 3f8a27f9e27b 9189cb53 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/11/19 01:56 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/03/06 23:17 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/03/04 23:41 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/03/02 22:56 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/27 20:25 linux-4.19.y 3f8a27f9e27b 9189cb53 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/27 14:55 linux-4.19.y 3f8a27f9e27b 9189cb53 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/25 14:00 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/22 01:36 linux-4.19.y 3f8a27f9e27b 42a4d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/19 22:14 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/16 07:59 linux-4.19.y 3f8a27f9e27b 6be0f1f5 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/13 19:56 linux-4.19.y 3f8a27f9e27b 957959cb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/13 08:04 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/08 07:29 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/06 00:06 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/02 17:14 linux-4.19.y 3f8a27f9e27b 16d19e30 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/02/01 16:49 linux-4.19.y 3f8a27f9e27b 9a6f477c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/29 21:05 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/29 13:20 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/29 12:30 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/28 12:52 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/27 01:54 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/26 07:54 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/25 21:27 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/25 00:05 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/23 17:09 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/21 07:15 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/20 05:42 linux-4.19.y 3f8a27f9e27b 71197f3a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/19 17:18 linux-4.19.y 3f8a27f9e27b 66fca3ae .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/16 16:43 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/12 15:15 linux-4.19.y 3f8a27f9e27b 96166539 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/10 12:48 linux-4.19.y 3f8a27f9e27b 48bc529a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/08 09:49 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/04 20:15 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/03 00:41 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2023/01/02 05:38 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/30 05:44 linux-4.19.y 3f8a27f9e27b 44712fbc .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/28 07:23 linux-4.19.y 3f8a27f9e27b 44712fbc .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/27 17:14 linux-4.19.y 3f8a27f9e27b 44712fbc .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/24 19:39 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/23 03:57 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/18 05:58 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/14 09:07 linux-4.19.y 3f8a27f9e27b f6511626 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/14 02:52 linux-4.19.y 3f8a27f9e27b f6511626 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/13 00:52 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/12 15:27 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/10 03:40 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/08 17:29 linux-4.19.y 3f8a27f9e27b 1034e5fa .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/08 05:40 linux-4.19.y 3f8a27f9e27b d88f3abb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/06 05:07 linux-4.19.y 3f8a27f9e27b 045cbb84 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/12/03 02:51 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/11/29 21:40 linux-4.19.y 3f8a27f9e27b 579a3740 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/11/25 06:39 linux-4.19.y 3f8a27f9e27b 74a66371 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/11/23 19:31 linux-4.19.y 3f8a27f9e27b 52fdf57a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/11/22 20:00 linux-4.19.y 3f8a27f9e27b 9da37ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/11/19 11:33 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
2022/11/19 01:41 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in nfc_genl_dump_ses_done
* Struck through repros no longer work on HEAD.