Database/Kernel, userspace & hypervisor
Linux kernel mlx5_core flow steering / flow counters (hardware steering): Use-after-free releasing
Impact
Use-after-free releasing the hardware-steering action of a local flow counter - the refcount and mutex were never initialized and the counter struct can already be freed when the rule is deleted. Notably it is reached through an ib_uverbs ioctl into mlx5_ib_destroy_flow, so a tenant holding an RDMA verbs handle can drive host kernel memory corruption in the NIC's flow-steering tables.
Who can reach it
Local, low-privileged - reachable from a userspace RDMA verbs handle destroying a flow, not only from privileged tc/devlink paths.
What to do
Upgrade the host kernel to 6.17 or the 6.16.10 stable backport. Rolling reboot of the fleet.
References
Related entries
- Linux kernel BPF verifier: get_helper_proto dereferences a NULL helper function pointer when a config option is disabledCVE-2025-39990 · Linux kernel BPF verifier (get_helper_proto NULL helper pointer)High
- Linux kernel hugetlbfs: fallocate hole-punch races page migration and corrupts page accountingCVE-2025-40006 · Linux kernel hugetlbfs (remove_inode_single_folio folio-lock race)High
- Linux kernel (net/smc): SMC-D loopback registers DMBs (the direct memory buffers a peer reads and writes) out ofCVE-2025-40012 · Linux kernel (net/smc)High
- Linux kernel vhost: missing task reference lets vhost_task_wake() touch a freed task_structCVE-2025-40024 · Linux kernel vhost (struct vhost_task task_struct reference counting)High
- Linux kernel io_uring: waitid entry left on the wait queue races the callback on cancellationCVE-2025-40047 · Linux kernel io_uring waitid (io_waitid_wait wait-queue entry pruning)High
- Linux kernel vhost vringh: copy helper return values checked for negative instead of short copiesCVE-2025-40051 · Linux kernel vhost vringh (copy_from_iter/copy_to_iter return value check)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.