Kernel panic is observed during vm cloning in RHEL9 with Mellanox ConnectX-6 Nic.

Solution Verified - Updated -

Issue

  • Kernel panic is observed during vm cloning in RHEL9 with Mellanox ConnectX-6 Nic.
[143678.701586] BUG: kernel NULL pointer dereference, address: 00000000000000c8
[143678.701589] #PF: supervisor read access in kernel mode
[143678.701590] #PF: error_code(0x0000) - not-present page
[143678.701592] PGD 38b0cb067 P4D 0 
[143678.701594] Oops: 0000 [#1] PREEMPT SMP NOPTI
[143678.701597] CPU: 35 PID: 8400 Comm: rpc-virtnodedev Kdump: loaded Tainted: G        W        --------- ---  5.14.0-70.22.1.el9_0.x86_64 #1
[143678.701600] Hardware name: Dell Inc. PowerEdge XR11/0P2RNT, BIOS 1.9.1 10/27/2022
[143678.701601] RIP: 0010:cmd_exec+0x57/0x5e0 [mlx5_core]
[143678.701648] Code: ce c1 ee 10 48 89 44 24 10 8b 44 24 78 89 44 24 1c 65 48 8b 04 25 28 00 00 00 48 89 44 24 30 31 c0 48 8b 47 10 c6 44 24 2b 00 <83> b8 c8 00 00 00 01 74 5d 48 8d 54 24 2c 48 8d 4c 24 2b 4c 89 e7
[143678.701650] RSP: 0018:ff556975460fbb08 EFLAGS: 00010246
[143678.701652] RAX: 0000000000000000 RBX: 0000000004500000 RCX: ff1df86454cbc8a0
[143678.701654] RDX: 0000000000000050 RSI: 0000000000000805 RDI: ff1df861173801a0
[143678.701655] RBP: ff1df861173801a0 R08: 0000000000000050 R09: 0000000000000000
[143678.701656] R10: ff1df861173801a0 R11: 0000000000000000 R12: ff1df861173801a0
[143678.701657] R13: ff1df86454cbc8a0 R14: ff1df86454cbc8a0 R15: ff1df86454cbc360
[143678.701658] FS:  00007fbc760fb640(0000) GS:ff1df8be700c0000(0000) knlGS:0000000000000000
[143678.701660] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[143678.701661] CR2: 00000000000000c8 CR3: 00000001c3842004 CR4: 0000000000773ee0
[143678.701663] PKRU: 55555554
[143678.701664] Call Trace:
[143678.701668]  mlx5_cmd_exec+0x1f/0x40 [mlx5_core]
[143678.701696]  mlx5_core_access_reg+0xdf/0x130 [mlx5_core]
[143678.701728]  mlx5_query_port_ptys+0x62/0x80 [mlx5_core]
[143678.701756]  mlx5e_ethtool_get_link_ksettings+0x72/0x5a0 [mlx5_core]
[143678.701800]  ? kernfs_fop_open+0x298/0x3d0
[143678.701805]  speed_show+0x7d/0xc0
[143678.701811]  dev_attr_show+0x16/0x40
[143678.701814]  sysfs_kf_seq_show+0x98/0xf0
[143678.701817]  seq_read_iter+0x11d/0x4b0
[143678.701821]  new_sync_read+0x115/0x1a0
[143678.701824]  vfs_read+0xf3/0x180
[143678.701826]  ksys_read+0x5f/0xe0
[143678.701828]  do_syscall_64+0x38/0x90
[143678.701833]  entry_SYSCALL_64_after_hwframe+0x44/0xae

Environment

  • Red Hat Enterprise Linux 9.0.

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