syzbot


general protection fault in rose_transmit_link (2)

Status: auto-closed as invalid on 2022/05/21 05:59
Subsystems: hams
[Documentation on labels]
First crash: 806d, last: 788d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in rose_transmit_link (3) hams 27 32d 658d 0/26 upstream: reported on 2022/06/30 07:15
upstream general protection fault in rose_transmit_link hams 1 1718d 1714d 0/26 auto-closed as invalid on 2019/11/03 18:16
linux-4.19 general protection fault in rose_transmit_link 1 810d 810d 0/1 auto-closed as invalid on 2022/05/29 13:41

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037]
CPU: 0 PID: 15634 Comm: syz-executor.3 Not tainted 5.17.0-rc4-syzkaller-01374-g0d0350c471cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rose_transmit_link+0x2e/0x5e0 net/rose/rose_link.c:263
Code: 41 55 41 54 49 89 fc 55 48 89 f5 53 48 83 ec 08 e8 c7 8e 53 f9 48 8d 7d 32 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 cb 04 00 00
RSP: 0018:ffffc90002f3fa48 EFLAGS: 00010206

RAX: dffffc0000000000 RBX: ffff8880876d505a RCX: 0000000000000000
RDX: 0000000000000006 RSI: ffffffff88254f89 RDI: 0000000000000032
RBP: 0000000000000000 R08: ffffffff8ac348c0 R09: ffffffff8825d23b
R10: 0000000000000008 R11: 0000000000000013 R12: ffff888028b5a140
R13: 0000000000000010 R14: 0000000000000013 R15: ffff88807d16e000
FS:  00007f4c79545700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcaec78db8 CR3: 000000008651b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rose_write_internal+0x272/0x1830 net/rose/rose_subr.c:198
 rose_release+0x1ba/0x4c0 net/rose/af_rose.c:634
 __sock_release+0xcd/0x280 net/socket.c:650
 sock_close+0x18/0x20 net/socket.c:1318
 __fput+0x286/0x9f0 fs/file_table.c:317
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 get_signal+0x1de2/0x2490 kernel/signal.c:2631
 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
 exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207
 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f4c7abf1059
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c79545168 EFLAGS: 00000246
 ORIG_RAX: 000000000000002a
RAX: 0000000000000000 RBX: 00007f4c7ad04030 RCX: 00007f4c7abf1059
RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f4c7ac4b08d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff6d473ccf R14: 00007f4c79545300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rose_transmit_link+0x2e/0x5e0 net/rose/rose_link.c:263
Code: 41 55 41 54 49 89 fc 55 48 89 f5 53 48 83 ec 08 e8 c7 8e 53 f9 48 8d 7d 32 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 cb 04 00 00
RSP: 0018:ffffc90002f3fa48 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff8880876d505a RCX: 0000000000000000
RDX: 0000000000000006 RSI: ffffffff88254f89 RDI: 0000000000000032
RBP: 0000000000000000 R08: ffffffff8ac348c0 R09: ffffffff8825d23b
R10: 0000000000000008 R11: 0000000000000013 R12: ffff888028b5a140
R13: 0000000000000010 R14: 0000000000000013 R15: ffff88807d16e000
FS:  00007f4c79545700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2f33eb89ee CR3: 000000008651b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	41 55                	push   %r13
   2:	41 54                	push   %r12
   4:	49 89 fc             	mov    %rdi,%r12
   7:	55                   	push   %rbp
   8:	48 89 f5             	mov    %rsi,%rbp
   b:	53                   	push   %rbx
   c:	48 83 ec 08          	sub    $0x8,%rsp
  10:	e8 c7 8e 53 f9       	callq  0xf9538edc
  15:	48 8d 7d 32          	lea    0x32(%rbp),%rdi
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	0f b6 04 02          	movzbl (%rdx,%rax,1),%eax <-- trapping instruction
  2e:	48 89 fa             	mov    %rdi,%rdx
  31:	83 e2 07             	and    $0x7,%edx
  34:	38 d0                	cmp    %dl,%al
  36:	7f 08                	jg     0x40
  38:	84 c0                	test   %al,%al
  3a:	0f 85 cb 04 00 00    	jne    0x50b

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/20 05:53 net-next-old 0d0350c471cc 3cd800e4 .config console log report info ci-upstream-net-kasan-gce general protection fault in rose_transmit_link
2022/02/05 17:45 net-next-old ed8c8f605c0b a7dab638 .config console log report info ci-upstream-net-kasan-gce general protection fault in rose_transmit_link
2022/02/02 18:26 net-next-old 000fe940e51f 4ebb2798 .config console log report info ci-upstream-net-kasan-gce general protection fault in rose_transmit_link
* Struck through repros no longer work on HEAD.