** Description changed: 1.This bug has happened on the following kernel version: - 4.4.0-104-generic - 4.15.0-88-generic - 4.15.0-13-generic - 5.4.0-42-generic - 5.4.0-47-generic + 4.4.0-104-generic + 4.15.0-88-generic + 4.15.0-13-generic + 5.4.0-42-generic + 5.4.0-47-generic 2.we cannot reliably reproduce this issue. 3.this patch seems to fix this issue. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=175e476b8cdf2a4de7432583b49c871345e4f8a1 4.the following crash dmesg from 5.4.0-47-generic: [2021-03-19 12:17:53][3581678.514072] audit: audit_lost=1 audit_rate_limit=1 audit_backlog_limit=1024 [2021-03-23 21:57:06][3962019.737898] general protection fault: 0000 [#1] SMP PTI [2021-03-23 21:57:06][3962019.739019] CPU: 4 PID: 0 Comm: swapper/4 Kdump: loaded Not tainted 5.4.0-47-generic #51~18.04.1-Ubuntu [2021-03-23 21:57:06][3962019.740433] Hardware name: Tencent Cloud CVM, BIOS seabios-1.9.1-qemu-project.org 04/01/2014 [2021-03-23 21:57:06][3962019.741829] RIP: 0010:ipt_do_table+0x621/0x640 [ip_tables] [2021-03-23 21:57:06][3962019.742587] Code: ff ff ff 45 31 d2 48 89 85 50 ff ff ff e9 7e fe ff ff 83 ad 70 ff ff ff 01 48 8b bd 78 ff ff ff 8b 85 70 ff ff ff 4c 8b 34 c7 <41> 0f b7 46 5a 49 01 c6 e9 [2021-03-23 21:57:06]18 fb ff ff c7 45 a4 00 00 00 00 e9 e9 [2021-03-23 21:57:06][3962019.745295] RSP: 0018:ffffbcd080184c18 EFLAGS: 00010246 [2021-03-23 21:57:06][3962019.745988] RAX: 0000000000000000 RBX: ffff96b7e9b717b0 RCX: ffffdcd07f70a150 [2021-03-23 21:57:06][3962019.747025] RDX: 000000000001ab6a RSI: ffff96b7e1d98d80 RDI: ffff96b7e1d98d80 [2021-03-23 21:57:06][3962019.748015] RBP: ffffbcd080184d08 R08: 0000000000000008 R09: ffff96b82aca2980 [2021-03-23 21:57:06][3962019.748988] R10: 0000000000000d38 R11: ffff96b7cacaa380 R12: ffff96b833fea000 [2021-03-23 21:57:06][3962019.749927] R13: ffff96b7ebb4a04e R14: 3f13d7139e6d8ccb R15: ffff96b7d2c28f00 [2021-03-23 21:57:06][3962019.750873] FS: 0000000000000000(0000) GS:ffff96b83fb00000(0000) knlGS:0000000000000000 [2021-03-23 21:57:06][3962019.751919] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [2021-03-23 21:57:06][3962019.752720] CR2: 00007fee206258f0 CR3: 0000000f9c428001 CR4: 00000000003606e0 [2021-03-23 21:57:06][3962019.753603] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [2021-03-23 21:57:06][3962019.754619] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [2021-03-23 21:57:06][3962019.755606] Call Trace: [2021-03-23 21:57:06][3962019.755984] <IRQ> [2021-03-23 21:57:06][3962019.756282] iptable_filter_hook+0x1f/0x30 [iptable_filter] [2021-03-23 21:57:06][3962019.757199] nf_hook_slow+0x48/0xc0 [2021-03-23 21:57:06][3962019.757753] ip_forward+0x410/0x480 [2021-03-23 21:57:06][3962019.758350] ? ip4_key_hashfn+0xc0/0xc0 [2021-03-23 21:57:06][3962019.758907] ip_rcv_finish+0x84/0xa0 [2021-03-23 21:57:06][3962019.759469] ip_rcv+0xbc/0xd0 [2021-03-23 21:57:06][3962019.760543] ? ip_rcv_finish_core.isra.18+0x3b0/0x3b0 [2021-03-23 21:57:06][3962019.761916] __netif_receive_skb_one_core+0x86/0xa0 [2021-03-23 21:57:06][3962019.763210] __netif_receive_skb+0x18/0x60 [2021-03-23 21:57:06][3962019.764341] process_backlog+0xa0/0x170 [2021-03-23 21:57:06][3962019.765600] net_rx_action+0x140/0x3c0 [2021-03-23 21:57:06][3962019.766550] __do_softirq+0xe4/0x2da [2021-03-23 21:57:06][3962019.767792] irq_exit+0xae/0xb0 [2021-03-23 21:57:06][3962019.768857] smp_call_function_single_interrupt+0x48/0xd0 [2021-03-23 21:57:06][3962019.770140] call_function_single_interrupt+0xf/0x20 [2021-03-23 21:57:06][3962019.771315] </IRQ> [2021-03-23 21:57:06][3962019.772038] RIP: 0010:native_safe_halt+0x12/0x20 - [2021-03-23 21:57:06][3962019.773239] Code: 00 0f 00 2d 32 98 53 00 f4 5d c3 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e9 07 00 00 00 0f 00 2d 12 98 53 00 fb f4 <5d> c3 90 90 90 90 90 90 90 [2021-03-23 21:57:06]90 90 90 90 90 0f 1f 44 00 00 55 48 89 - [2021-03-23 21:57:06][3962019.776646] RSP: 0018:ffffbcd080093e70 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff04 - [2021-03-23 21:57:06][3962019.778015] RAX: ffffffff93ad22f0 RBX: 0000000000000004 RCX: 0000000000000001 - [2021-03-23 21:57:06][3962019.779356] RDX: ffff96b83fb2ba80 RSI: ffffbcd080093e40 RDI: 0000000000000000 - [2021-03-23 21:57:06][3962019.780633] RBP: ffffbcd080093e70 R08: 0010e421e97a71a1 R09: 0000000000000001 - [2021-03-23 21:57:06][3962019.782033] R10: 00000000007e8c00 R11: 000000000fca3b36 R12: 0000000000000004 - [2021-03-23 21:57:06][3962019.783373] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 - [2021-03-23 21:57:06][3962019.784725] ? ldsem_down_write+0x230/0x230 - [2021-03-23 21:57:06][3962019.785741] default_idle+0x22/0x150 - [2021-03-23 21:57:06][3962019.786673] arch_cpu_idle+0x15/0x20 - [2021-03-23 21:57:06][3962019.787667] default_idle_call+0x23/0x30 - [2021-03-23 21:57:06][3962019.788803] do_idle+0x1bd/0x270 - [2021-03-23 21:57:06][3962019.789875] cpu_startup_entry+0x1d/0x20 - [2021-03-23 21:57:06][3962019.790990] start_secondary+0x166/0x1c0 - [2021-03-23 21:57:06][3962019.792032] secondary_startup_64+0xa4/0xb0 - [2021-03-23 21:57:06][3962019.793016] Modules linked in: veth cpuid ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs binfmt_misc tcp_diag inet_diag xt_statistic xt_nat ip_set ip_vs_sh ip_vs_wrr ip_vs_rr[2021-03-23 21:57:06] ip_vs xt_addrtype br_netfilter xt_MASQUERADE xt_comment xt_mark iptable_nat xt_tcpudp bridge stp llc nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_filter bpfilter x[2021-03-23 21:57:06]t_conntrack nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 overlay aufs nls_utf8 isofs intel_rapl_msr intel_rapl_common joydev input_leds serio_raw mac_hid sch_fq_codel ib_ise[2021-03-23 21:57:06]r rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy as[2021-03-23 21:57:06]ync_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul cirrus ghash_clmulni_intel drm_kms_helper aesni_intel syscopyarea virt[2021-03-23 21:57:06]io_net sysfillrect sysimgblt crypto_simd fb_sys_fops cryptd glue_helper net_failover failover i2c_piix4 drm psmouse - [2021-03-23 21:57:06][3962019.793055] virtio_blk pata_acpi floppy - [2021-03-23 21:57:07][ 0.000000] Linux version 5.4.0-47-generic (buildd@lgw01-amd64-038) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #51~18.04.1-Ubuntu SMP Sat Sep 5 14:35:50 UTC 2020 (Ubunt[2021-03-23 21:57:07]u 5.4.0-47.51~18.04.1-generic 5.4.55) - [2021-03-23 21:57:07][ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-47-generic root=UUID=5ba34c3d-bd14-451d-a7d8-09a64009e3f1 ro net.ifnames=0 biosdevname=0 console=ttyS0,115200 console=[2021-03-23 21:57:07]tty0 panic=5 reset_devices systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb ata_piix.prefer_ms_hyperv=0 elfcorehdr=3128692K - [2021-03-23 21:57:07][ 0.000000] KERNEL supported cpus:
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1925124 Title: panic in ipt_do_table+0x621/0x640 Status in linux package in Ubuntu: Incomplete Bug description: 1.This bug has happened on the following kernel version: 4.4.0-104-generic 4.15.0-88-generic 4.15.0-13-generic 5.4.0-42-generic 5.4.0-47-generic 2.we cannot reliably reproduce this issue. 3.this patch seems to fix this issue. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=175e476b8cdf2a4de7432583b49c871345e4f8a1 4.the following crash dmesg from 5.4.0-47-generic: [2021-03-19 12:17:53][3581678.514072] audit: audit_lost=1 audit_rate_limit=1 audit_backlog_limit=1024 [2021-03-23 21:57:06][3962019.737898] general protection fault: 0000 [#1] SMP PTI [2021-03-23 21:57:06][3962019.739019] CPU: 4 PID: 0 Comm: swapper/4 Kdump: loaded Not tainted 5.4.0-47-generic #51~18.04.1-Ubuntu [2021-03-23 21:57:06][3962019.740433] Hardware name: Tencent Cloud CVM, BIOS seabios-1.9.1-qemu-project.org 04/01/2014 [2021-03-23 21:57:06][3962019.741829] RIP: 0010:ipt_do_table+0x621/0x640 [ip_tables] [2021-03-23 21:57:06][3962019.742587] Code: ff ff ff 45 31 d2 48 89 85 50 ff ff ff e9 7e fe ff ff 83 ad 70 ff ff ff 01 48 8b bd 78 ff ff ff 8b 85 70 ff ff ff 4c 8b 34 c7 <41> 0f b7 46 5a 49 01 c6 e9 [2021-03-23 21:57:06]18 fb ff ff c7 45 a4 00 00 00 00 e9 e9 [2021-03-23 21:57:06][3962019.745295] RSP: 0018:ffffbcd080184c18 EFLAGS: 00010246 [2021-03-23 21:57:06][3962019.745988] RAX: 0000000000000000 RBX: ffff96b7e9b717b0 RCX: ffffdcd07f70a150 [2021-03-23 21:57:06][3962019.747025] RDX: 000000000001ab6a RSI: ffff96b7e1d98d80 RDI: ffff96b7e1d98d80 [2021-03-23 21:57:06][3962019.748015] RBP: ffffbcd080184d08 R08: 0000000000000008 R09: ffff96b82aca2980 [2021-03-23 21:57:06][3962019.748988] R10: 0000000000000d38 R11: ffff96b7cacaa380 R12: ffff96b833fea000 [2021-03-23 21:57:06][3962019.749927] R13: ffff96b7ebb4a04e R14: 3f13d7139e6d8ccb R15: ffff96b7d2c28f00 [2021-03-23 21:57:06][3962019.750873] FS: 0000000000000000(0000) GS:ffff96b83fb00000(0000) knlGS:0000000000000000 [2021-03-23 21:57:06][3962019.751919] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [2021-03-23 21:57:06][3962019.752720] CR2: 00007fee206258f0 CR3: 0000000f9c428001 CR4: 00000000003606e0 [2021-03-23 21:57:06][3962019.753603] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [2021-03-23 21:57:06][3962019.754619] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [2021-03-23 21:57:06][3962019.755606] Call Trace: [2021-03-23 21:57:06][3962019.755984] <IRQ> [2021-03-23 21:57:06][3962019.756282] iptable_filter_hook+0x1f/0x30 [iptable_filter] [2021-03-23 21:57:06][3962019.757199] nf_hook_slow+0x48/0xc0 [2021-03-23 21:57:06][3962019.757753] ip_forward+0x410/0x480 [2021-03-23 21:57:06][3962019.758350] ? ip4_key_hashfn+0xc0/0xc0 [2021-03-23 21:57:06][3962019.758907] ip_rcv_finish+0x84/0xa0 [2021-03-23 21:57:06][3962019.759469] ip_rcv+0xbc/0xd0 [2021-03-23 21:57:06][3962019.760543] ? ip_rcv_finish_core.isra.18+0x3b0/0x3b0 [2021-03-23 21:57:06][3962019.761916] __netif_receive_skb_one_core+0x86/0xa0 [2021-03-23 21:57:06][3962019.763210] __netif_receive_skb+0x18/0x60 [2021-03-23 21:57:06][3962019.764341] process_backlog+0xa0/0x170 [2021-03-23 21:57:06][3962019.765600] net_rx_action+0x140/0x3c0 [2021-03-23 21:57:06][3962019.766550] __do_softirq+0xe4/0x2da [2021-03-23 21:57:06][3962019.767792] irq_exit+0xae/0xb0 [2021-03-23 21:57:06][3962019.768857] smp_call_function_single_interrupt+0x48/0xd0 [2021-03-23 21:57:06][3962019.770140] call_function_single_interrupt+0xf/0x20 [2021-03-23 21:57:06][3962019.771315] </IRQ> [2021-03-23 21:57:06][3962019.772038] RIP: 0010:native_safe_halt+0x12/0x20 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1925124/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp