In the Linux kernel, the following vulnerability has been resolved: ice: fix potential NULL...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
ice: fix potential NULL pointer deref in error path of ice_set_ringparam()
ice_set_ringparam nullifies tstamp_ring of temporary tx_rings, without clearing ICE_TX_RING_FLAGS_TXTIME bit. When ICE_TX_RING_FLAGS_TXTIME is set and the subsequent ice_setup_tx_ring() call fails, a NULL pointer dereference could happen in the unwinding sequence:
ice_clean_tx_ring() -> ice_is_txtime_cfg() == true (ICE_TX_RING_FLAGS_TXTIME is set) -> ice_free_tx_tstamp_ring() -> ice_free_tstamp_ring() -> tstamp_ring->desc (NULL deref)
Clear ICE_TX_RING_FLAGS_TXTIME bit to avoid the potential issue.
Note that this potential issue is found by manual code review. Compile test only since unfortunately I don't have E830 devices.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-53007
- https://git.kernel.org/stable/c/c54e3c270384829336b2526033d44ce1aa6dc67c
- https://git.kernel.org/stable/c/fa28351f970fa5138c7c5dedfe5dea480a0ee065
- https://git.kernel.org/stable/c/c789649d4334a3767210071311d58bc8e74bdec1
- https://github.com/advisories/GHSA-9j35-6cp9-6x6g