idpf: Fix RSS LUT NULL ptr issue after soft reset
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.806.18.66.19In the Linux kernel, the following vulnerability has been resolved:
idpf: Fix RSS LUT NULL ptr issue after soft reset
During soft reset, the RSS LUT is freed and not restored unless the interface is up. If an ethtool command that accesses the rss lut is attempted immediately after reset, it will result in NULL ptr dereference. Also, there is no need to reset the rss lut if the soft reset does not involve queue count change.
After soft reset, set the RSS LUT to default values based on the updated queue count only if the reset was a result of a queue count change and the LUT was not configured by the user. In all other cases, don't touch the LUT.
Steps to reproduce:
** Bring the interface down (if up) ifconfig eth1 down
** update the queue count (eg., 27->20) ethtool -L eth1 combined 20
** display the RSS LUT ethtool -x eth1
From the CVE record · Linux
The Linux kernel’s idpf driver can leave its RSS lookup table unset after a soft reset while the interface is down. A local user running an ethtool command that reads the table immediately after the reset can trigger a kernel NULL pointer dereference. The input does not specify authentication requirements.
Check Linux kernel deployments using the idpf driver; affected versions are not specified.