syzbot


general protection fault in tcf_action_destroy (2)

Status: auto-closed as invalid on 2020/07/06 08:55
Reported-by: syzbot+ded89d828d7483193636@syzkaller.appspotmail.com
First crash: 1522d, last: 1522d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in tcf_action_destroy C done 15 1679d 1700d 1/1 fixed on 2019/12/11 14:03
upstream general protection fault in tcf_action_destroy (2) net C done done 29 1306d 1519d 15/26 fixed on 2020/11/16 12:12
upstream general protection fault in tcf_action_destroy net 128 1683d 1701d 13/26 fixed on 2019/10/15 23:40
upstream general protection fault in tcf_action_destroy (3) net C error error 4 1263d 1263d 0/26 closed as invalid on 2021/12/14 20:22

Sample crash report:
input: syz0 as /devices/virtual/input/input798
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: 0 PID: 27453 Comm: syz-executor.5 Not tainted 4.19.108-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tcf_action_destroy+0x6a/0x150 net/sched/act_api.c:652
Code: b5 fb 83 c5 01 bf 20 00 00 00 48 83 c3 08 89 ee e8 ab 10 b5 fb 83 fd 20 0f 84 ae 00 00 00 e8 2d 0f b5 fb 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 ae 00 00 00 4c 8b 3b 4d 85 ff 0f 84 8b 00 00
RSP: 0018:ffff888024857128 EFLAGS: 00010207
RAX: 000000001fffffff RBX: 00000000ffffffff RCX: ffffc90010aec000
input: syz0 as /devices/virtual/input/input799
RDX: 0000000000000ae6 RSI: ffffffff85b293a3 RDI: 00000000ffffffff
RBP: 0000000000000000 R08: ffff88804d01a100 R09: ffffed1015cc4733
R10: ffffed1015cc4732 R11: ffff8880ae623993 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000
FS:  00007f1e92c86700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fe25000 CR3: 000000002a0d9000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tcf_exts_destroy+0x42/0xc0 net/sched/cls_api.c:2042
 tcf_exts_change+0xf4/0x150 net/sched/cls_api.c:2100
 tcindex_set_parms+0xeb9/0x19d0 net/sched/cls_tcindex.c:456
 tcindex_change+0x200/0x2d3 net/sched/cls_tcindex.c:517
 tc_new_tfilter+0xa6b/0x1450 net/sched/cls_api.c:1320
 rtnetlink_rcv_msg+0x453/0xaf0 net/core/rtnetlink.c:4777
 netlink_rcv_skb+0x160/0x410 net/netlink/af_netlink.c:2455
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x4d7/0x6a0 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x80b/0xcd0 net/netlink/af_netlink.c:1909
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:632
 ___sys_sendmsg+0x803/0x920 net/socket.c:2115
 __sys_sendmsg+0xec/0x1b0 net/socket.c:2153
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c4a9
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f1e92c85c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1e92c866d4 RCX: 000000000045c4a9
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 000000000076bfc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000009fa R14: 00000000004cc777 R15: 000000000076bfcc
Modules linked in:
---[ end trace 23c3678bbfd842e6 ]---
RIP: 0010:tcf_action_destroy+0x6a/0x150 net/sched/act_api.c:652
Code: b5 fb 83 c5 01 bf 20 00 00 00 48 83 c3 08 89 ee e8 ab 10 b5 fb 83 fd 20 0f 84 ae 00 00 00 e8 2d 0f b5 fb 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 ae 00 00 00 4c 8b 3b 4d 85 ff 0f 84 8b 00 00
RSP: 0018:ffff888024857128 EFLAGS: 00010207
RAX: 000000001fffffff RBX: 00000000ffffffff RCX: ffffc90010aec000
RDX: 0000000000000ae6 RSI: ffffffff85b293a3 RDI: 00000000ffffffff
RBP: 0000000000000000 R08: ffff88804d01a100 R09: ffffed1015cc4733
R10: ffffed1015cc4732 R11: ffff8880ae623993 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000
FS:  00007f1e92c86700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020f5dfe4 CR3: 000000002a0d9000 CR4: 00000000001406e0
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/03/08 08:55 linux-4.19.y 7472c4028e23 2e9971bb .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.