syzbot


general protection fault in __tcf_idr_release

Status: upstream: reported C repro on 2020/09/25 19:51
Reported-by: syzbot+9848e7488c582717ef7a@syzkaller.appspotmail.com
First crash: 1553d, last: 667d
Fix bisection attempts (25)
Created Duration User Patch Repo Result
2023/02/28 11:47 27m bisect fix linux-4.14.y OK (0) job log log
2023/01/27 09:18 50m bisect fix linux-4.14.y OK (0) job log log
2022/11/18 04:50 23m bisect fix linux-4.14.y OK (0) job log log
2022/10/19 02:49 23m bisect fix linux-4.14.y OK (0) job log log
2022/09/15 15:09 24m bisect fix linux-4.14.y OK (0) job log log
2022/08/16 14:37 31m bisect fix linux-4.14.y OK (0) job log log
2022/07/17 12:45 21m bisect fix linux-4.14.y OK (0) job log log
2022/06/17 12:15 30m bisect fix linux-4.14.y OK (0) job log log
2022/05/18 11:53 21m bisect fix linux-4.14.y OK (0) job log log
2022/04/18 11:20 21m bisect fix linux-4.14.y OK (0) job log log
2022/03/19 10:55 24m bisect fix linux-4.14.y OK (0) job log log
2022/02/16 09:35 24m bisect fix linux-4.14.y OK (0) job log log
2022/01/17 09:12 23m bisect fix linux-4.14.y OK (0) job log log
2021/12/18 08:46 25m bisect fix linux-4.14.y OK (0) job log log
2021/11/18 08:21 24m bisect fix linux-4.14.y OK (0) job log log
2021/10/19 07:50 31m bisect fix linux-4.14.y OK (0) job log log
2021/09/19 07:11 25m bisect fix linux-4.14.y OK (0) job log log
2021/08/20 06:32 22m bisect fix linux-4.14.y OK (0) job log log
2021/07/21 06:01 28m bisect fix linux-4.14.y OK (0) job log log
2021/06/21 05:24 26m bisect fix linux-4.14.y OK (0) job log log
2021/05/21 17:31 23m bisect fix linux-4.14.y OK (0) job log log
2021/04/21 17:00 21m bisect fix linux-4.14.y OK (0) job log log
2021/03/22 16:18 21m bisect fix linux-4.14.y OK (0) job log log
2021/02/20 15:35 22m bisect fix linux-4.14.y OK (0) job log log
2021/02/17 21:35 18m bisect fix linux-4.14.y error job log

Sample crash report:
netlink: 32 bytes leftover after parsing attributes in process `syz-executor293'.
netlink: 32 bytes leftover after parsing attributes in process `syz-executor293'.
netlink: 32 bytes leftover after parsing attributes in process `syz-executor293'.
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
Modules linked in:
CPU: 1 PID: 8002 Comm: syz-executor293 Not tainted 4.14.203-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880b2a8c500 task.stack: ffff8880b4780000
RIP: 0010:__tcf_idr_release+0x15e/0x260 net/sched/act_api.c:99
RSP: 0018:ffff8880b47874f0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000009 RSI: 0000000000000000 RDI: 0000000000000048
RBP: ffff8880b36277a0 R08: ffffffff8b9bc4c8 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8880b2a8c500 R12: 0000000000000000
R13: 00000000813cd0bc R14: 0000000000000000 R15: 0000000000000000
FS:  00007f9a98f58700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc8b0ead80 CR3: 00000000a4f03000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tcf_action_destroy+0xed/0x170 net/sched/act_api.c:527
 tcf_action_init+0x294/0x400 net/sched/act_api.c:769
 tcf_action_add net/sched/act_api.c:1079 [inline]
 tc_ctl_action+0x2e3/0x50f net/sched/act_api.c:1131
 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4316
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x446c19
RSP: 002b:00007f9a98f57d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446c19
RDX: 0000000000000000 RSI: 0000000020002980 RDI: 0000000000000003
RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c
R13: 0001008400000000 R14: 0000000000000000 R15: 053b003000000098
Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 fc 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 00 49 8d 7c 24 48 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c7 00 00 00 4d 8b 64 24 48 4d 85 e4 74 0e e8 
RIP: __tcf_idr_release+0x15e/0x260 net/sched/act_api.c:99 RSP: ffff8880b47874f0
---[ end trace 06099b3100bf7700 ]---

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/01 02:01 linux-4.14.y 2b7915014161 8bc4594f .config console log report syz C ci2-linux-4-14
2020/10/14 02:36 linux-4.14.y cbfa1702aaf6 fc7735a2 .config console log report syz C ci2-linux-4-14
2020/09/25 20:34 linux-4.14.y cbfa1702aaf6 4a006f63 .config console log report syz C ci2-linux-4-14
2020/11/05 23:18 linux-4.14.y 6b6446efedb2 cba33199 .config console log report info ci2-linux-4-14
2020/10/31 07:14 linux-4.14.y 2b7915014161 18e33098 .config console log report info ci2-linux-4-14
2020/10/30 17:30 linux-4.14.y 2b7915014161 a6e3ac3b .config console log report info ci2-linux-4-14
2020/10/30 17:28 linux-4.14.y 2b7915014161 a6e3ac3b .config console log report info ci2-linux-4-14
2020/10/12 22:31 linux-4.14.y cbfa1702aaf6 d32b0bbf .config console log report info ci2-linux-4-14
2020/10/05 11:52 linux-4.14.y cbfa1702aaf6 5ef9c291 .config console log report info ci2-linux-4-14
2020/10/03 23:01 linux-4.14.y cbfa1702aaf6 1a3f9408 .config console log report info ci2-linux-4-14
2020/09/25 19:50 linux-4.14.y cbfa1702aaf6 4a006f63 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.