The kernel crashes in a dsa_filter function named packet_check_packet_rule()

Solution Unverified - Updated -

Issue

  • The kernel crashes in a dsa_filter function named packet_check_packet_rule()
[4706663.299332] BUG: unable to handle kernel paging request at ffffba8d04cb7002
[4706663.299413] IP: [<ffffffffc0ba7a1e>] packet_check_packet_rule+0x1ae/0x16b0 [dsa_filter]
[4706663.299489] PGD 13b145067 PUD 13b146067 PMD 8ef0a067 PTE 0
[4706663.299545] Oops: 0000 [#1] SMP 
[4706663.299591] Modules linked in: udp_diag inet_diag ip6table_filter ip6_tables binfmt_misc gsch(OE) redirfs(OE) dsa_filter(POE) drbg ansi_cprng cmac rmd160 crypto_null ip_vti ip_tunnel af_key ah6 ah4 esp6 esp4 xfrm4_mode_beet xfrm4_tunnel tunnel4 xfrm4_mode_tunnel xfrm4_mode_transport xfrm6_mode_transport xfrm6_mode_ro xfrm6_mode_beet xfrm6_mode_tunnel ipcomp ipcomp6 xfrm6_tunnel xfrm_ipcomp tunnel6 camellia_generic camellia_aesni_avx2 camellia_aesni_avx_x86_64 camellia_x86_64 cast6_avx_x86_64 cast6_generic cast5_avx_x86_64 cast5_generic cast_common deflate cts gcm ccm serpent_avx2 serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic blowfish_generic blowfish_x86_64 blowfish_common twofish_generic twofish_avx_x86_64 twofish_x86_64_3way xts twofish_x86_64 twofish_common xcbc sha256_mb sha512_ssse3
[4706663.300089]  sha512_generic sha512_mb mcryptd des_generic nfsv3 timeriomem_rng virtio_rng virtio_ring virtio rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache vmw_vsock_vmci_transport vsock nf_log_ipv4 nf_log_common xt_LOG nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter sb_edac coretemp iosf_mbi crc32_pclmul ghash_clmulni_intel ppdev aesni_intel lrw gf128mul glue_helper ablk_helper cryptd vmw_balloon joydev sg pcspkr vmw_vmci i2c_piix4 parport_pc parport nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables xfs libcrc32c sr_mod cdrom ata_generic pata_acpi sd_mod crc_t10dif crct10dif_generic vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm crct10dif_pclmul crct10dif_common crc32c_intel mptsas serio_raw drm scsi_transport_sas ata_piix mptscsih mptbase libata
[4706663.300532]  vmxnet3 drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod
[4706663.300570] CPU: 0 PID: 0 Comm: swapper/0 Kdump: loaded Tainted: P           OE  ------------   3.10.0-957.21.3.el7.x86_64 #1
[4706663.301190] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 09/21/2015
[4706663.301220] task: ffffffff8f618480 ti: ffffffff8f600000 task.ti: ffffffff8f600000
[4706663.301240] RIP: 0010:[<ffffffffc0ba7a1e>]  [<ffffffffc0ba7a1e>] packet_check_packet_rule+0x1ae/0x16b0 [dsa_filter]
[4706663.301275] RSP: 0018:ffff9877bfc03798  EFLAGS: 00010297
[4706663.301291] RAX: 00000000013b6c89 RBX: ffff9877bfc03918 RCX: 00000000003f15b5
[4706663.301310] RDX: ffffba8d04cb7002 RSI: ffff9877bfc03998 RDI: ffffba8d025496f0
[4706663.301335] RBP: ffff9877bfc037f0 R08: 0000000000807856 R09: 0000000000000001
[4706663.301376] R10: 000000000000000c R11: 0000803be3e80043 R12: ffffba8d02546a58
[4706663.301395] R13: ffffba8d02548fb0 R14: ffff9877bfc03918 R15: 0000000000000000
[4706663.301415] FS:  0000000000000000(0000) GS:ffff9877bfc00000(0000) knlGS:0000000000000000
[4706663.301437] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[4706663.301453] CR2: ffffba8d04cb7002 CR3: 0000000059e02000 CR4: 00000000001607f0
[4706663.301514] Call Trace:
[4706663.301528]  <IRQ> 
[4706663.301543]  [<ffffffffc0ba9144>] packet_filter_rules+0xf4/0xb30 [dsa_filter]
[4706663.301569]  [<ffffffffc0bf2d52>] ? tb_spin_unlock+0x12/0x20 [dsa_filter]
[4706663.301592]  [<ffffffffc0baa093>] packet_filter4+0x1d3/0x2e0 [dsa_filter]
[4706663.301615]  [<ffffffffc0baa265>] packet_filter+0xc5/0x150 [dsa_filter]
[4706663.301637]  [<ffffffffc0ba14b2>] core_pkt_filter+0xf2/0xbb0 [dsa_filter]
[4706663.301670]  [<ffffffffc0ba23f7>] core_pkt_hook+0x487/0x960 [dsa_filter]
[4706663.302287]  [<ffffffffc0bef154>] lin_nf_packet_wrapper.isra.12.constprop.19+0x254/0x8b0 [dsa_filter]
[4706663.302332]  [<ffffffff8ead3250>] ? check_preempt_curr+0x80/0xa0
[4706663.302353]  [<ffffffffc0bf0c80>] ? lin_pkt_read_start+0xa0/0xa0 [dsa_filter]
[4706663.302376]  [<ffffffffc0bf08c0>] ? proc_chx_stats_read+0x50/0x50 [dsa_filter]
[4706663.302398]  [<ffffffffc0bf0be0>] ? lin_pkt_read+0x200/0x200 [dsa_filter]
[4706663.302420]  [<ffffffffc0bf09e0>] ? lin_pkt_read_end+0x80/0x80 [dsa_filter]
[4706663.302441]  [<ffffffffc0bf0960>] ? lin_pkt_is_large_send+0x30/0x30 [dsa_filter]
[4706663.302464]  [<ffffffffc0bf08e0>] ? lin_pkt_get_length+0x20/0x20 [dsa_filter]
[4706663.303334]  [<ffffffffc0bf0930>] ? lin_pkt_get_valid_checksum+0x50/0x50 [dsa_filter]
[4706663.304200]  [<ffffffffc0bef911>] lin_nf_packet_wrapper_all.constprop.16+0x161/0x1e0 [dsa_filter]
[4706663.305074]  [<ffffffffc0bef9b5>] lin_nf_packet_wrapper_inet+0x25/0x30 [dsa_filter]
[4706663.305966]  [<ffffffff8f079528>] nf_iterate+0x98/0xe0
[4706663.306843]  [<ffffffff8f079618>] nf_hook_slow+0xa8/0x110
[4706663.307688]  [<ffffffff8f083f6b>] ip_rcv+0x32b/0x410
[4706663.308530]  [<ffffffff8f0834b0>] ? inet_del_offload+0x40/0x40
[4706663.309372]  [<ffffffff8f03a579>] __netif_receive_skb_core+0x729/0xa10
[4706663.310188]  [<ffffffff8f03a878>] __netif_receive_skb+0x18/0x60
[4706663.310979]  [<ffffffff8f03a900>] netif_receive_skb_internal+0x40/0xc0
[4706663.311747]  [<ffffffff8f03b588>] napi_gro_receive+0xd8/0x100
[4706663.312498]  [<ffffffffc03af9cc>] vmxnet3_rq_rx_complete+0x91c/0xef0 [vmxnet3]
[4706663.313232]  [<ffffffffc03b00f6>] vmxnet3_poll_rx_only+0x36/0xa0 [vmxnet3]
[4706663.313940]  [<ffffffff8f03af1f>] net_rx_action+0x26f/0x390
[4706663.314625]  [<ffffffff8eaa1075>] __do_softirq+0xf5/0x280
[4706663.315294]  [<ffffffff8f17932c>] call_softirq+0x1c/0x30
[4706663.315930]  [<ffffffff8ea2e675>] do_softirq+0x65/0xa0
[4706663.316531]  [<ffffffff8eaa13f5>] irq_exit+0x105/0x110
[4706663.317126]  [<ffffffff8f17a606>] do_IRQ+0x56/0xf0
[4706663.317689]  [<ffffffff8f16c362>] common_interrupt+0x162/0x162
[4706663.318229]  <EOI> 
[4706663.318239]  [<ffffffff8f16ad30>] ? __cpuidle_text_start+0x8/0x8
[4706663.319271]  [<ffffffff8f16af5b>] ? native_safe_halt+0xb/0x20
[4706663.319778]  [<ffffffff8f16ad4e>] default_idle+0x1e/0xc0
[4706663.320287]  [<ffffffff8ea366f0>] arch_cpu_idle+0x20/0xc0
[4706663.320797]  [<ffffffff8eafc6da>] cpu_startup_entry+0x14a/0x1e0
[4706663.321301]  [<ffffffff8f1511d7>] rest_init+0x77/0x80
[4706663.321806]  [<ffffffff8f7861c6>] start_kernel+0x44b/0x46c
[4706663.322294]  [<ffffffff8f785b7b>] ? repair_env_string+0x5c/0x5c
[4706663.322776]  [<ffffffff8f785120>] ? early_idt_handler_array+0x120/0x120
[4706663.323253]  [<ffffffff8f78572f>] x86_64_start_reservations+0x24/0x26
[4706663.323727]  [<ffffffff8f785885>] x86_64_start_kernel+0x154/0x177
[4706663.324199]  [<ffffffff8ea000d5>] start_cpu+0x5/0x14
[4706663.324666] Code: 48 8d b3 80 00 00 00 49 8b 7c 24 30 41 01 c8 eb 10 0f 1f 40 00 83 c1 01 44 39 c1 0f 84 4c 05 00 00 89 c8 48 8d 04 80 48 8d 14 47 <66> 83 3a 06 75 e4 31 c0 66 2e 0f 1f 84 00 00 00 00 00 44 0f b6 
[4706663.325755] RIP  [<ffffffffc0ba7a1e>] packet_check_packet_rule+0x1ae/0x16b0 [dsa_filter]
[4706663.326281]  RSP <ffff9877bfc03798>
[4706663.326813] CR2: ffffba8d04cb7002

Environment

  • kernel-3.10.0-957.21.3.el7
  • dsa_filter

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content