syzbot


general protection fault in tls_push_sg

Status: auto-closed as invalid on 2020/02/27 15:41
Reported-by: syzbot+a207a1af6b42d510dd7d@syzkaller.appspotmail.com
First crash: 1962d, last: 1861d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in tls_push_sg (2) C error 6 877d 988d 0/1 upstream: reported C repro on 2022/03/21 10:19
upstream general protection fault in tls_push_sg net 12 2249d 2359d 11/28 fixed on 2019/02/26 22:09

Sample crash report:
R10: 0000000000000040 R11: 0000000000000246 R12: 00007fabbefba6d4
R13: 00000000004c83ce R14: 00000000004de710 R15: 0000000000000006
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: 22592 Comm: syz-executor.4 Not tainted 4.19.81 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:142 [inline]
RIP: 0010:put_page include/linux/mm.h:944 [inline]
RIP: 0010:tls_push_sg+0x215/0x6b0 net/tls/tls_main.c:134
Code: 89 ef e8 3e be 7d fb 4d 39 e5 75 ab e8 14 bd 7d fb 48 8b 45 d0 48 b9 00 00 00 00 00 fc ff df 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 2b 04 00 00 48 8b 45 d0 31 ff 48 8b 58 08 49 89
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
RSP: 0018:ffff88809e057b28 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff85ed0a2c RDI: 0000000000000008
RBP: ffff88809e057ba0 R08: ffff888049b6e180 R09: 0000000000000002
R10: ffffed1015d24732 R11: ffff8880ae923993 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888089dca700
FS:  0000000002465940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30f27000 CR3: 00000000843d6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kobject: 'loop2' (00000000a3c796dd): kobject_uevent_env
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tls_push_record+0xb43/0x13a0 net/tls/tls_sw.c:245
kobject: 'loop2' (00000000a3c796dd): fill_kobj_path: path = '/devices/virtual/block/loop2'
 tls_sw_push_pending_record+0x23/0x30 net/tls/tls_sw.c:257
 tls_handle_open_record net/tls/tls_main.c:156 [inline]
 tls_sk_proto_close+0x5bb/0xab0 net/tls/tls_main.c:271
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
 inet_release+0xff/0x1e0 net/ipv4/af_inet.c:428
kobject: 'loop2' (00000000a3c796dd): kobject_uevent_env
 inet6_release+0x53/0x80 net/ipv6/af_inet6.c:472
 __sock_release+0xce/0x2a0 net/socket.c:579
kobject: 'loop2' (00000000a3c796dd): fill_kobj_path: path = '/devices/virtual/block/loop2'
 sock_close+0x1b/0x30 net/socket.c:1140
 __fput+0x2dd/0x8b0 fs/file_table.c:278
 ____fput+0x16/0x20 fs/file_table.c:309
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:193 [inline]
 exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:167
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x53d/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x413ae1
Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007fffa8533eb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413ae1
RDX: 0000001b30f20000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000001 R08: 00000000132d2332 R09: 00000000132d2336
R10: 00007fffa8533f90 R11: 0000000000000293 R12: 000000000075bf20
R13: 0000000000098d0b R14: 00000000007612f0 R15: 000000000075bf2c
Modules linked in:
---[ end trace de65753aa205b742 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:142 [inline]
RIP: 0010:put_page include/linux/mm.h:944 [inline]
RIP: 0010:tls_push_sg+0x215/0x6b0 net/tls/tls_main.c:134
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
Code: 89 ef e8 3e be 7d fb 4d 39 e5 75 ab e8 14 bd 7d fb 48 8b 45 d0 48 b9 00 00 00 00 00 fc ff df 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 2b 04 00 00 48 8b 45 d0 31 ff 48 8b 58 08 49 89
RSP: 0018:ffff88809e057b28 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff85ed0a2c RDI: 0000000000000008
RBP: ffff88809e057ba0 R08: ffff888049b6e180 R09: 0000000000000002
R10: ffffed1015d24732 R11: ffff8880ae923993 R12: 0000000000000000
kobject: 'loop2' (00000000a3c796dd): kobject_uevent_env
kobject: 'loop2' (00000000a3c796dd): fill_kobj_path: path = '/devices/virtual/block/loop2'
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888089dca700
FS:  0000000002465940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
kobject: 'loop3' (0000000081099fb7): kobject_uevent_env
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f843cc31518 CR3: 00000000843d6000 CR4: 00000000001406e0
kobject: 'loop3' (0000000081099fb7): fill_kobj_path: path = '/devices/virtual/block/loop3'
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
kobject: 'loop1' (00000000e6ec5939): kobject_uevent_env
kobject: 'loop1' (00000000e6ec5939): fill_kobj_path: path = '/devices/virtual/block/loop1'
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kobject: 'loop0' (0000000002334138): kobject_uevent_env
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
kobject: 'loop0' (0000000002334138): fill_kobj_path: path = '/devices/virtual/block/loop0'
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
kobject: 'loop2' (00000000a3c796dd): kobject_uevent_env

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/30 15:40 linux-4.19.y ef244c308885 5ea87a66 .config console log report ci2-linux-4-19
2019/10/05 17:02 linux-4.19.y 6cad9d0cf87b f3f7d9c8 .config console log report ci2-linux-4-19
2019/07/22 02:29 linux-4.19.y be9b6782a9eb 1656845f .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.