Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 3 UID: 0 PID: 6521 Comm: syz.0.21 Not tainted 6.16.0-rc3-syzkaller-g78f4e737a53e #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:____bpf_get_local_storage kernel/bpf/cgroup.c:1638 [inline]
RIP: 0010:bpf_get_local_storage+0x17b/0x260 kernel/bpf/cgroup.c:1620
Code: 48 8d 7b 10 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bb 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 10 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 a6 00 00 00 48 8b 1b e8 b3 f6 98 09 89 c5 83 f8
RSP: 0018:ffffc900006f85f8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81e78cd2
RDX: 0000000000000000 RSI: ffffffff81e78d88 RDI: ffff8880264ae6a0
RBP: ffffc900006f8618 R08: 0000000000000005 R09: 0000000000000015
R10: 0000000000000015 R11: 0000000000000001 R12: ffff888022bf0000
R13: ffffc90001726002 R14: 0000000000000000 R15: ffff888022bf0030
FS: 0000555558f93500(0000) GS:ffff8880d6a53000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000400000001c40 CR3: 0000000044f7d000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
bpf_prog_3647604f6c8667e9+0x2e/0x45
bpf_dispatcher_nop_func include/linux/bpf.h:1322 [inline]
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run include/linux/filter.h:725 [inline]
__bpf_prog_run_save_cb+0x121/0x330 include/linux/filter.h:955
bpf_prog_run_array_cg kernel/bpf/cgroup.c:81 [inline]
__cgroup_bpf_run_filter_skb+0x47c/0xe70 kernel/bpf/cgroup.c:1476
sk_filter_trim_cap+0x232/0xac0 net/core/filter.c:147
tcp_filter net/ipv4/tcp_ipv4.c:2152 [inline]
tcp_v4_rcv+0x2abb/0x4650 net/ipv4/tcp_ipv4.c:2342
ip_protocol_deliver_rcu+0xba/0x4c0 net/ipv4/ip_input.c:205
ip_local_deliver_finish+0x316/0x570 net/ipv4/ip_input.c:233
NF_HOOK include/linux/netfilter.h:317 [inline]
NF_HOOK include/linux/netfilter.h:311 [inline]
ip_local_deliver+0x18e/0x1f0 net/ipv4/ip_input.c:254
dst_input include/net/dst.h:469 [inline]
ip_rcv_finish net/ipv4/ip_input.c:447 [inline]
NF_HOOK include/linux/netfilter.h:317 [inline]
NF_HOOK include/linux/netfilter.h:311 [inline]
ip_rcv+0x2c3/0x5d0 net/ipv4/ip_input.c:567
__netif_receive_skb_one_core+0x197/0x1e0 net/core/dev.c:5977
__netif_receive_skb+0x1d/0x160 net/core/dev.c:6090
process_backlog+0x442/0x15e0 net/core/dev.c:6442
__napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7414
napi_poll net/core/dev.c:7478 [inline]
net_rx_action+0xa9f/0xfe0 net/core/dev.c:7605
handle_softirqs+0x216/0x8e0 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0x109/0x170 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:109 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:127 [inline]
RIP: 0010:lock_is_held_type+0x54/0x150 kernel/locking/lockdep.c:5939
Code: a1 4c 08 85 c0 0f 85 ce 00 00 00 65 4c 8b 25 ab 5f 4c 08 41 8b 94 24 ec 0a 00 00 85 d2 0f 85 b6 00 00 00 48 89 fd 41 89 f6 9c <8f> 04 24 fa 48 c7 c7 4f be f0 8d 4d 8d ac 24 f0 0a 00 00 45 31 ff
RSP: 0018:ffffc90003ca7d98 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff92000794fbe RCX: 0000000000000001
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8e5c4880
RBP: ffffffff8e5c4880 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88802f1b4880
R13: 00000000ffffffff R14: 00000000ffffffff R15: ffff88802f1b4880
lock_is_held include/linux/lockdep.h:249 [inline]
__might_resched+0x4ca/0x5e0 kernel/sched/core.c:8762
__range_close fs/file.c:757 [inline]
__do_sys_close_range+0x3ae/0x730 fs/file.c:811
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc47f38d169
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff58673358 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 0000000000016303 RCX: 00007fc47f38d169
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fc47f5a7ba0 R08: 0000000000000001 R09: 0000000e5867364f
R10: 00007fc47f200000 R11: 0000000000000246 R12: 00007fc47f5a5fac
R13: 00007fc47f5a5fa0 R14: ffffffffffffffff R15: 00007fff58673470
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:____bpf_get_local_storage kernel/bpf/cgroup.c:1638 [inline]
RIP: 0010:bpf_get_local_storage+0x17b/0x260 kernel/bpf/cgroup.c:1620
Code: 48 8d 7b 10 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bb 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 10 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 a6 00 00 00 48 8b 1b e8 b3 f6 98 09 89 c5 83 f8
RSP: 0018:ffffc900006f85f8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81e78cd2
RDX: 0000000000000000 RSI: ffffffff81e78d88 RDI: ffff8880264ae6a0
RBP: ffffc900006f8618 R08: 0000000000000005 R09: 0000000000000015
R10: 0000000000000015 R11: 0000000000000001 R12: ffff888022bf0000
R13: ffffc90001726002 R14: 0000000000000000 R15: ffff888022bf0030
FS: 0000555558f93500(0000) GS:ffff8880d6a53000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000400000001c40 CR3: 0000000044f7d000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 8d 7b 10 lea 0x10(%rbx),%rdi
4: 48 89 fa mov %rdi,%rdx
7: 48 c1 ea 03 shr $0x3,%rdx
b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
f: 0f 85 bb 00 00 00 jne 0xd0
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 48 8b 5b 10 mov 0x10(%rbx),%rbx
23: 48 89 da mov %rbx,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 a6 00 00 00 jne 0xda
34: 48 8b 1b mov (%rbx),%rbx
37: e8 b3 f6 98 09 call 0x998f6ef
3c: 89 c5 mov %eax,%ebp
3e: 83 .byte 0x83
3f: f8 clc