syzbot


general protection fault in pppol2tp_session_init

Status: upstream: reported C repro on 2020/05/29 02:01
Reported-by: syzbot+2311b5d4421a00a871e4@syzkaller.appspotmail.com
First crash: 1488d, last: 477d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 KASAN: use-after-free Read in pppol2tp_session_init (2) C inconclusive 13 507d 1257d 0/1 upstream: reported C repro on 2021/01/14 16:13
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2021/11/27 21:28 2m bisect fix linux-4.14.y error job log (0)
2021/09/29 07:37 22m bisect fix linux-4.14.y job log (0) log
2021/08/03 01:38 26m 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: 8104 Comm: syz-executor384 Not tainted 4.14.307-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
task: ffff88809d6b62c0 task.stack: ffff8880b2f10000
RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline]
RIP: 0010:sk_dst_get include/net/sock.h:1772 [inline]
RIP: 0010:pppol2tp_session_init+0x1ca/0x4d0 net/l2tp/l2tp_ppp.c:607
RSP: 0018:ffff8880b2f17c50 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888095e82940 RCX: 1ffffffff11999ac
RDX: 0000000000000045 RSI: ffffffff87cd1780 RDI: 0000000000000228
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000020011
R10: ffff88809d6b6b70 R11: ffff88809d6b62c0 R12: 0000000000001fa8
R13: 0000000000000002 R14: ffff8880b2e16312 R15: ffff8880b2e16330
FS:  0000555555d9d300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcddb0ce78 CR3: 00000000abd76000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 pppol2tp_connect+0xd5c/0x13d0 net/l2tp/l2tp_ppp.c:781
 SYSC_connect net/socket.c:1655 [inline]
 SyS_connect+0x1f4/0x240 net/socket.c:1636
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7f4acd498da9
RSP: 002b:00007ffcddb0ce98 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000007f9a RCX: 00007f4acd498da9
RDX: 000000000000002e RSI: 0000000020000040 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffcddb0d038 R09: 00007ffcddb0d038
R10: 00007ffcddb0d038 R11: 0000000000000246 R12: 00007ffcddb0ceac
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
Code: fa 80 3d 06 72 6c 03 00 0f 84 25 02 00 00 e8 3e 59 ce fa 48 8d bd 28 02 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 db 02 00 00 48 8b ad 28 02 00 00 e8 20 36 bf 
RIP: __read_once_size include/linux/compiler.h:185 [inline] RSP: ffff8880b2f17c50
RIP: sk_dst_get include/net/sock.h:1772 [inline] RSP: ffff8880b2f17c50
RIP: pppol2tp_session_init+0x1ca/0x4d0 net/l2tp/l2tp_ppp.c:607 RSP: ffff8880b2f17c50
---[ end trace 848379473408bd4d ]---
----------------
Code disassembly (best guess):
   0:	fa                   	cli
   1:	80 3d 06 72 6c 03 00 	cmpb   $0x0,0x36c7206(%rip)        # 0x36c720e
   8:	0f 84 25 02 00 00    	je     0x233
   e:	e8 3e 59 ce fa       	callq  0xface5951
  13:	48 8d bd 28 02 00 00 	lea    0x228(%rbp),%rdi
  1a:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  21:	fc ff df
  24:	48 89 fa             	mov    %rdi,%rdx
  27:	48 c1 ea 03          	shr    $0x3,%rdx
* 2b:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2f:	0f 85 db 02 00 00    	jne    0x310
  35:	48 8b ad 28 02 00 00 	mov    0x228(%rbp),%rbp
  3c:	e8                   	.byte 0xe8
  3d:	20 36                	and    %dh,(%rsi)
  3f:	bf                   	.byte 0xbf

