CVE-2026-23024: idpf: fix memory leak of flow steer list on rmmod
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
idpf: fix memory leak of flow steer list on rmmod
The flow steering list maintains entries that are added and removed as ethtool creates and deletes flow steering rules. Module removal with active entries causes memory leak as the list is not properly cleaned up.
Prevent this by iterating through the remaining entries in the list and freeing the associated memory during module removal. Add a spinlock (flow_steer_list_lock) to protect the list access from multiple threads.
The Linux kernel CVE team has assigned CVE-2026-23024 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.17 with commit ada3e24b84a097b27a823f1ad98e5b2e8c979689 and fixed in 6.18.6 with commit 1aedff70a5e97628eaaf17b169774cb6a45a1dc5 Issue introduced in 6.17 with commit ada3e24b84a097b27a823f1ad98e5b2e8c979689 and fixed in 6.19-rc5 with commit f9841bd28b600526ca4f6713b0ca49bf7bb98452
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-23024
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/intel/idpf/idpf.h drivers/net/ethernet/intel/idpf/idpf_ethtool.c drivers/net/ethernet/intel/idpf/idpf_lib.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/1aedff70a5e97628eaaf17b169774cb6a45a1dc5 https://git.kernel.org/stable/c/f9841bd28b600526ca4f6713b0ca49bf7bb98452