ice: fix NULL pointer dereference in ice_update_vsi_tx_ring_stats()
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: fix NULL pointer dereference in ice_update_vsi_tx_ring_stats()
It is possible to do NULL pointer dereference in routine that updates Tx ring stats. Currently only stats and bytes are updated when ring pointer is valid, but later on ring is accessed to propagate gathered Tx stats onto VSI stats.
Change the existing logic to move to next ring when ring is NULL.
From the CVE record · Linux
The Linux kernel's ice driver can dereference a NULL Tx ring pointer while updating VSI transmit statistics. The input does not specify how this condition can be triggered, whether authentication or user interaction is needed, or what an attacker could achieve.
Engineers running Linux kernels with the ice driver should check their deployments; affected versions are not specified.