syzbot


general protection fault in send_sigurg

Status: moderation: reported on 2024/08/17 04:58
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+db3aa82673ee6c6ab1c2@syzkaller.appspotmail.com
First crash: 30d, last: 29d

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
CPU: 0 UID: 0 PID: 5411 Comm: syz.3.38 Not tainted 6.11.0-rc3-next-20240813-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__lock_acquire+0x69/0x2040 kernel/locking/lockdep.c:5010
Code: b6 04 30 84 c0 0f 85 87 16 00 00 45 31 f6 83 3d 28 c5 a8 0e 00 0f 84 ac 13 00 00 89 54 24 54 89 5c 24 68 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 c9 2c 8c 00 48 be 00 00 00 00 00 fc
RSP: 0018:ffffc90008b87090 EFLAGS: 00010002
RAX: 0000000000000004 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000020
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: dffffc0000000000 R11: fffffbfff2030fbe R12: ffff8880728c1e00
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000020
FS:  00007ff848ce86c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002027f000 CR3: 000000007ad4e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5762
 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
 _raw_read_lock_irqsave+0xdd/0x130 kernel/locking/spinlock.c:236
 send_sigurg+0x5a/0x3d0 fs/fcntl.c:945
 sk_send_sigurg+0x6e/0x2f0 net/core/sock.c:3432
 tcp_check_urg+0x207/0x740 net/ipv4/tcp_input.c:5835
 tcp_urg+0x15c/0x450 net/ipv4/tcp_input.c:5876
 tcp_rcv_established+0xfaf/0x2020 net/ipv4/tcp_input.c:6231
 tcp_v6_do_rcv+0x5c8/0x13a0 net/ipv6/tcp_ipv6.c:1640
 sk_backlog_rcv include/net/sock.h:1111 [inline]
 __release_sock+0x1c8/0x350 net/core/sock.c:3004
 release_sock+0x61/0x1f0 net/core/sock.c:3558
 sk_stream_wait_memory+0x762/0xfa0 net/core/stream.c:145
 tcp_sendmsg_locked+0x1471/0x4e10 net/ipv4/tcp.c:1312
 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1354
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0xef/0x270 net/socket.c:745
 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204
 __do_sys_sendto net/socket.c:2216 [inline]
 __se_sys_sendto net/socket.c:2212 [inline]
 __x64_sys_sendto+0xde/0x100 net/socket.c:2212
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff847f799f9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff848ce8038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007ff848115f80 RCX: 00007ff847f799f9
RDX: 00000000d0d0c2ac RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00007ff847fe78ee R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff848115f80 R15: 00007ffc45b5bca8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__lock_acquire+0x69/0x2040 kernel/locking/lockdep.c:5010
Code: b6 04 30 84 c0 0f 85 87 16 00 00 45 31 f6 83 3d 28 c5 a8 0e 00 0f 84 ac 13 00 00 89 54 24 54 89 5c 24 68 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 c9 2c 8c 00 48 be 00 00 00 00 00 fc
RSP: 0018:ffffc90008b87090 EFLAGS: 00010002
RAX: 0000000000000004 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000020
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: dffffc0000000000 R11: fffffbfff2030fbe R12: ffff8880728c1e00
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000020
FS:  00007ff848ce86c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002027f000 CR3: 000000007ad4e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	b6 04                	mov    $0x4,%dh
   2:	30 84 c0 0f 85 87 16 	xor    %al,0x1687850f(%rax,%rax,8)
   9:	00 00                	add    %al,(%rax)
   b:	45 31 f6             	xor    %r14d,%r14d
   e:	83 3d 28 c5 a8 0e 00 	cmpl   $0x0,0xea8c528(%rip)        # 0xea8c53d
  15:	0f 84 ac 13 00 00    	je     0x13c7
  1b:	89 54 24 54          	mov    %edx,0x54(%rsp)
  1f:	89 5c 24 68          	mov    %ebx,0x68(%rsp)
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 30 00          	cmpb   $0x0,(%rax,%rsi,1) <-- trapping instruction
  2e:	74 12                	je     0x42
  30:	4c 89 ff             	mov    %r15,%rdi
  33:	e8 c9 2c 8c 00       	call   0x8c2d01
  38:	48                   	rex.W
  39:	be 00 00 00 00       	mov    $0x0,%esi
  3e:	00 fc                	add    %bh,%ah

Crashes (2300):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/14 05:19 linux-next 033a4691702c bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/14 05:05 linux-next 033a4691702c bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/14 04:54 linux-next 033a4691702c bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/14 04:42 linux-next 033a4691702c bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/14 04:35 linux-next 033a4691702c bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/14 04:29 linux-next 033a4691702c bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/14 02:34 linux-next 033a4691702c bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/14 00:08 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/14 00:00 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 23:47 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 23:37 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 23:28 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 23:13 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 23:03 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 22:55 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 22:49 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 22:41 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 22:35 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 22:25 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 22:09 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 21:53 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 21:25 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 21:10 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 20:50 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 20:35 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 20:20 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 20:05 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 19:58 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 19:45 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 19:34 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 19:23 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:53 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:48 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:43 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:37 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:31 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:25 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:20 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:14 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:09 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 18:03 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 17:56 linux-next 033a4691702c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
2024/08/13 04:50 linux-next 033a4691702c 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in send_sigurg
* Struck through repros no longer work on HEAD.