Crashes (553):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/06 06:47 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/06 03:16 linux-4.14.y c4215ee4771b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/11 05:26 linux-4.14.y 65afe34ac33d 67be1ae7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 09:43 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 09:23 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 07:54 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 07:38 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 06:54 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 06:09 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 04:23 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 03:55 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 02:24 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 01:36 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 01:22 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/01 00:18 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/30 23:46 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/30 11:42 linux-4.14.y 179ef7fe8677 579a3740 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/30 11:06 linux-4.14.y 179ef7fe8677 579a3740 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/30 10:22 linux-4.14.y 179ef7fe8677 579a3740 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/30 09:43 linux-4.14.y 179ef7fe8677 579a3740 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/30 09:30 linux-4.14.y 179ef7fe8677 579a3740 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/30 09:09 linux-4.14.y 179ef7fe8677 579a3740 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/30 04:44 linux-4.14.y 179ef7fe8677 579a3740 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/30 03:39 linux-4.14.y 179ef7fe8677 579a3740 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/29 15:15 linux-4.14.y 179ef7fe8677 ca9683b8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/29 14:57 linux-4.14.y 179ef7fe8677 ca9683b8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/29 14:03 linux-4.14.y 179ef7fe8677 ca9683b8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/29 13:27 linux-4.14.y 179ef7fe8677 ca9683b8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/29 13:11 linux-4.14.y 179ef7fe8677 ca9683b8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 10:57 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 10:40 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 10:06 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 09:14 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 08:53 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 08:07 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 07:16 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 06:27 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 05:30 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 05:21 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 04:23 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/11/28 03:30 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2021/10/28 21:07 linux-4.14.y cd5296934610 be531bb4 .config console log report syz C ci2-linux-4-14 general protection fault in pppol2tp_session_init
2021/08/30 07:37 linux-4.14.y 35c4ba160ab6 be2c130d .config console log report syz C ci2-linux-4-14 general protection fault in pppol2tp_session_init
2021/07/04 01:38 linux-4.14.y 313e82bbefb3 55aa55c2 .config console log report syz C ci2-linux-4-14 general protection fault in pppol2tp_session_init
2021/01/14 18:08 linux-4.14.y f79dc86058bc 468dbb55 .config console log report syz C ci2-linux-4-14
2020/05/29 05:12 linux-4.14.y 4f68020fef1c d19ed305 .config console log report syz C ci2-linux-4-14
2023/02/27 14:51 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/27 08:21 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/26 02:06 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/25 14:55 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/25 13:14 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/24 17:23 linux-4.14.y 1e61bd26fa2c ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/24 12:28 linux-4.14.y 1e61bd26fa2c ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/21 20:02 linux-4.14.y a8ad60f2af58 42a4d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/20 06:28 linux-4.14.y a8ad60f2af58 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/19 02:10 linux-4.14.y a8ad60f2af58 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/17 10:16 linux-4.14.y a8ad60f2af58 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/16 23:42 linux-4.14.y a8ad60f2af58 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/16 18:54 linux-4.14.y a8ad60f2af58 38b317a7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/16 14:01 linux-4.14.y a8ad60f2af58 38b317a7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/16 10:47 linux-4.14.y a8ad60f2af58 38b317a7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/15 15:13 linux-4.14.y a8ad60f2af58 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/15 03:50 linux-4.14.y a8ad60f2af58 e62ba3c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/15 02:20 linux-4.14.y a8ad60f2af58 e62ba3c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/14 18:18 linux-4.14.y a8ad60f2af58 e62ba3c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/14 02:06 linux-4.14.y a8ad60f2af58 93ae7e0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/13 13:03 linux-4.14.y a8ad60f2af58 957959cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/09 19:12 linux-4.14.y a8ad60f2af58 07980f9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/09 03:09 linux-4.14.y a8ad60f2af58 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/08 19:55 linux-4.14.y a8ad60f2af58 fc9c934e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/07 07:48 linux-4.14.y a8ad60f2af58 5bc3be51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/03 23:13 linux-4.14.y 3949d1610004 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/02/01 20:12 linux-4.14.y 3949d1610004 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/30 12:14 linux-4.14.y 3949d1610004 b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/23 17:11 linux-4.14.y 97205fccccdc 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/23 11:53 linux-4.14.y 97205fccccdc 44388686 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/22 07:14 linux-4.14.y 97205fccccdc cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/21 00:46 linux-4.14.y 97205fccccdc cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/20 08:51 linux-4.14.y 97205fccccdc dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/20 02:47 linux-4.14.y 97205fccccdc 71197f3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/17 18:26 linux-4.14.y c4215ee4771b 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/17 17:02 linux-4.14.y c4215ee4771b 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/14 12:20 linux-4.14.y c4215ee4771b a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/13 15:32 linux-4.14.y c4215ee4771b 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/10 02:41 linux-4.14.y c4215ee4771b 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2023/01/04 13:04 linux-4.14.y c4215ee4771b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/30 20:55 linux-4.14.y c4215ee4771b ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/22 11:52 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2022/12/21 16:33 linux-4.14.y c4215ee4771b 4067838e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in pppol2tp_session_init
2020/05/29 02:00 linux-4.14.y 4f68020fef1c d19ed305 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.