syzbot


general protection fault in skb_dequeue

Status: auto-closed as invalid on 2020/09/18 07:31
Subsystems: net
[Documentation on labels]
First crash: 1348d, last: 1348d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in skb_dequeue (3) wireless C done 6 412d 422d 22/26 fixed on 2023/06/08 14:41
upstream general protection fault in skb_dequeue (2) bluetooth C inconclusive done 9 901d 985d 0/26 auto-closed as invalid on 2022/10/03 17:36

Sample crash report:
general protection fault, probably for non-canonical address 0xe000dce0e0e0e0e0: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x0007070707070700-0x0007070707070707]
CPU: 1 PID: 10496 Comm: syz-executor.1 Not tainted 5.8.0-rc5-next-20200716-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__skb_unlink include/linux/skbuff.h:2049 [inline]
RIP: 0010:__skb_dequeue include/linux/skbuff.h:2068 [inline]
RIP: 0010:skb_dequeue+0x98/0x180 net/core/skbuff.c:3039
Code: 0f b6 04 02 84 c0 74 08 3c 03 0f 8e b8 00 00 00 8b 43 10 4c 89 e2 48 c1 ea 03 83 e8 01 89 43 10 48 b8 00 00 00 00 00 fc ff df <80> 3c 02 00 0f 85 b5 00 00 00 49 8d 7c 24 08 4d 8b 34 24 48 b8 00
RSP: 0018:ffffc9001818fce8 EFLAGS: 00010097
RAX: dffffc0000000000 RBX: ffff88800010e288 RCX: ffffffff815b3c30
RDX: 0000e0e0e0e0e0e0 RSI: ffffffff86325249 RDI: ffff88800010e298
RBP: 0000000000000286 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52003031f8b R11: 0000000000000000 R12: 0007070707070700
R13: ffff88800010e2a0 R14: ffff88800010e080 R15: ffff88800010e000
FS:  000000000135b940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2df2c000 CR3: 0000000048f7f000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 skb_queue_purge+0x21/0x30 net/core/skbuff.c:3076
 netlink_release+0xb45/0x1cf0 net/netlink/af_netlink.c:766
 __sock_release+0xcd/0x280 net/socket.c:596
 sock_close+0x18/0x20 net/socket.c:1277
 __fput+0x27e/0x8e0 fs/file_table.c:281
 task_work_run+0xdd/0x190 kernel/task_work.c:135
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop arch/x86/entry/common.c:239 [inline]
 __prepare_exit_to_usermode+0x1e0/0x1f0 arch/x86/entry/common.c:269
 do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:393
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x415d51
Code: Bad RIP value.
RSP: 002b:00007ffc6f4b7a90 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000415d51
RDX: 0000000000000000 RSI: 00000000000012c9 RDI: 0000000000000004
RBP: 0000000000000001 R08: 0000000071c632c9 R09: 0000000071c632cd
R10: 00007ffc6f4b7b80 R11: 0000000000000293 R12: 000000000078c900
R13: 000000000078c900 R14: ffffffffffffffff R15: 000000000078bfac
Modules linked in:
---[ end trace 970cf3c2257090f1 ]---
RIP: 0010:__skb_unlink include/linux/skbuff.h:2049 [inline]
RIP: 0010:__skb_dequeue include/linux/skbuff.h:2068 [inline]
RIP: 0010:skb_dequeue+0x98/0x180 net/core/skbuff.c:3039
Code: 0f b6 04 02 84 c0 74 08 3c 03 0f 8e b8 00 00 00 8b 43 10 4c 89 e2 48 c1 ea 03 83 e8 01 89 43 10 48 b8 00 00 00 00 00 fc ff df <80> 3c 02 00 0f 85 b5 00 00 00 49 8d 7c 24 08 4d 8b 34 24 48 b8 00
RSP: 0018:ffffc9001818fce8 EFLAGS: 00010097
RAX: dffffc0000000000 RBX: ffff88800010e288 RCX: ffffffff815b3c30
RDX: 0000e0e0e0e0e0e0 RSI: ffffffff86325249 RDI: ffff88800010e298
RBP: 0000000000000286 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52003031f8b R11: 0000000000000000 R12: 0007070707070700
R13: ffff88800010e2a0 R14: ffff88800010e080 R15: ffff88800010e000
FS:  000000000135b940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2df2c000 CR3: 0000000048f7f000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/20 07:23 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.