Re: BUG: kernel NULL pointer dereference in __cgroup_bpf_run_filter_skb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



:
We have experienced a kernel BPF null pointer dereference issue on all
our machines since mid of June. It might be related to an upgrade of
libvirt/kvm/qemu at that point of time. But we’re not sure.
...
We experienced the kernel freeze on following Arch Linux kernels:
- 5.7.0 (5.7.0-3-MANJARO x64)
- 5.6.16 (5.6.16-1-MANJARO x64)
- 5.4.44 (5.4.44-1-MANJARO x64)
- 4.19.126 (4.19.126-1-MANJARO x64)
- 4.14.183 (4.14.183-1-MANJARO x64)
Kernel configs can be taken from https://gitlab.manjaro.org/packages/core.

Subsequent e-mails will contain the relevant extracts from journal or
netconsole logs.

Help and support on this issue is welcome.

Kernel 5.4.44 (5.4.44-1-MANJARO x64)

BUG: kernel NULL pointer dereference, address: 0000000000000010
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0
Oops: 0000 [#1] PREEMPT SMP PTI
CPU: 3 PID: 1405 Comm: vhost-1399 Not tainted 5.4.44-1-MANJARO #1
Hardware name: ASUS All Series/CS-B, BIOS 3602 03/26/2018
RIP: 0010:__cgroup_bpf_run_filter_skb+0xd9/0x230
Code: 00 48 01 c8 48 89 43 50 41 83 ff 01 0f 84 c2 00 00 00 e8 da a4 ed ff e8 c5 ce f2 ff 44 89 fa 48 8d 84 d5 30 06 00 00 48 8b 00 <48> 8b 78 10 4c 8d 78 10 48 85 ff 0f 84 29 01 00 00 bd 01 00 00 00
RSP: 0018:ffffbc1780b077f8 EFLAGS: 00010206
RAX: 0000000000000000 RBX: ffffa32ce1bed600 RCX: 0000000000000034
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffa32cf1e22000 R08: 0000000000000000 R09: 0000000000000001
R10: 000000000000dc02 R11: ffffa32cfa1100a0 R12: 0000000000000014
R13: 0000000000000014 R14: ffffa32be074f662 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffa32d0fd80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000010 CR3: 00000003cab56004 CR4: 00000000001626e0
Call Trace:
 sk_filter_trim_cap+0x12f/0x270
 ? tcp_v4_inbound_md5_hash+0x56/0x170
 tcp_v4_rcv+0x9bc/0xc10
 ? arp_process+0x221/0x7e0
 ip_protocol_deliver_rcu+0x2b/0x1e0
 ip_local_deliver_finish+0x55/0x70
 ip_local_deliver+0x115/0x130
 ? ip_protocol_deliver_rcu+0x1e0/0x1e0
 ip_rcv+0x62/0x110
 __netif_receive_skb_one_core+0x87/0xa0
 netif_receive_skb_internal+0x93/0xe0
 netif_receive_skb+0x18/0xd0
 br_pass_frame_up+0xf0/0x1d0 [bridge]
 ? br_port_flags_change+0x70/0x70 [bridge]
 br_handle_frame_finish+0x18a/0x450 [bridge]
 br_handle_frame+0x238/0x380 [bridge]
 ? br_handle_local_finish+0xa0/0xa0 [bridge]
 __netif_receive_skb_core+0x3e7/0xc20
 ? kvm_irq_delivery_to_apic_fast+0x86/0x170 [kvm]
 __netif_receive_skb_one_core+0x3d/0xa0
 netif_receive_skb_internal+0x93/0xe0
 netif_receive_skb+0x18/0xd0
 tun_sendmsg+0x3a7/0x5d0 [tun]
 vhost_tx_batch.constprop.0+0x65/0xf0 [vhost_net]
 handle_tx_copy+0x187/0x5b0 [vhost_net]
 handle_tx+0xa5/0xe0 [vhost_net]
 vhost_worker+0xb9/0x130 [vhost]
 ? vhost_new_umem_range+0x1b0/0x1b0 [vhost]
 kthread+0x117/0x130
 ? __kthread_bind_mask+0x60/0x60
 ret_from_fork+0x35/0x40
Modules linked in: rpcsec_gss_krb5 vhost_net vhost tap tun ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter fuse netconsole bridge stp llc nct6775 hwmon_vid nls_iso8859_1 nls_cp437 vfat fat joydev mousedev input_leds intel_rapl_msr ofpart eeepc_wmi intel_rapl_common asus_wmi cmdlinepart x86_pkg_temp_thermal intel_powerclamp intel_spi_platform intel_spi mei_hdcp coretemp mei_wdt kvm_intel spi_nor kvm mtd iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi wmi_bmof irqbypass battery sparse_keymap rfkill crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_nhlt snd_hda_codec aesni_intel snd_hda_core crypto_simd cryptd glue_helper intel_cstate i2c_algo_bit intel_uncore intel_rapl_perf pcspkr i2c_i801 snd_hwdep drm_kms_helper snd_pcm r8169 mei_me snd_timer intel_gtt syscopyarea realtek e1000e mei libphy lpc_ich snd sysfillrect sysimgblt soundcore fb_sys_fops wmi evdev mac_hid nfsd
 nfs_acl lockd auth_rpcgss grace drm sunrpc agpgart ip_tables x_tables ext4 crc16 mbcache jbd2 hid_logitech_hidpp dm_thin_pool dm_persistent_data libcrc32c crc32c_generic dm_bio_prison dm_bufio hid_logitech_dj hid_generic usbhid hid dm_mod sr_mod cdrom sd_mod ahci libahci libata crc32c_intel scsi_mod xhci_pci ehci_pci xhci_hcd ehci_hcd
CR2: 0000000000000010
---[ end trace ad97e7cc46d7ce69 ]---
RIP: 0010:__cgroup_bpf_run_filter_skb+0xd9/0x230
Code: 00 48 01 c8 48 89 43 50 41 83 ff 01 0f 84 c2 00 00 00 e8 da a4 ed ff e8 c5 ce f2 ff 44 89 fa 48 8d 84 d5 30 06 00 00 48 8b 00 <48> 8b 78 10 4c 8d 78 10 48 85 ff 0f 84 29 01 00 00 bd 01 00 00 00
RSP: 0018:ffffbc1780b077f8 EFLAGS: 00010206
RAX: 0000000000000000 RBX: ffffa32ce1bed600 RCX: 0000000000000034
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffa32cf1e22000 R08: 0000000000000000 R09: 0000000000000001
R10: 000000000000dc02 R11: ffffa32cfa1100a0 R12: 0000000000000014
R13: 0000000000000014 R14: ffffa32be074f662 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffa32d0fd80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000010 CR3: 00000003cab56004 CR4: 00000000001626e0
Kernel panic - not syncing: Fatal exception in interrupt
Kernel Offset: 0x27400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux