panic on shutdown in netlink_broadcast_filtered() when using namespaces for Infiniband

Solution In Progress - Updated -

Issue

  • A device_shutdown() on Infiniband device panics with null pointer

    mlx5_core 0000:03:00.1: Shutdown was called
    ib_srpt received unrecognized IB event 8
    mlx5_core 0000:03:00.0: Shutdown was called
    mlx5_core 0000:03:00.0: mlx5_cmd_fast_teardown_hca:338:(pid 5188): teardown with fast mode failed
    mlx5_core 0000:03:00.0: mlx5_cmd_force_teardown_hca:307:(pid 5188): teardown with force mode failed, doing normal teardown
    BUG: unable to handle kernel NULL pointer dereference at 0000000000000030
    CPU: 7 PID: 5188 Comm: reboot Kdump: loaded Tainted: G        W        --------- -  - 4.18.0-305.el8.x86_64 #1
    RIP: 0010:netlink_broadcast_filtered+0x22/0x400
    
  • panic on shutdown in netlink_broadcast_filtered() when using namespaces for Infiniband

Environment

  • Red Hat Enterprise Linux (RHEL) 8.4
    • network namespace usage
    • Mellanox ConnectX-4 (mlx5_core driver)
      • This is card/driver reported on, could impact more.

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