CVE-2025-40238 is a vulnerability in the Linux kernel's mlx5 driver related to IPsec cleanup over MPV devices. The issue occurs during the mlx5e_detach_netdev() process where blocking event notifiers, including IPsec MPV events, are disabled without properly unregistering the devcom device. This can lead to use of invalid netdev references during future devcom events, causing a kernel NULL pointer dereference and system crash (kernel oops).