Skip to contentSkip to conversation

CVE-2026-63987: ethtool: coalesce: cap profile updates at NET_DIM_PARAMS_NUM_PROFILES

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ethtool: coalesce: cap profile updates at NET_DIM_PARAMS_NUM_PROFILES

ethnl_update_profile() walks the ETHTOOL_A_PROFILE_IRQ_MODERATION nest list with an index 'i' and writes new_profile[i++] without bounding i. The destination is kmemdup()'d at NET_DIM_PARAMS_NUM_PROFILES entries (5), but the Netlink nest count is entirely user-controlled. Netlink policies do not have support for constraining the number of nested entries (or number of multi-attr entries).

The Linux kernel CVE team has assigned CVE-2026-63987 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.11 with commit f750dfe825b904164688adeb147950e0e0c4d262 and fixed in 6.12.93 with commit d4c9cc7c47781c6f4fa29d80a1193a8bcd1525bc
	Issue introduced in 6.11 with commit f750dfe825b904164688adeb147950e0e0c4d262 and fixed in 6.18.35 with commit 0c02c190bcd9822477038ff2cee10ea584ac1b1d
	Issue introduced in 6.11 with commit f750dfe825b904164688adeb147950e0e0c4d262 and fixed in 7.0.12 with commit 6205f7166d2dd14a017a5802c81e5bd1421a8635
	Issue introduced in 6.11 with commit f750dfe825b904164688adeb147950e0e0c4d262 and fixed in 7.1 with commit 7281b096b072f6c6e30420e3467d738f2e4c4b57

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-63987

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/coalesce.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/d4c9cc7c47781c6f4fa29d80a1193a8bcd1525bc
	https://git.kernel.org/stable/c/0c02c190bcd9822477038ff2cee10ea584ac1b1d
	https://git.kernel.org/stable/c/6205f7166d2dd14a017a5802c81e5bd1421a8635
	https://git.kernel.org/stable/c/7281b096b072f6c6e30420e3467d738f2e4c4b57