Bug ID 960923
Summary Crash in bnx2x when loading 8021q with an 5771x/578xx adapter
Classification openSUSE
Product openSUSE Tumbleweed
Version 2015*
Hardware x86-64
OS Other
Status NEW
Severity Major
Priority P5 - None
Component Kernel
Assignee kernel-maintainers@forge.provo.novell.com
Reporter mlatimer@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

With recent builds of Tumbleweed (20160101 and 20151201), the following kernel
crash is being seen when loading 8021q with a QLogic 5771x/578xx adapter:

[   64.869934] bnx2x 0000:02:00.0 enp2s0: using MSI-X  IRQs: sp 42  fp[0] 44
... fp[7] 51
[   66.015550] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[   66.021616] 8021q: adding VLAN 0 to HW filter on device enp2s0
[   66.027465] BUG: unable to handle kernel NULL pointer dereference at (null)
[   66.035336] IP: [<          (null)>]           (null)
[   66.040387] PGD 602e4d067 PUD 602ed3067 PMD 0 
[   66.044848] Oops: 0010 [#1] PREEMPT SMP 
[   66.048794] Modules linked in: usb_storage parport_pc parport iscsi_ibft
iscsi_boot_sysfs 8021q garp mrp stp llc arc4 ecb fan nfs lo
ckd grace fscache nls_iso8859_1 nls_cp437 af_packet sg st sr_mod cdrom sunrpc
hid_generic usbhid amdkfd amd_iommu_v2 ipmi_ssif radeon i
2c_algo_bit bnx2x ttm drm_kms_helper uhci_hcd ehci_pci syscopyarea vxlan
ehci_hcd sysfillrect ip6_udp_tunnel sysimgblt udp_tunnel fb_sy
s_fops ptp pps_core drm qla2xxx usbcore mdio ipmi_si lpc_ich libcrc32c
scsi_transport_fc usb_common hpsa crc32c_intel fjes mfd_core the
rmal ipmi_msghandler acpi_cpufreq button processor scsi_dh_rdac scsi_dh_emc
scsi_dh_alua squashfs loop
[   66.105414] CPU: 2 PID: 456 Comm: wickedd Tainted: G          I    
4.3.3-3-default #1
[   66.113314] Hardware name: HP ProLiant BL490c G6, BIOS I21 03/30/2010
[   66.119743] task: ffff880602ffc180 ti: ffff880603ae0000 task.ti:
ffff880603ae0000
[   66.127210] RIP: 0010:[<0000000000000000>]  [<          (null)>]          
(null)
[   66.134685] RSP: 0018:ffff880603ae35f8  EFLAGS: 00010246
[   66.139986] RAX: 0000000000000000 RBX: ffff880bfb6581b0 RCX:
0000000000000000
[   66.147107] RDX: ffff880bfc7f0e00 RSI: 0000000000000000 RDI:
ffff880bfb630840
[   66.154226] RBP: ffff880603ae3638 R08: ffff880603ae36a8 R09:
ffff880bfc7f0e00
[   66.161347] R10: 00000000fffffff4 R11: 0000000000000001 R12:
0000000000000000
[   66.168466] R13: ffff880603ae3648 R14: ffff880bfb630840 R15:
0000000000000000
[   66.175587] FS:  00007fd4df9fe880(0000) GS:ffff880c1f840000(0000)
knlGS:0000000000000000
[   66.183660] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   66.187428] bnx2x 0000:02:00.0 enp2s0: NIC Link is Up, 1000 Mbps full
duplex, Flow control: ON - receive & transmit
[   66.199801] CR2: 0000000000000000 CR3: 00000006033a3000 CR4:
00000000000006e0
[   66.206922] Stack:
[   66.208953]  ffffffffa02e3200 ffff880bfb658240 ffff880bfc7f0e00
ffff880bfb630000
[   66.216357]  0000000000000001 ffff880bfb630840 0000000000000000
ffffffffa02f2740
[   66.223757]  ffff880603ae3698 ffffffffa02995bf ffff880bfb6581b0
0000000000000004
[   66.231160] Call Trace:
[   66.233597] Inexact backtrace:
[   66.233597] 
[   66.238132]  [<ffffffffa02e3200>] ? bnx2x_config_vlan_mac+0x220/0x3d0
[bnx2x]
[   66.245249]  [<ffffffffa02995bf>] bnx2x_set_vlan_one+0x4f/0x100 [bnx2x]
[   66.251845]  [<ffffffffa02996c4>] __bnx2x_vlan_configure_vid+0x54/0x60
[bnx2x]
[   66.259046]  [<ffffffffa029fe82>] bnx2x_vlan_rx_add_vid+0x152/0x220 [bnx2x]
[   66.265989]  [<ffffffff8167ac0a>] vlan_vid_add+0x20a/0x280
[   66.271457]  [<ffffffffa037c9cc>] vlan_device_event+0x64c/0x660 [8021q]
[   66.278050]  [<ffffffffa01663a7>] ? packet_notifier+0xa7/0x1d0 [af_packet]
[   66.284904]  [<ffffffff81099c3a>] notifier_call_chain+0x4a/0x70
[   66.290803]  [<ffffffff81099d76>] raw_notifier_call_chain+0x16/0x20
[   66.297052]  [<ffffffff81594ea5>] call_netdevice_notifiers_info+0x35/0x60
[   66.303820]  [<ffffffff8159d84b>] __dev_notify_flags+0x3b/0xb0
[   66.309633]  [<ffffffff8159e013>] dev_change_flags+0x53/0x70
[   66.315273]  [<ffffffff815ab5d6>] do_setlink+0x606/0xb60
[   66.320571]  [<ffffffff813a1920>] ? __nla_put+0x20/0x30
[   66.325779]  [<ffffffff813a18c1>] ? __nla_reserve+0x41/0x50
[   66.331334]  [<ffffffff810c137e>] ? cpuacct_charge+0x4e/0x60
[   66.336974]  [<ffffffff813a16b2>] ? nla_parse+0x32/0x100
[   66.342267]  [<ffffffff815ac21a>] rtnl_newlink+0x5aa/0x8a0
[   66.347804]  [<ffffffff812f6098>] ? security_capable+0x48/0x60
[   66.353618]  [<ffffffff81083579>] ? ns_capable+0x29/0x50
[   66.358477] bnx2x 0000:02:00.0 enp2s0: NIC Link is Down
[   66.364121]  [<ffffffff815aa8f4>] rtnetlink_rcv_msg+0x84/0x200
[   66.369933]  [<ffffffff815aa870>] ? rtnetlink_rcv+0x30/0x30
[   66.375488]  [<ffffffff815cd384>] netlink_rcv_skb+0xa4/0xc0
[   66.381041]  [<ffffffff815aa868>] rtnetlink_rcv+0x28/0x30
[   66.386423]  [<ffffffff815ccb5f>] netlink_unicast+0x10f/0x190
[   66.392149]  [<ffffffff815cd067>] netlink_sendmsg+0x487/0x5d0
[   66.397878]  [<ffffffff8157f168>] sock_sendmsg+0x38/0x50
[   66.403173]  [<ffffffff8157fad9>] ___sys_sendmsg+0x289/0x2a0
[   66.408817]  [<ffffffff811ae20f>] ? do_wp_page+0x37f/0x5d0
[   66.414287]  [<ffffffff81182882>] ? __generic_file_write_iter+0x1a2/0x1e0
[   66.421053]  [<ffffffff811b0c5d>] ? handle_mm_fault+0xc4d/0x17e0
[   66.427040]  [<ffffffff81580472>] __sys_sendmsg+0x42/0x80
[   66.432421]  [<ffffffff815804c2>] SyS_sendmsg+0x12/0x20
[   66.437629]  [<ffffffff81694976>] entry_SYSCALL_64_fastpath+0x16/0x75
[   66.444047] Code:  Bad RIP value.
[   66.447408] RIP  [<          (null)>]           (null)
[   66.452537]  RSP <ffff880603ae35f8>
[   66.456013] CR2: 0000000000000000
[   66.459318] ---[ end trace 45cd019ee7f85223 ]---
[   66.463922] Kernel panic - not syncing: Fatal exception in interrupt
[   66.529341] Kernel Offset: disabled
[   66.532819] Rebooting in 90 seconds..

The above crash is from the 4.3.3-3-default kernel.

The problem appears to be identical to the one reported in
https://bugzilla.redhat.com/show_bug.cgi?id=1273894, which is fixed with this
upstream patch:
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=ab6d7846cf80affc43b9d412fed5e25dfcf4f35d


You are receiving this mail because: