ice: set tx_tstamps when creating new Tx rings via ethtool
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ice: set tx_tstamps when creating new Tx rings via ethtool
When the user changes the number of queues via ethtool, the driver allocates new rings. This allocation did not initialize tx_tstamps. This results in the tx_tstamps field being zero (due to kcalloc allocation), and would result in a NULL pointer dereference when attempting a transmit timestamp on the new ring.
From the CVE record · Linux
The Linux kernel ice driver does not initialize tx_tstamps when a user changes the number of queues via ethtool. A subsequent transmit timestamp on a new ring can cause a NULL pointer dereference. The input does not specify authentication requirements or whether an attacker can trigger this remotely.
Engineers running the Linux kernel with the ice driver should check their installations; affected versions are not specified.