<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - trace aborts using pkttype on ingress"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1141">1141</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>trace aborts using pkttype on ingress
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>kernel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>netfilter@d9c.eu
</td>
</tr></table>
<p>
<div>
<pre>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 ]---</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>