syzbot


general protection fault in raw_notifier

Status: auto-closed as invalid on 2020/11/03 17:45
Subsystems: can
[Documentation on labels]
Reported-by: syzbot+d2ff507f470081495266@syzkaller.appspotmail.com
First crash: 1389d, last: 1389d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in raw_notifier 0 (1) 2020/07/10 18:38
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in raw_notifier 1 1360d 1360d 0/1 auto-closed as invalid on 2020/12/02 21:46

Sample crash report:
general protection fault, probably for non-canonical address 0xe0000aeee00000aa: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000777700000550-0x0000777700000557]
CPU: 0 PID: 8345 Comm: syz-executor.5 Not tainted 5.8.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:read_pnet include/net/net_namespace.h:330 [inline]
RIP: 0010:dev_net include/linux/netdevice.h:2261 [inline]
RIP: 0010:raw_notifier+0x7c/0x740 net/can/raw.c:273
Code: 03 80 3c 02 00 0f 85 de 05 00 00 4d 8d b7 98 05 00 00 48 8b ab 70 fb ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 cc 05 00 00 49 3b af 98 05 00 00 74 16 e8 0c 5d
RSP: 0018:ffffc9001ab27c78 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff88802521c4c0 RCX: ffffc90014660000
RDX: 00000eeee00000aa RSI: ffffffff871159dc RDI: ffff88802521c030
RBP: ffff88805602a180 R08: 0000000000000000 R09: ffffffff8a7b30cb
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000005
R13: ffffed1004a43898 R14: 0000777700000550 R15: 00007776ffffffb8
FS:  00007fe94efbf700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32d21000 CR3: 00000001e1c55000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 call_netdevice_notifier net/core/dev.c:1727 [inline]
 call_netdevice_register_notifiers net/core/dev.c:1735 [inline]
 call_netdevice_register_net_notifiers+0xdd/0x2b0 net/core/dev.c:1765
 register_netdevice_notifier+0xf5/0x260 net/core/dev.c:1816
 raw_init+0x296/0x340 net/can/raw.c:339
 can_create+0x27c/0x4d0 net/can/af_can.c:168
 __sock_create+0x3ca/0x740 net/socket.c:1428
 sock_create net/socket.c:1479 [inline]
 __sys_socket+0xef/0x200 net/socket.c:1521
 __do_sys_socket net/socket.c:1530 [inline]
 __se_sys_socket net/socket.c:1528 [inline]
 __x64_sys_socket+0x6f/0xb0 net/socket.c:1528
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cb29
Code: Bad RIP value.
RSP: 002b:00007fe94efbec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00000000005084a0 RCX: 000000000045cb29
RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000bb8 R14: 00000000004ce1ab R15: 00007fe94efbf6d4
Modules linked in:
---[ end trace 8db5579e5986dda6 ]---
RIP: 0010:read_pnet include/net/net_namespace.h:330 [inline]
RIP: 0010:dev_net include/linux/netdevice.h:2261 [inline]
RIP: 0010:raw_notifier+0x7c/0x740 net/can/raw.c:273
Code: 03 80 3c 02 00 0f 85 de 05 00 00 4d 8d b7 98 05 00 00 48 8b ab 70 fb ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 cc 05 00 00 49 3b af 98 05 00 00 74 16 e8 0c 5d
RSP: 0018:ffffc9001ab27c78 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff88802521c4c0 RCX: ffffc90014660000
RDX: 00000eeee00000aa RSI: ffffffff871159dc RDI: ffff88802521c030
RBP: ffff88805602a180 R08: 0000000000000000 R09: ffffffff8a7b30cb
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000005
R13: ffffed1004a43898 R14: 0000777700000550 R15: 00007776ffffffb8
FS:  00007fe94efbf700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe94ef7cdb8 CR3: 00000001e1c55000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/06 17:44 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.