=====================================================
BUG: KMSAN: uninit-value in netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
CPU: 0 PID: 8609 Comm: syz-executor.5 Not tainted 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:79 [inline]
dump_stack+0x24c/0x2e0 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197
netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
invoke_softirq kernel/softirq.c:221 [inline]
__irq_exit_rcu+0x22f/0x280 kernel/softirq.c:422
irq_exit_rcu+0xe/0x10 kernel/softirq.c:434
sysvec_apic_timer_interrupt+0xc6/0xf0 arch/x86/kernel/apic/apic.c:1100
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:kmsan_get_task_state+0x4/0x40 mm/kmsan/kmsan.c:59
Code: 41 5c 41 5d 41 5e 41 5f 5d c3 8b bb 88 0c 00 00 e8 d1 16 00 00 e9 71 ff ff ff cc cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <65> 8b 05 dd 5e c2 7d a9 00 01 ff 00 74 11 48 c7 c0 00 7b 02 00 65
RSP: 0018:ffff888062847420 EFLAGS: 00000202
RAX: fffffffffffffff8 RBX: 0000000000000004 RCX: 0000000000040000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90001c20064
RBP: ffff888062847420 R08: ffffea000000000f R09: ffff88813fffa000
R10: 00000000b1ffb3de R11: 0000000000000000 R12: ffffc90001c20060
R13: 0000000000000000 R14: ffffc90001c20064 R15: 0000000000000000
kmsan_in_runtime mm/kmsan/kmsan.h:66 [inline]
kmsan_get_shadow_origin_ptr+0x29/0xb0 mm/kmsan/kmsan_shadow.c:141
__msan_metadata_ptr_for_load_4+0x10/0x20 mm/kmsan/kmsan_instr.c:54
___bpf_prog_run+0x5fa4/0xb950 kernel/bpf/core.c:1621
__bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750
bpf_test_run+0x53f/0xe60 include/linux/filter.h:770
bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582
bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline]
__do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411
__se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351
__ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351
do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline]
__do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142
do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167
do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf7fbb549
Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f55b55fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165
RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000080
RDX: 0000000000000028 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Uninit was created at:
kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline]
kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104
kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2922 [inline]
__kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609
kmalloc_reserve net/core/skbuff.c:353 [inline]
pskb_expand_head+0x25e/0x1e20 net/core/skbuff.c:1676
netif_receive_generic_xdp+0x61c/0x2590 net/core/dev.c:4699
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
=====================================================
------------[ cut here ]------------
Illegal XDP return value 4294967274, expect packet loss!
WARNING: CPU: 0 PID: 8609 at net/core/filter.c:8111 bpf_warn_invalid_xdp_action+0x147/0x150 net/core/filter.c:8109
Modules linked in:
CPU: 0 PID: 8609 Comm: syz-executor.5 Tainted: G B 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bpf_warn_invalid_xdp_action+0x147/0x150 net/core/filter.c:8109
Code: 45 89 bd 50 06 00 00 45 89 a5 70 09 00 00 49 c7 85 80 0c 00 00 00 00 00 00 48 c7 c7 e4 2e 9e 90 44 89 f2 31 c0 e8 29 c9 ef f4 <0f> 0b e9 fa fe ff ff 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53
RSP: 0018:ffff88813fc05890 EFLAGS: 00010246
RAX: d893fa576da2f400 RBX: 00000000ffffff00 RCX: ffff8880636d3e80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88813fc058b8 R08: ffffffff81a4b0aa R09: ffff88813fffa000
R10: 0000000000000003 R11: 00000000ffffffff R12: 0000000005c700cb
R13: ffff88813fc27b00 R14: 00000000ffffffea R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88813fc00000(0063) knlGS:00000000f55b5b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000ffe38d54 CR3: 0000000067204000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
netif_receive_generic_xdp+0x1ed6/0x2590 net/core/dev.c:4768
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
invoke_softirq kernel/softirq.c:221 [inline]
__irq_exit_rcu+0x22f/0x280 kernel/softirq.c:422
irq_exit_rcu+0xe/0x10 kernel/softirq.c:434
sysvec_apic_timer_interrupt+0xc6/0xf0 arch/x86/kernel/apic/apic.c:1100
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:kmsan_get_task_state+0x4/0x40 mm/kmsan/kmsan.c:59
Code: 41 5c 41 5d 41 5e 41 5f 5d c3 8b bb 88 0c 00 00 e8 d1 16 00 00 e9 71 ff ff ff cc cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <65> 8b 05 dd 5e c2 7d a9 00 01 ff 00 74 11 48 c7 c0 00 7b 02 00 65
RSP: 0018:ffff888062847420 EFLAGS: 00000202
RAX: fffffffffffffff8 RBX: 0000000000000004 RCX: 0000000000040000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90001c20064
RBP: ffff888062847420 R08: ffffea000000000f R09: ffff88813fffa000
R10: 00000000b1ffb3de R11: 0000000000000000 R12: ffffc90001c20060
R13: 0000000000000000 R14: ffffc90001c20064 R15: 0000000000000000
kmsan_in_runtime mm/kmsan/kmsan.h:66 [inline]
kmsan_get_shadow_origin_ptr+0x29/0xb0 mm/kmsan/kmsan_shadow.c:141
__msan_metadata_ptr_for_load_4+0x10/0x20 mm/kmsan/kmsan_instr.c:54
___bpf_prog_run+0x5fa4/0xb950 kernel/bpf/core.c:1621
__bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750
bpf_test_run+0x53f/0xe60 include/linux/filter.h:770
bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582
bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline]
__do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411
__se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351
__ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351
do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline]
__do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142
do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167
do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf7fbb549
Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f55b55fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165
RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000080
RDX: 0000000000000028 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
---[ end trace c1ce058a44e092bd ]---
=====================================================
BUG: KMSAN: uninit-value in netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
CPU: 0 PID: 11 Comm: ksoftirqd/0 Tainted: G B W 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:79 [inline]
dump_stack+0x24c/0x2e0 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197
netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
run_ksoftirqd+0x20/0x40 kernel/softirq.c:652
smpboot_thread_fn+0x5f5/0xa90 kernel/smpboot.c:165
kthread+0x521/0x560 kernel/kthread.c:292
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Uninit was created at:
kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline]
kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104
kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2922 [inline]
__kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609
kmalloc_reserve net/core/skbuff.c:353 [inline]
pskb_expand_head+0x25e/0x1e20 net/core/skbuff.c:1676
netif_receive_generic_xdp+0x61c/0x2590 net/core/dev.c:4699
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
=====================================================
=====================================================
BUG: KMSAN: uninit-value in netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
CPU: 0 PID: 8650 Comm: syz-executor.5 Tainted: G B W 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:79 [inline]
dump_stack+0x24c/0x2e0 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197
netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
invoke_softirq kernel/softirq.c:221 [inline]
__irq_exit_rcu+0x22f/0x280 kernel/softirq.c:422
irq_exit_rcu+0xe/0x10 kernel/softirq.c:434
sysvec_apic_timer_interrupt+0xc6/0xf0 arch/x86/kernel/apic/apic.c:1100
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650
RIP: 0010:kmsan_get_shadow_origin_ptr+0x12/0xb0 mm/kmsan/kmsan_shadow.c:137
Code: 00 00 01 e9 63 fe ff ff 48 c7 c7 7f 3a 7a 90 31 c0 e8 eb e5 25 ff cc cc 55 48 89 e5 41 57 41 56 53 41 89 d7 48 89 f3 49 89 fe <48> 81 fe 01 10 00 00 73 6e 80 3d d6 22 06 10 00 74 0e e8 67 d5 ff
RSP: 0018:ffff888067063240 EFLAGS: 00000202
RAX: 0000000017cb014a RBX: 0000000000000001 RCX: 00000000b73f5c7c
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8880b77f5c7e
RBP: ffff888067063258 R08: ffffea000000000f R09: ffff88813fffa000
R10: 000000000000000f R11: 00000000ffffffff R12: ffff8880b77f5c7e
R13: ffff8880b77f5cf3 R14: ffff8880b77f5c7e R15: 0000000000000001
__msan_metadata_ptr_for_store_1+0x13/0x20 mm/kmsan/kmsan_instr.c:52
__skb_clone+0x3a5/0x9b0 net/core/skbuff.c:1046
skb_clone+0x435/0x650 net/core/skbuff.c:1503
____bpf_clone_redirect net/core/filter.c:2433 [inline]
bpf_clone_redirect+0x188/0x660 net/core/filter.c:2420
___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525
__bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750
bpf_test_run+0x53f/0xe60 include/linux/filter.h:770
bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582
bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline]
__do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411
__se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351
__ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351
do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline]
__do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142
do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167
do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf7fbb549
Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f55b55fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165
RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000080
RDX: 0000000000000028 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Uninit was created at:
kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline]
kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104
kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2922 [inline]
__kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609
kmalloc_reserve net/core/skbuff.c:353 [inline]
pskb_expand_head+0x25e/0x1e20 net/core/skbuff.c:1676
netif_receive_generic_xdp+0x61c/0x2590 net/core/dev.c:4699
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
=====================================================
=====================================================
BUG: KMSAN: uninit-value in netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
CPU: 0 PID: 11 Comm: ksoftirqd/0 Tainted: G B W 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:79 [inline]
dump_stack+0x24c/0x2e0 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197
netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
run_ksoftirqd+0x20/0x40 kernel/softirq.c:652
smpboot_thread_fn+0x5f5/0xa90 kernel/smpboot.c:165
kthread+0x521/0x560 kernel/kthread.c:292
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Uninit was created at:
kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline]
kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104
kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2922 [inline]
__kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609
kmalloc_reserve net/core/skbuff.c:353 [inline]
pskb_expand_head+0x25e/0x1e20 net/core/skbuff.c:1676
netif_receive_generic_xdp+0x61c/0x2590 net/core/dev.c:4699
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
=====================================================
=====================================================
BUG: KMSAN: uninit-value in netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
CPU: 0 PID: 8650 Comm: syz-executor.5 Tainted: G B W 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:79 [inline]
dump_stack+0x24c/0x2e0 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197
netif_receive_generic_xdp+0x15c2/0x2590 net/core/dev.c:4751
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
do_softirq+0x123/0x1c0 kernel/softirq.c:248
__local_bh_enable_ip+0xa1/0xb0 kernel/softirq.c:198
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline]
_raw_spin_unlock_bh+0x4b/0x60 kernel/locking/spinlock.c:207
spin_unlock_bh include/linux/spinlock.h:399 [inline]
bpf_prog_free_id kernel/bpf/syscall.c:1677 [inline]
__bpf_prog_put kernel/bpf/syscall.c:1717 [inline]
bpf_prog_put+0x3c3/0x4a0 kernel/bpf/syscall.c:1724
__do_sys_bpf+0xd6e4/0x1aba0 include/linux/file.h:46
__se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351
__ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351
do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline]
__do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142
do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167
do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf7fbb549
Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f55b55fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165
RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000080
RDX: 0000000000000028 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Uninit was created at:
kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline]
kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104
kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2922 [inline]
__kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609
kmalloc_reserve net/core/skbuff.c:353 [inline]
pskb_expand_head+0x25e/0x1e20 net/core/skbuff.c:1676
netif_receive_generic_xdp+0x61c/0x2590 net/core/dev.c:4699
do_xdp_generic net/core/dev.c:4816 [inline]
__netif_receive_skb_core+0x294a/0x65a0 net/core/dev.c:5207
__netif_receive_skb_one_core net/core/dev.c:5382 [inline]
__netif_receive_skb+0xf2/0x640 net/core/dev.c:5498
process_backlog+0x517/0xbd0 net/core/dev.c:6365
__napi_poll+0x13e/0xca0 net/core/dev.c:6912
napi_poll net/core/dev.c:6979 [inline]
net_rx_action+0x726/0x14a0 net/core/dev.c:7065
__do_softirq+0x1b9/0x715 kernel/softirq.c:345
=====================================================