A kernel panic caused by a NULL pointer dereference is observed in the /var/log/core/<DATE_TIME>/dmesg.<DATE_TIME> file on an NSX Edge node.
The crash occurs within the mlx5e_show_hfunc function, which is specific to NSX Edge nodes equipped with a Mellanox NIC.
[########.######] BUG: kernel NULL pointer dereference, address: ################ |
VMware NSX 4.2.3
The panic is triggered when a process opens and reads a sysfs attribute file exposed by an mlx5 uplink NIC. While handling this read request, the driver dereferences a NULL pointer.
Workaround:
To prevent this issue, avoid reading the /sys/class/net/<mlx5-iface>/settings/hfunc file using commands such as cat or grep.
This issue will be addressed in a future release.