bugzilla-daemon at netfilter.org
2017-Apr-02 14:51 UTC
[Bug 1141] New: trace aborts using pkttype on ingress
https://bugzilla.netfilter.org/show_bug.cgi?id=1141 Bug ID: 1141 Summary: trace aborts using pkttype on ingress Product: nftables Version: unspecified Hardware: x86_64 OS: other Status: NEW Severity: major Priority: P5 Component: kernel Assignee: pablo at netfilter.org Reporter: netfilter at d9c.eu Using the following minimal ruleset I am getting my journal spammed with traces: table netdev ethernet { chain etherfilter { type filter hook ingress device eth0 priority 0; policy accept; pkttype broadcast counter drop } } Unfortunately i cannot really tell what is triggering this, it happens at random when just having a shell open and of course there is the usual internet background noise. Two sample traces (on Archlinux, kernel 4.10.5, nftables 0.7): Apr 02 14:20:59 helium kernel: ------------[ cut here ]------------ Apr 02 14:20:59 helium kernel: WARNING: CPU: 0 PID: 0 at net/netfilter/nft_meta.c:163 nft_meta_get_eval+0x40e/0x450 [nft_meta] Apr 02 14:20:59 helium kernel: Modules linked in: nft_counter nft_meta nft_set_hash nft_set_rbtree nf_tables_netdev nf_tables nfnetlink cirrus ttm ppdev drm_kms_helper joydev evdev input_leds mousedev drm pcspkr led_class parport_pc psmouse parport acpi_cpufreq syscopyarea pvpanic mac_hid intel_agp i2c_piix4 sysfillrect sysimgblt fb_sys_fops intel_gtt tpm_tis tpm_tis_core tpm button sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache sr_mod cdrom sd_mod ata_generic pata_acpi hid_generic usbhid hid virtio_net virtio_scsi virtio_balloon serio_raw atkbd libps2 ata_piix uhci_hcd ehci_pci ehci_hcd virtio_pci virtio_ring i8042 usbcore virtio serio floppy usb_common libata scsi_mod lz4 lz4_compress Apr 02 14:20:59 helium kernel: CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.10.5-1-ARCH #1 Apr 02 14:20:59 helium kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS debian/1.7.5-1-0-g506b58d-dirty-20140812_231322-gandalf 04/01/2014 Apr 02 14:20:59 helium kernel: Call Trace: Apr 02 14:20:59 helium kernel: <IRQ> Apr 02 14:20:59 helium kernel: dump_stack+0x63/0x83 Apr 02 14:20:59 helium kernel: __warn+0xcb/0xf0 Apr 02 14:20:59 helium kernel: warn_slowpath_null+0x1d/0x20 Apr 02 14:20:59 helium kernel: nft_meta_get_eval+0x40e/0x450 [nft_meta] Apr 02 14:20:59 helium kernel: nft_do_chain+0x102/0x4e0 [nf_tables] Apr 02 14:20:59 helium kernel: ? sch_direct_xmit+0x79/0x1b0 Apr 02 14:20:59 helium kernel: ? __dev_queue_xmit+0x227/0x630 Apr 02 14:20:59 helium kernel: ? ip6_finish_output2+0x229/0x510 Apr 02 14:20:59 helium kernel: ? find_next_bit+0x18/0x20 Apr 02 14:20:59 helium kernel: ? pcpu_alloc+0x2ce/0x630 Apr 02 14:20:59 helium kernel: ? ip6_finish_output+0xab/0x1c0 Apr 02 14:20:59 helium kernel: nft_do_chain_netdev+0x66/0x250 [nf_tables_netdev] Apr 02 14:20:59 helium kernel: nf_hook_slow+0x2a/0xb0 Apr 02 14:20:59 helium kernel: __netif_receive_skb_core+0x820/0xa80 Apr 02 14:20:59 helium kernel: __netif_receive_skb+0x18/0x60 Apr 02 14:20:59 helium kernel: process_backlog+0x9f/0x160 Apr 02 14:20:59 helium kernel: net_rx_action+0x242/0x3d0 Apr 02 14:20:59 helium kernel: __do_softirq+0x104/0x2e1 Apr 02 14:20:59 helium kernel: irq_exit+0xb6/0xc0 Apr 02 14:20:59 helium kernel: smp_apic_timer_interrupt+0x3d/0x50 Apr 02 14:20:59 helium kernel: apic_timer_interrupt+0x89/0x90 Apr 02 14:20:59 helium kernel: RIP: 0010:native_safe_halt+0x6/0x10 Apr 02 14:20:59 helium kernel: RSP: 0018:ffffffff81a03dd8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 Apr 02 14:20:59 helium kernel: RAX: 0000000000000000 RBX: ffffffff81a10500 RCX: 0000000000000000 Apr 02 14:20:59 helium kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 Apr 02 14:20:59 helium kernel: RBP: ffffffff81a03dd8 R08: 0100000000000000 R09: ffff8800076e0a00 Apr 02 14:20:59 helium kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 Apr 02 14:20:59 helium kernel: R13: ffffffff81a10500 R14: 0000000000000000 R15: 0000000000000000 Apr 02 14:20:59 helium kernel: </IRQ> Apr 02 14:20:59 helium kernel: default_idle+0x20/0x110 Apr 02 14:20:59 helium kernel: arch_cpu_idle+0xf/0x20 Apr 02 14:20:59 helium kernel: default_idle_call+0x23/0x30 Apr 02 14:20:59 helium kernel: do_idle+0x16f/0x200 Apr 02 14:20:59 helium kernel: cpu_startup_entry+0x71/0x80 Apr 02 14:20:59 helium kernel: rest_init+0x84/0x90 Apr 02 14:20:59 helium kernel: start_kernel+0x44d/0x46e Apr 02 14:20:59 helium kernel: ? early_idt_handler_array+0x120/0x120 Apr 02 14:20:59 helium kernel: x86_64_start_reservations+0x2a/0x2c Apr 02 14:20:59 helium kernel: x86_64_start_kernel+0x14c/0x16f Apr 02 14:20:59 helium kernel: start_cpu+0x14/0x14 Apr 02 14:20:59 helium kernel: ---[ end trace ae57fe03dbfe51a6 ]--- Apr 02 14:23:03 helium kernel: ------------[ cut here ]------------ Apr 02 14:23:03 helium kernel: WARNING: CPU: 0 PID: 6 at net/netfilter/nft_meta.c:163 nft_meta_get_eval+0x40e/0x450 [nft_meta] Apr 02 14:23:03 helium kernel: Modules linked in: nft_counter nft_meta nft_set_hash nft_set_rbtree nf_tables_netdev nf_tables nfnetlink cirrus ttm ppdev drm_kms_helper joydev evdev input_leds mousedev drm pcspkr led_class parport_pc psmouse parport acpi_cpufreq syscopyarea pvpanic mac_hid intel_agp i2c_piix4 sysfillrect sysimgblt fb_sys_fops intel_gtt tpm_tis tpm_tis_core tpm button sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache sr_mod cdrom sd_mod ata_generic pata_acpi hid_generic usbhid hid virtio_net virtio_scsi virtio_balloon serio_raw atkbd libps2 ata_piix uhci_hcd ehci_pci ehci_hcd virtio_pci virtio_ring i8042 usbcore virtio serio floppy usb_common libata scsi_mod lz4 lz4_compress Apr 02 14:23:03 helium kernel: CPU: 0 PID: 6 Comm: ksoftirqd/0 Tainted: G W 4.10.5-1-ARCH #1 Apr 02 14:23:03 helium kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS debian/1.7.5-1-0-g506b58d-dirty-20140812_231322-gandalf 04/01/2014 Apr 02 14:23:03 helium kernel: Call Trace: Apr 02 14:23:03 helium kernel: dump_stack+0x63/0x83 Apr 02 14:23:03 helium kernel: __warn+0xcb/0xf0 Apr 02 14:23:03 helium kernel: warn_slowpath_null+0x1d/0x20 Apr 02 14:23:03 helium kernel: nft_meta_get_eval+0x40e/0x450 [nft_meta] Apr 02 14:23:03 helium kernel: nft_do_chain+0x102/0x4e0 [nf_tables] Apr 02 14:23:03 helium kernel: ? skb_free_head+0x21/0x30 Apr 02 14:23:03 helium kernel: ? skb_release_data+0x101/0x110 Apr 02 14:23:03 helium kernel: ? kfree_skbmem+0x59/0x60 Apr 02 14:23:03 helium kernel: ? __kfree_skb+0x1a/0x20 Apr 02 14:23:03 helium kernel: ? tcp_rcv_established+0x27b/0x6f0 Apr 02 14:23:03 helium kernel: ? sk_filter_trim_cap+0xb7/0x260 Apr 02 14:23:03 helium kernel: ? nft_do_chain_netdev+0x66/0x250 [nf_tables_netdev] Apr 02 14:23:03 helium kernel: ? cpuacct_charge+0x86/0xa0 Apr 02 14:23:03 helium kernel: ? skb_free_head+0x28/0x30 Apr 02 14:23:03 helium kernel: ? skb_release_data+0x101/0x110 Apr 02 14:23:03 helium kernel: ? nf_hook_slow+0x75/0xb0 Apr 02 14:23:03 helium kernel: ? kfree_skbmem+0x59/0x60 Apr 02 14:23:03 helium kernel: ? nf_hook_slow+0x75/0xb0 Apr 02 14:23:03 helium kernel: nft_do_chain_netdev+0x66/0x250 [nf_tables_netdev] Apr 02 14:23:03 helium kernel: nf_hook_slow+0x2a/0xb0 Apr 02 14:23:03 helium kernel: __netif_receive_skb_core+0x820/0xa80 Apr 02 14:23:03 helium kernel: ? cpuacct_charge+0x86/0xa0 Apr 02 14:23:03 helium kernel: __netif_receive_skb+0x18/0x60 Apr 02 14:23:03 helium kernel: process_backlog+0x9f/0x160 Apr 02 14:23:03 helium kernel: net_rx_action+0x242/0x3d0 Apr 02 14:23:03 helium kernel: __do_softirq+0x104/0x2e1 Apr 02 14:23:03 helium kernel: run_ksoftirqd+0x29/0x40 Apr 02 14:23:03 helium kernel: smpboot_thread_fn+0x100/0x1e0 Apr 02 14:23:03 helium kernel: kthread+0x101/0x140 Apr 02 14:23:03 helium kernel: ? sort_range+0x30/0x30 Apr 02 14:23:03 helium kernel: ? kthread_create_on_node+0x60/0x60 Apr 02 14:23:03 helium kernel: ret_from_fork+0x2c/0x40 Apr 02 14:23:03 helium kernel: ---[ end trace ae57fe03dbfe51aa ]--- -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170402/18febe6c/attachment.html>
bugzilla-daemon at netfilter.org
2017-Apr-03 13:05 UTC
[Bug 1141] trace aborts using pkttype on ingress
https://bugzilla.netfilter.org/show_bug.cgi?id=1141 Liping Zhang <zlpnobody at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlpnobody at gmail.com --- Comment #1 from Liping Zhang <zlpnobody at gmail.com> --- Hi Andreas, I think this issue had been fixed already, can you try this patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f169fd695b192dd7b23aff8e69d25a1bc881bbfa Thanks -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170403/d7b5dbcd/attachment.html>
bugzilla-daemon at netfilter.org
2017-Apr-03 13:43 UTC
[Bug 1141] trace aborts using pkttype on ingress
https://bugzilla.netfilter.org/show_bug.cgi?id=1141 Andreas Fischer <netfilter at d9c.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Andreas Fischer <netfilter at d9c.eu> --- Hi Liping, thanks for the info, yes the error looks the same. I'll have to wait for kernel 4.11 then. Thanks -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170403/ff252405/attachment.html>
Apparently Analagous Threads
- [Bug 1144] New: set add always returns false or otherwise ends evaluation
- pxelinux takes too long trying all the config file options
- [Bug 1280] New: meta pkttype incompatible? with ingress
- odd behaviour change (2.6.3 > 2.6.4pre3)
- [Bug 1096] New: Kernel oops when inserting an element into a map