syzbot


BUG: unable to handle kernel paging request in skb_clone

Status: closed as invalid on 2021/10/04 21:36
Subsystems: net
[Documentation on labels]
First crash: 1263d, last: 1218d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in skb_clone C 1 655d 789d 0/1 upstream: reported C repro on 2022/10/17 02:33
linux-4.19 general protection fault in skb_clone C error 2 788d 1098d 0/1 upstream: reported C repro on 2021/12/12 07:38
upstream general protection fault in skb_clone (4) net C unreliable 41 801d 1098d 0/28 closed as invalid on 2022/10/12 18:15
upstream general protection fault in skb_clone (5) net C done 7 774d 791d 22/28 fixed on 2023/02/24 13:50
upstream general protection fault in skb_clone syz 3 2676d 2676d 3/28 fixed on 2017/10/24 19:00
upstream general protection fault in skb_clone (3) net 44 1661d 1663d 15/28 fixed on 2020/07/17 17:58
upstream general protection fault in skb_clone (2) hams 1 1844d 1842d 0/28 auto-closed as invalid on 2020/03/25 12:28

Sample crash report:
BUG: unable to handle page fault for address: 0000000707000070
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 16c15067 P4D 16c15067 PUD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.13.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:freelist_dereference mm/slub.c:282 [inline]
RIP: 0010:get_freepointer mm/slub.c:289 [inline]
RIP: 0010:get_freepointer_safe mm/slub.c:303 [inline]
RIP: 0010:slab_alloc_node mm/slub.c:2882 [inline]
RIP: 0010:slab_alloc mm/slub.c:2922 [inline]
RIP: 0010:kmem_cache_alloc+0xfe/0x3a0 mm/slub.c:2927
Code: 39 f2 75 e7 48 8b 01 48 83 79 10 00 48 89 04 24 0f 84 4b 02 00 00 48 85 c0 0f 84 42 02 00 00 48 8b 7d 00 8b 4d 28 40 f6 c7 0f <48> 8b 1c 08 0f 85 4c 02 00 00 48 8d 4a 08 65 48 0f c7 0f 0f 94 c0
RSP: 0018:ffffc90000d263a8 EFLAGS: 00010246
RAX: 0000000707000000 RBX: 00000000000000e8 RCX: 0000000000000070
RDX: 00000000009a4e28 RSI: 00000000009a4e28 RDI: 000000000003ce30
RBP: ffff888012449640 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff87086bd3 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff87086bf0 R14: 0000000000000a20 R15: 0000000000000a20
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000707000070 CR3: 0000000017aab000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 skb_clone+0x170/0x3c0 net/core/skbuff.c:1499
 dev_queue_xmit_nit+0x3a5/0xa90 net/core/dev.c:2413
 xmit_one net/core/dev.c:3649 [inline]
 dev_hard_start_xmit+0xad/0x920 net/core/dev.c:3670
 __dev_queue_xmit+0x2133/0x3130 net/core/dev.c:4246
 neigh_hh_output include/net/neighbour.h:499 [inline]
 neigh_output include/net/neighbour.h:508 [inline]
 ip6_finish_output2+0x911/0x1700 net/ipv6/ip6_output.c:117
 __ip6_finish_output net/ipv6/ip6_output.c:182 [inline]
 __ip6_finish_output+0x4c1/0xe10 net/ipv6/ip6_output.c:161
 ip6_finish_output+0x32/0x200 net/ipv6/ip6_output.c:192
 NF_HOOK_COND include/linux/netfilter.h:290 [inline]
 ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:215
 dst_output include/net/dst.h:448 [inline]
 NF_HOOK include/linux/netfilter.h:301 [inline]
 NF_HOOK include/linux/netfilter.h:295 [inline]
 ip6_xmit+0x1277/0x1ea0 net/ipv6/ip6_output.c:320
 inet6_csk_xmit+0x358/0x630 net/ipv6/inet6_connection_sock.c:135
 __tcp_transmit_skb+0x1883/0x38f0 net/ipv4/tcp_output.c:1405
 __tcp_send_ack.part.0+0x3d6/0x7a0 net/ipv4/tcp_output.c:3970
 __tcp_send_ack net/ipv4/tcp_output.c:3976 [inline]
 tcp_send_ack+0x7d/0xa0 net/ipv4/tcp_output.c:3976
 tcp_validate_incoming+0x13b4/0x1c40 net/ipv4/tcp_input.c:5598
 tcp_rcv_established+0x543/0x1eb0 net/ipv4/tcp_input.c:5868
 tcp_v6_do_rcv+0x41d/0x12b0 net/ipv6/tcp_ipv6.c:1502
 tcp_v6_rcv+0x3004/0x36a0 net/ipv6/tcp_ipv6.c:1735
 ip6_protocol_deliver_rcu+0x2e9/0x17f0 net/ipv6/ip6_input.c:422
 ip6_input_finish+0x7f/0x160 net/ipv6/ip6_input.c:463
 NF_HOOK include/linux/netfilter.h:301 [inline]
 NF_HOOK include/linux/netfilter.h:295 [inline]
 ip6_input+0x9c/0xd0 net/ipv6/ip6_input.c:472
 dst_input include/net/dst.h:458 [inline]
 ip6_rcv_finish+0x1d7/0x310 net/ipv6/ip6_input.c:76
 ip_sabotage_in net/bridge/br_netfilter_hooks.c:873 [inline]
 ip_sabotage_in+0x206/0x270 net/bridge/br_netfilter_hooks.c:864
 nf_hook_entry_hookfn include/linux/netfilter.h:136 [inline]
 nf_hook_slow+0xc5/0x1e0 net/netfilter/core.c:589
 nf_hook.constprop.0+0x377/0x650 include/linux/netfilter.h:256
 NF_HOOK include/linux/netfilter.h:299 [inline]
 ipv6_rcv+0x9e/0x3c0 net/ipv6/ip6_input.c:297
 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5459
 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5573
 netif_receive_skb_internal net/core/dev.c:5678 [inline]
 netif_receive_skb+0x157/0x8e0 net/core/dev.c:5737
 NF_HOOK include/linux/netfilter.h:301 [inline]
 NF_HOOK include/linux/netfilter.h:295 [inline]
 br_pass_frame_up+0x2eb/0x3e0 net/bridge/br_input.c:61
 br_handle_frame_finish+0x678/0x1680 net/bridge/br_input.c:169
 br_nf_hook_thresh+0x2bd/0x350 net/bridge/br_netfilter_hooks.c:1025
 br_nf_pre_routing_finish_ipv6+0x69e/0xd80 net/bridge/br_netfilter_ipv6.c:206
 NF_HOOK include/linux/netfilter.h:301 [inline]
 br_nf_pre_routing_ipv6+0x42c/0x7a0 net/bridge/br_netfilter_ipv6.c:236
 br_nf_pre_routing+0x1622/0x1e60 net/bridge/br_netfilter_hooks.c:505
 nf_hook_entry_hookfn include/linux/netfilter.h:136 [inline]
 nf_hook_bridge_pre net/bridge/br_input.c:225 [inline]
 br_handle_frame+0x980/0x1180 net/bridge/br_input.c:368
 __netif_receive_skb_core+0xc4f/0x37f0 net/core/dev.c:5353
 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5457
 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5573
 process_backlog+0x232/0x6c0 net/core/dev.c:6437
 __napi_poll+0xaf/0x440 net/core/dev.c:6985
 napi_poll net/core/dev.c:7052 [inline]
 net_rx_action+0x801/0xb40 net/core/dev.c:7139
 __do_softirq+0x29b/0x9bd kernel/softirq.c:558
 run_ksoftirqd kernel/softirq.c:920 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:912
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
CR2: 0000000707000070
---[ end trace 8abf54a261023c30 ]---
RIP: 0010:freelist_dereference mm/slub.c:282 [inline]
RIP: 0010:get_freepointer mm/slub.c:289 [inline]
RIP: 0010:get_freepointer_safe mm/slub.c:303 [inline]
RIP: 0010:slab_alloc_node mm/slub.c:2882 [inline]
RIP: 0010:slab_alloc mm/slub.c:2922 [inline]
RIP: 0010:kmem_cache_alloc+0xfe/0x3a0 mm/slub.c:2927
Code: 39 f2 75 e7 48 8b 01 48 83 79 10 00 48 89 04 24 0f 84 4b 02 00 00 48 85 c0 0f 84 42 02 00 00 48 8b 7d 00 8b 4d 28 40 f6 c7 0f <48> 8b 1c 08 0f 85 4c 02 00 00 48 8d 4a 08 65 48 0f c7 0f 0f 94 c0
RSP: 0018:ffffc90000d263a8 EFLAGS: 00010246
RAX: 0000000707000000 RBX: 00000000000000e8 RCX: 0000000000000070
RDX: 00000000009a4e28 RSI: 00000000009a4e28 RDI: 000000000003ce30
RBP: ffff888012449640 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff87086bd3 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff87086bf0 R14: 0000000000000a20 R15: 0000000000000a20
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000707000070 CR3: 0000000017aab000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/29 19:08 upstream c54b245d0118 9d2ab5df .config console log report info ci-upstream-kasan-gce BUG: unable to handle kernel paging request in skb_clone
2021/08/13 11:33 net-next-old bed5a942e27e 3fd2ea69 .config console log report info ci-upstream-net-kasan-gce general protection fault in skb_clone
* Struck through repros no longer work on HEAD.