Linux
ethtool: coalesce: cap profile updates at NET_DIM_PARAMS_NUM_PROFILES
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).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f750dfe825b904164688adeb147950e0e0c4d262, < d4c9cc7c47781c6f4fa29d80a1193a8bcd1525bc
- >= f750dfe825b904164688adeb147950e0e0c4d262, < 0c02c190bcd9822477038ff2cee10ea584ac1b1d
- >= f750dfe825b904164688adeb147950e0e0c4d262, < 6205f7166d2dd14a017a5802c81e5bd1421a8635
- >= f750dfe825b904164688adeb147950e0e0c4d262, < 7281b096b072f6c6e30420e3467d738f2e4c4b57
Fixed in d4c9cc7c47781c6f4fa29d80a1193a8bcd1525bc, 0c02c190bcd9822477038ff2cee10ea584ac1b1d, 6205f7166d2dd14a017a5802c81e5bd1421a8635, 7281b096b072f6c6e30420e3467d738f2e4c4b57
- 6.11
Fixed in 0, 6.12.93, 6.18.35, 7.0.12, 7.1
Mitigation
Upgrade Linux to d4c9cc7c47781c6f4fa29d80a1193a8bcd1525bc or 0c02c190bcd9822477038ff2cee10ea584ac1b1d or 6205f7166d2dd14a017a5802c81e5bd1421a8635 or 7281b096b072f6c6e30420e3467d738f2e4c4b57 or later.
Upgrade Linux to 0 or 6.12.93 or 6.18.35 or 7.0.12 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.