MEDIUM

CVE-2026-53007

Linux Linux Kernel 2026-06-24 CVSS v3.1
CVSS
5.5

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.

Summary dbcve.org

In the Linux kernel ice driver, ice_set_ringparam() nullifies the tstamp_ring pointer of temporary tx_rings without clearing the ICE_TX_RING_FLAGS_TXTIME flag. If ice_setup_tx_ring() subsequently fails with this flag set, the unwinding sequence in ice_clean_tx_ring() triggers ice_free_tx_tstamp_ring() which dereferences the NULL tstamp_ring pointer, causing a kernel NULL pointer dereference.

Mitigation

Apply the upstream kernel patch to clear ICE_TX_RING_FLAGS_TXTIME when nullifying tstamp_ring in the error path of ice_set_ringparam().

Patch Commit

Weakness (CWE)

CWE-476 NULL Pointer Dereference

EPSS Score

0.11%
Probability of exploitation in next 30 days
1.3th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE