syzbot


general protection fault in ieee80211_key_free

Status: auto-obsoleted due to no activity on 2023/04/17 05:59
Reported-by: syzbot+d791609081ac065590c8@syzkaller.appspotmail.com
First crash: 1298d, last: 1288d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in ieee80211_key_free wireless C done 3 1290d 1295d 15/26 fixed on 2020/11/16 12:12
Last patch testing requests (3)
Created Duration User Patch Repo Result
2023/04/17 05:40 18m retest repro android12-5.4 OK log
2023/04/17 04:40 17m retest repro android12-5.4 OK log
2020/10/07 14:41 15m anant.thazhemadam@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 367 Comm: syz-executor832 Not tainted 5.4.69-syzkaller-00002-g489646b879ed #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ieee80211_key_free+0x33/0x390 net/mac80211/key.c:843
Code: 53 50 89 f5 49 89 fe e8 ab 00 8d fd 4d 85 f6 0f 84 b0 00 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8d 7e 08 4c 89 fb 48 c1 eb 03 <80> 3c 03 00 74 08 4c 89 ff e8 9f ba ba fd 4d 8b 2f 4d 85 ed 0f 84
RSP: 0018:ffff8881c39f73a8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0fffffffe000098a RCX: ffff8881c3955d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 7fffffff00004c4b
RBP: 0000000000000000 R08: ffffffff83aea4e8 R09: ffffffff81f75c9b
R10: ffff8881c3955d00 R11: 000000000000000c R12: ffff8881cdea9a68
R13: ffff8881cdea8ed8 R14: 7fffffff00004c4b R15: 7fffffff00004c53
FS:  00000000008f6880(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000040 CR3: 00000001c3a1d002 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ieee80211_del_key+0x139/0x180 net/mac80211/cfg.c:532
 rdev_del_key+0x1cf/0x330 net/wireless/rdev-ops.h:107
 nl80211_del_key+0x410/0x550 net/wireless/nl80211.c:4015
 netlink_rcv_skb+0x1f0/0x460 net/netlink/af_netlink.c:2478
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:665
 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline]
 netlink_unicast+0x87c/0xa20 net/netlink/af_netlink.c:1329
 netlink_sendmsg+0x9a7/0xd40 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:638 [inline]
 sock_sendmsg net/socket.c:658 [inline]
 ____sys_sendmsg+0x56f/0x860 net/socket.c:2298
 ___sys_sendmsg net/socket.c:2352 [inline]
 __sys_sendmsg+0x26a/0x350 net/socket.c:2398
 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x441f99
Code: e8 ac 00 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 7b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffe723a01c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441f99
RDX: 0000000000000000 RSI: 0000000020000380 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000001600000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000525f
R13: 0000000000000000 R14: 0000000000000007 R15: 0000000000000004
Modules linked in:
---[ end trace f9b6a9dbf93194e2 ]---
RIP: 0010:ieee80211_key_free+0x33/0x390 net/mac80211/key.c:843
Code: 53 50 89 f5 49 89 fe e8 ab 00 8d fd 4d 85 f6 0f 84 b0 00 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8d 7e 08 4c 89 fb 48 c1 eb 03 <80> 3c 03 00 74 08 4c 89 ff e8 9f ba ba fd 4d 8b 2f 4d 85 ed 0f 84
RSP: 0018:ffff8881c39f73a8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0fffffffe000098a RCX: ffff8881c3955d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 7fffffff00004c4b
RBP: 0000000000000000 R08: ffffffff83aea4e8 R09: ffffffff81f75c9b
R10: ffff8881c3955d00 R11: 000000000000000c R12: ffff8881cdea9a68
R13: ffff8881cdea8ed8 R14: 7fffffff00004c4b R15: 7fffffff00004c53
FS:  00000000008f6880(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000040 CR3: 00000001c3a1d002 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/07 08:00 android12-5.4 489646b879ed 1880b4a9 .config console log report syz C ci2-android-5-4-kasan
2020/10/04 07:05 android12-5.4 9d0d630081ae 1a3f9408 .config console log report syz C ci2-android-5-4-kasan
2020/10/14 02:43 android12-5.4 2a31fdaad927 fc7735a2 .config console log report info ci2-android-5-4-kasan
2020/10/13 13:14 android12-5.4 f7bf709b223b bd69ee0d .config console log report info ci2-android-5-4-kasan
2020/10/12 07:43 android12-5.4 d0e6eb879517 4a77ae0b .config console log report info ci2-android-5-4-kasan
2020/10/12 01:52 android12-5.4 d0e6eb879517 4a77ae0b .config console log report info ci2-android-5-4-kasan
2020/10/11 07:14 android12-5.4 d0e6eb879517 4a77ae0b .config console log report info ci2-android-5-4-kasan
2020/10/10 16:52 android12-5.4 d0e6eb879517 b74c49a6 .config console log report info ci2-android-5-4-kasan
2020/10/08 04:24 android12-5.4 489646b879ed 1880b4a9 .config console log report info ci2-android-5-4-kasan
2020/10/06 14:38 android12-5.4 9d0d630081ae 1880b4a9 .config console log report info ci2-android-5-4-kasan
2020/10/04 06:48 android12-5.4 9d0d630081ae 1a3f9408 .config console log report info ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.