ethtool: rss: fix indir_table and hkey leak on get_rxfh failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
81a5174e64ce4fb7b7a2f6499b835c904c9451ee| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s ethtool RSS code leaks an allocated indirection table and hash key buffer if a get_rxfh operation fails. The input does not specify how an attacker could trigger the failure or whether authentication, local access, or user interaction is required.
Engineers running the Linux kernel should check their installations; affected versions are not specified.