syzbot


general protection fault in em_u32_match

Status: auto-closed as invalid on 2020/11/02 22:53
Subsystems: net
[Documentation on labels]
First crash: 1353d, last: 1353d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in em_u32_match (2) C error 1 461d 461d 0/1 upstream: reported C repro on 2023/01/14 00:52
linux-4.19 general protection fault in em_u32_match 1 961d 961d 0/1 auto-closed as invalid on 2021/12/29 15:06
linux-4.14 general protection fault in em_u32_match C 1 436d 466d 0/1 upstream: reported C repro on 2023/01/08 12:41

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 3838 Comm: kworker/0:5 Not tainted 5.8.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: wg-crypt-wg1 wg_packet_tx_worker
RIP: 0010:em_u32_match+0x156/0x300 net/sched/em_u32.c:29
Code: 9c 01 00 00 41 23 5c 24 0c 48 63 db 4c 01 fb e8 70 9e 08 fb 49 8d 7c 24 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 21
RSP: 0018:ffffc90001bb7320 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8880a74ec054 RCX: ffffffff866b0f69
RDX: 0000000000000001 RSI: ffffffff866b1ea0 RDI: 0000000000000008
RBP: ffff88808bae3500 R08: 0000000000000000 R09: ffffc90001bb75a8
R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880a74ec000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0006408a0 CR3: 000000009f0e4000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tcf_em_match net/sched/ematch.c:493 [inline]
 __tcf_em_tree_match+0x152/0x523 net/sched/ematch.c:519
 tcf_em_tree_match include/net/pkt_cls.h:460 [inline]
 basic_classify+0x21b/0x330 net/sched/cls_basic.c:48
 __tcf_classify+0x120/0x470 net/sched/cls_api.c:1547
 tcf_classify+0x8a/0xc0 net/sched/cls_api.c:1584
 cake_classify net/sched/sch_cake.c:1664 [inline]
 cake_enqueue+0x176/0x3710 net/sched/sch_cake.c:1703
 __dev_xmit_skb net/core/dev.c:3789 [inline]
 __dev_queue_xmit+0x1878/0x2d60 net/core/dev.c:4100
 neigh_hh_output include/net/neighbour.h:498 [inline]
 neigh_output include/net/neighbour.h:507 [inline]
 ip_finish_output2+0x1523/0x21f0 net/ipv4/ip_output.c:228
 __ip_finish_output net/ipv4/ip_output.c:306 [inline]
 __ip_finish_output+0x6e6/0xbc0 net/ipv4/ip_output.c:288
 ip_finish_output+0x34/0x1f0 net/ipv4/ip_output.c:316
 NF_HOOK_COND include/linux/netfilter.h:296 [inline]
 ip_output+0x196/0x310 net/ipv4/ip_output.c:430
 dst_output include/net/dst.h:443 [inline]
 ip_local_out+0xaf/0x1a0 net/ipv4/ip_output.c:125
 iptunnel_xmit+0x5a0/0x9b0 net/ipv4/ip_tunnel_core.c:81
 send4+0x4c6/0xd70 drivers/net/wireguard/socket.c:85
 wg_socket_send_skb_to_peer+0x192/0x220 drivers/net/wireguard/socket.c:174
 wg_packet_create_data_done drivers/net/wireguard/send.c:252 [inline]
 wg_packet_tx_worker+0x2f9/0x980 drivers/net/wireguard/send.c:280
 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415
 kthread+0x3b5/0x4a0 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293
Modules linked in:
---[ end trace b7a8920b4aacea5d ]---
RIP: 0010:em_u32_match+0x156/0x300 net/sched/em_u32.c:29
Code: 9c 01 00 00 41 23 5c 24 0c 48 63 db 4c 01 fb e8 70 9e 08 fb 49 8d 7c 24 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 21
RSP: 0018:ffffc90001bb7320 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8880a74ec054 RCX: ffffffff866b0f69
RDX: 0000000000000001 RSI: ffffffff866b1ea0 RDI: 0000000000000008
RBP: ffff88808bae3500 R08: 0000000000000000 R09: ffffc90001bb75a8
R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880a74ec000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0006408a0 CR3: 000000009f0e4000 CR4: 00000000001406f0
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/08/04 22:44 net-old ac3a0c847296 80a06902 .config console log report ci-upstream-net-this-kasan-gce
* Struck through repros no longer work on HEAD.