395 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

netfilter模块ipt_do_table出现Oops

已取消
缺陷
创建于  
2021-11-30 18:35

【标题描述】
虚拟机内使用欧拉内核,netfilter模块ipt_do_table出现Oops
【环境信息】
硬件信息:
1) 鲲鹏920
软件信息:
1) host OS内核:commit 0a3bc9281e6c2a79fc72b8ac37ed8cec3b19f426 (HEAD -> kernel-4.19, tag: 4.19.208-2111.1.0
2) qemu-kvm、libvirt
【问题复现步骤】
概率出现,复现概率无规律,概率较小。
【预期结果】
不出现Oops
【实际结果】
概率出现
【附件信息】
[144485.655250] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[144485.655762] Mem abort info:
[144485.655937] ESR = 0x96000007
[144485.656136] Exception class = DABT (current EL), IL = 32 bits
[144485.656448] SET = 0, FnV = 0
[144485.656627] EA = 0, S1PTW = 0
[144485.656809] Data abort info:
[144485.656981] ISV = 0, ISS = 0x00000007
[144485.657195] CM = 0, WnR = 0
[144485.657371] user pgtable: 64k pages, 48-bit VAs, pgdp = 000000009b92e640
[144485.657726] [0000000000000000] pgd=0000000782980003, pud=0000000782980003, pmd=0000000782990003, pte=0000000000000000
[144485.658272] Internal error: Oops: 96000007 [#1] SMP
[144485.658530] Modules linked in: veth xt_TCPMSS ip_set_hash_ip ip_set_hash_net xt_set ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_bitmap_port ip_set_hash_ipport dummy ip_set nf_tables nfnetlink_cttimeout openvswitch nsh nf_nat_ipv6 nf_conncount iptable_mangle xt_comment xt_mark xt_conntrack ipt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter overlay rfkill vfat fat aes_ce_blk crypto_simd cryptd aes_ce_cipher crct10dif_ce ghash_ce sha2_ce sha256_arm64 sha1_ce sch_fq_codel br_netfilter bridge stp llc ip_vs_sh ip_vs_wrr ip_vs_rr ip_vs geneve ip6_udp_tunnel udp_tunnel iptable_nat nf_nat_ipv4 nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_tables virtio_console virtio_net net_failover failover virtio_gpu virtio_rng
[144485.661984] Process swapper/11 (pid: 0, stack limit = 0x000000006d49ea1a)
[144485.662370] CPU: 11 PID: 0 Comm: swapper/11 Kdump: loaded Not tainted 4.19.90-24.4.v2101.ky10.aarch64 #1
[144485.662891] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
[144485.663272] pstate: 60400005 (nZCv daif +PAN -UAO)
[144485.663555] pc : hash_net4_test+0x44/0x398 [ip_set_hash_net]
[144485.663876] lr : hash_net4_kadt+0xd0/0x148 [ip_set_hash_net]
[144485.664194] sp : ffffecad7f36f840
[144485.664394] x29: ffffecad7f36f840 x28: ffffecad4f2adb00
[144485.664698] x27: ffffecad7f36f908 x26: 0000000000000000
[144485.664998] x25: ffff2e67c4c00600 x24: ffffecad572e3000
[144485.665301] x23: ffff2e67c65c0fcc x22: 0000000000000000
[144485.665602] x21: ffffecad7f36f9d0 x20: ffffecad7f36f910
[144485.665912] x19: ffffecad7f36f9c8 x18: 0000000000000000
[144485.666213] x17: 0000000000000000 x16: ffff2e68225f0a90
[144485.666513] x15: 0000000000000000 x14: 160000009afb1d00
[144485.666815] x13: 0000000000000030 x12: 0f67fc1936b920fb
[144485.667116] x11: ffff2e67c4c00600 x10: ffffecad44e69000
[144485.667417] x9 : 0000000000000001 x8 : 0000000000000000
[144485.667729] x7 : 000000000a0010ac x6 : ffff2e67c45f2218
[144485.668029] x5 : 000000000a0010ac x4 : 0000000000000000
[144485.668330] x3 : ffffecad7f36f9d0 x2 : ffffecad7f36f910
[144485.668631] x1 : ffffecad7f36f908 x0 : 0000000000000020
[144485.668932] Call trace:
[144485.669090] hash_net4_test+0x44/0x398 [ip_set_hash_net]
[144485.669393] hash_net4_kadt+0xd0/0x148 [ip_set_hash_net]
[144485.669705] ip_set_test+0xbc/0x230 [ip_set]
[144485.669965] set_match_v4+0xac/0xd0 [xt_set]
[144485.670217] ipt_do_table+0x32c/0x678 [ip_tables]
[144485.670490] iptable_filter_hook+0x30/0x40 [iptable_filter]
[144485.670831] nf_hook_slow+0x50/0x100
[144485.671087] ip_local_deliver+0xd4/0xe8
[144485.671373] ip_rcv_finish+0x90/0xb0
[144485.671629] ip_rcv+0x50/0xb0
[144485.671850] __netif_receive_skb_one_core+0x58/0x68
[144485.672181] __netif_receive_skb+0x28/0x80
[144485.672465] netif_receive_skb_internal+0x3c/0xa8
[144485.672785] napi_gro_receive+0xf8/0x170
[144485.673062] receive_buf+0xec/0xa08 [virtio_net]
[144485.673378] virtnet_poll+0x144/0x310 [virtio_net]
[144485.673705] net_rx_action+0x158/0x3a0
[144485.673980] __do_softirq+0x114/0x32c
[144485.674239] irq_exit+0x108/0x120
[144485.674477] __handle_domain_irq+0x6c/0xc0
[144485.674760] gic_handle_irq+0x6c/0x170
[144485.675030] el1_irq+0xb8/0x140
[144485.675258] arch_cpu_idle+0x38/0x1c0
[144485.675518] default_idle_call+0x24/0x58
[144485.675794] do_idle+0x1a4/0x268
[144485.676025] cpu_startup_entry+0x28/0x78
[144485.676301] secondary_start_kernel+0x17c/0x1c8
[144485.676611] Code: d503201f f940439a 39401f60 7100801f (f9400343)
[144485.677029] SMP: stopping secondary CPUs
[144485.680150] Starting crashdump kernel...

评论 (1)

tanglongjun 创建了缺陷

Hi tanglongjun1988, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers: @Xie XiuQi, @YangYingliang, @成坚 (CHENG Jian).

openeuler-ci-bot 添加了
 
sig/Kernel
标签
wupeng 任务状态待办的 修改为已取消

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助