syzbot


general protection fault in call_commit_handler

Status: fixed on 2021/03/10 01:48
Reported-by: syzbot+444248c79e117bc99f46@syzkaller.appspotmail.com
Fix commit: 5122565188ba wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
First crash: 1446d, last: 1362d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: general protection fault in call_commit_handler (log)
Repro: C syz .config
  
Discussions (8)
Title Replies (including bot) Last reply
[PATCH 5.10 000/142] 5.10.13-rc1 review 154 (154) 2021/02/03 23:03
[PATCH 4.19 00/37] 4.19.173-rc1 review 43 (43) 2021/02/03 20:42
[PATCH 5.4 00/61] 5.4.95-rc1 review 65 (65) 2021/02/03 20:42
[PATCH 4.14 00/30] 4.14.219-rc1 review 33 (33) 2021/02/03 20:41
[PATCH 4.9 00/32] 4.9.255-rc1 review 36 (36) 2021/02/03 20:41
[PATCH 4.4 00/28] 4.4.255-rc1 review 37 (37) 2021/02/03 20:40
[PATCH] wext: fix NULL-ptr-dereference with cfg80211's lack of commit() 1 (1) 2021/01/21 16:16
general protection fault in call_commit_handler 0 (1) 2020/10/23 15:26
Last patch testing requests (1)
Created Duration User Patch Repo Result
2020/10/24 19:36 11m anmol.karan123@gmail.com patch upstream report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2021/01/09 15:26 27m (2) bisect fix upstream OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 8740 Comm: syz-executor710 Not tainted 5.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:call_commit_handler+0x8b/0x110 net/wireless/wext-core.c:900
Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 7d 48 8b 9d e0 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 75 73 48 b8 00 00 00 00 00 fc ff df 48 8b 1b 48 89 da
RSP: 0018:ffffc90001cdfca8 EFLAGS: 00010256
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff88423e88
RDX: 0000000000000000 RSI: ffffffff88423e95 RDI: ffff8880125981e0
RBP: ffff888012598000 R08: 0000000000000000 R09: ffff888012598047
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888012598040
R13: ffffc90001cdfdb0 R14: ffff888012598000 R15: 0000000000000004
FS:  00007fba094e6700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a2f9716c0 CR3: 0000000011152000 CR4: 0000000000350ee0
Call Trace:
 ioctl_standard_call+0x1b8/0x1f0 net/wireless/wext-core.c:1029
 wireless_process_ioctl+0xc8/0x4c0 net/wireless/wext-core.c:954
 wext_ioctl_dispatch net/wireless/wext-core.c:987 [inline]
 wext_ioctl_dispatch net/wireless/wext-core.c:975 [inline]
 wext_handle_ioctl+0x26b/0x280 net/wireless/wext-core.c:1048
 sock_ioctl+0x439/0x730 net/socket.c:1119
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl fs/ioctl.c:739 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x44a359
Code: e8 9c 19 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 9b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fba094e5cc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006e1c58 RCX: 000000000044a359
RDX: 00000000200002c0 RSI: 0000000000008b04 RDI: 0000000000000008
RBP: 00000000006e1c50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006e1c5c
R13: 00007ffd3f85458f R14: 00007fba094e69c0 R15: 00000000006e1c5c
Modules linked in:
---[ end trace d90c7a608615e36b ]---
RIP: 0010:call_commit_handler+0x8b/0x110 net/wireless/wext-core.c:900
Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 7d 48 8b 9d e0 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 75 73 48 b8 00 00 00 00 00 fc ff df 48 8b 1b 48 89 da
RSP: 0018:ffffc90001cdfca8 EFLAGS: 00010256
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff88423e88
RDX: 0000000000000000 RSI: ffffffff88423e95 RDI: ffff8880125981e0
RBP: ffff888012598000 R08: 0000000000000000 R09: ffff888012598047
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888012598040
R13: ffffc90001cdfdb0 R14: ffff888012598000 R15: 0000000000000004
FS:  00007fba094e6700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0ffc03e0d8 CR3: 0000000011152000 CR4: 0000000000350ee0

Crashes (428):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/10 12:26 upstream a68a0262abda c090b4da .config console log report syz C ci-upstream-kasan-gce-root
2020/12/07 16:59 upstream 0477e9288185 1190297f .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/11/15 19:56 bpf f782e2c300a7 1bf9a662 .config console log report syz C ci-upstream-bpf-kasan-gce
2020/10/31 03:29 bpf 080b6f407635 18e33098 .config console log report syz C ci-upstream-bpf-kasan-gce
2020/10/21 12:41 bpf c5eb48e89286 99c64d5c .config console log report syz C ci-upstream-bpf-kasan-gce
2020/10/21 12:20 bpf c5eb48e89286 99c64d5c .config console log report syz C ci-upstream-bpf-kasan-gce
2020/10/31 04:14 bpf-next cb5dc5b062a9 18e33098 .config console log report syz C ci-upstream-bpf-next-kasan-gce
2020/10/21 12:46 bpf-next 9ff9b0d392ea 99c64d5c .config console log report syz C ci-upstream-bpf-next-kasan-gce
2020/10/21 12:04 bpf-next 9ff9b0d392ea 99c64d5c .config console log report syz C ci-upstream-bpf-next-kasan-gce
2020/11/30 23:48 linux-next c6b11acc5f85 78d50c1d .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/11/17 10:37 upstream 9c87c9f41245 1bf9a662 .config console log report info ci-upstream-kasan-gce-root
2020/11/17 08:02 upstream 9c87c9f41245 1bf9a662 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/12/01 09:04 bpf 4d521943f76b b3a34598 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/29 23:45 bpf 9a44bc9449cf a0092f9d .config console log report info ci-upstream-bpf-kasan-gce
2020/11/28 12:43 bpf 9a44bc9449cf 76b4dcc7 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/28 12:14 bpf 9a44bc9449cf 76b4dcc7 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/28 03:42 bpf 9a44bc9449cf 486f93ef .config console log report info ci-upstream-bpf-kasan-gce
2020/11/28 02:35 bpf 9a44bc9449cf 486f93ef .config console log report info ci-upstream-bpf-kasan-gce
2020/11/28 00:44 bpf 9a44bc9449cf 486f93ef .config console log report info ci-upstream-bpf-kasan-gce
2020/11/27 22:07 bpf 9a44bc9449cf 486f93ef .config console log report info ci-upstream-bpf-kasan-gce
2020/11/27 19:09 bpf 9a44bc9449cf 486f93ef .config console log report info ci-upstream-bpf-kasan-gce
2020/11/27 17:27 bpf 9a44bc9449cf 486f93ef .config console log report info ci-upstream-bpf-kasan-gce
2020/11/27 13:58 bpf 9a44bc9449cf 5018c946 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/27 11:23 bpf 9a44bc9449cf 5018c946 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/27 03:50 bpf 9a44bc9449cf 5018c946 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/26 22:50 bpf 9a44bc9449cf 1d2b823e .config console log report info ci-upstream-bpf-kasan-gce
2020/11/26 20:04 bpf 9a44bc9449cf 1d2b823e .config console log report info ci-upstream-bpf-kasan-gce
2020/11/26 17:04 bpf 9a44bc9449cf 1d2b823e .config console log report info ci-upstream-bpf-kasan-gce
2020/11/26 05:31 bpf 9a44bc9449cf 2f1cec62 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/26 03:38 bpf 9a44bc9449cf 2f1cec62 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/25 07:14 bpf 68878a5c5b85 1a1f4bd8 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/24 22:14 bpf 36ccdf85829a e34b696c .config console log report info ci-upstream-bpf-kasan-gce
2020/11/24 18:05 bpf 178648916e73 e34b696c .config console log report info ci-upstream-bpf-kasan-gce
2020/11/24 14:55 bpf 178648916e73 1ab681a4 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/24 12:20 bpf 178648916e73 1ab681a4 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/24 06:47 bpf 178648916e73 1ab681a4 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/24 04:27 bpf 178648916e73 1ab681a4 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/22 03:26 bpf 537cf4e3cc2f 0d27f508 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/22 01:51 bpf 537cf4e3cc2f 68068804 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/21 23:27 bpf 537cf4e3cc2f 68068804 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/18 08:58 bpf 4363023d2668 09323409 .config console log report info ci-upstream-bpf-kasan-gce
2020/11/18 01:20 bpf 2acc3c1bc8e9 bd2a760b .config console log report info ci-upstream-bpf-kasan-gce
2020/11/18 00:17 bpf 2acc3c1bc8e9 bd2a760b .config console log report info ci-upstream-bpf-kasan-gce
2020/11/17 21:54 bpf 2acc3c1bc8e9 bd2a760b .config console log report info ci-upstream-bpf-kasan-gce
2020/11/17 20:32 bpf 2acc3c1bc8e9 bd2a760b .config console log report info ci-upstream-bpf-kasan-gce
2020/12/05 07:06 bpf-next eceae70bdeae 20366b87 .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/29 20:57 bpf-next bb1b25cab043 a0092f9d .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/28 10:23 bpf-next 105c4e75feb4 486f93ef .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/27 12:45 bpf-next 830382e4ccb5 5018c946 .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/22 18:09 bpf-next 91b2db27d3ff 0d27f508 .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/21 11:24 bpf-next 91b2db27d3ff 68068804 .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/20 19:19 bpf-next 450d060e8f75 740ff461 .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/20 05:09 bpf-next 4e99d115d865 0767f13f .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/18 07:53 bpf-next ea87ae85c9b3 bd2a760b .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/18 05:29 bpf-next de91e631bdc7 bd2a760b .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/18 03:38 bpf-next de91e631bdc7 bd2a760b .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/17 23:11 bpf-next de91e631bdc7 bd2a760b .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/17 19:06 bpf-next de91e631bdc7 bd2a760b .config console log report info ci-upstream-bpf-next-kasan-gce
2020/10/21 09:31 bpf-next 9ff9b0d392ea e761439e .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/26 03:44 linux-next 62918e6fd7b5 2f1cec62 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.