CVE-2026-63999: ethtool: rss: fix indir_table and hkey leak on get_rxfh failure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ethtool: rss: fix indir_table and hkey leak on get_rxfh failure
rss_prepare_get() allocates the indirection table and hash key buffer via rss_get_data_alloc(), then calls ops->get_rxfh() to populate them. If get_rxfh() fails, the function returns an error without freeing the allocation.
The Linux kernel CVE team has assigned CVE-2026-63999 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.15 with commit 4f038a6a02d20859a3479293cbf172b0f14cbdd6 and fixed in 6.18.35 with commit 33d05c22d6f227c5ae171c46df2f6f8bf48047ea Issue introduced in 6.15 with commit 4f038a6a02d20859a3479293cbf172b0f14cbdd6 and fixed in 7.0.12 with commit 80d95d92f828cfcace955d673637d944178b435f Issue introduced in 6.15 with commit 4f038a6a02d20859a3479293cbf172b0f14cbdd6 and fixed in 7.1 with commit 266297692f97008ca48bc311775c087c59bd7fe3 Issue introduced in 5.15.181 with commit 81a5174e64ce4fb7b7a2f6499b835c904c9451ee Issue introduced in 6.1.135 with commit ec9faff49a4ea27731de39cb887b7e590e93157b Issue introduced in 6.6.88 with commit c5ed0eaddcbda56079091fc3876b140a6e70a548 Issue introduced in 6.12.24 with commit a065b996052656a65afc51ad82336dc55ae4c72f Issue introduced in 6.13.12 with commit adee9db710a6117b978a25ed4153846b7c56ec9a Issue introduced in 6.14.3 with commit 5eb3fdc4b6281b29e830300c866a36d90442b1f0
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-63999
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:
net/ethtool/rss.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/33d05c22d6f227c5ae171c46df2f6f8bf48047ea https://git.kernel.org/stable/c/80d95d92f828cfcace955d673637d944178b435f https://git.kernel.org/stable/c/266297692f97008ca48bc311775c087c59bd7fe3