Linux
ice: fix NULL access of tx->in_use in ice_ll_ts_intr
In the Linux kernel, the following vulnerability has been resolved: ice: fix NULL access of tx->in_use in ice_ll_ts_intr Recent versions of the E810 firmware have support for an extra interrupt to handle report of the "low latency" Tx timestamps coming from the specialized low latency firmware interface. Instead of polling the registers, software can wait until the low latency interrupt is fired. This logic makes use of the Tx timestamp tracking structure, ice_ptp_tx, as it uses the same "ready" bitmap to track which Tx timestamps complete. Unfortunately, the ice_ll_ts_intr() function does not check if the tracker is initialized before its first access. This results in NULL dereference or use-after-free bugs similar to the issues fixed in the ice_ptp_ts_irq() function. Fix this by only checking the in_use bitmap (and other fields) if the tracker is marked as initialized. The reset flow will clear the init field under lock before it tears the tracker down, thus preventing any use-after-free or NULL access.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 82e71b226e0ef770d7bc143701c8b4960b4eb3d5, < 2cde98a02da958357fe240a6ba269b69d913b6ba
- >= 82e71b226e0ef770d7bc143701c8b4960b4eb3d5, < 923c267bdbb64f65bc1149d184efcf8b047d7d64
- >= 82e71b226e0ef770d7bc143701c8b4960b4eb3d5, < f6486338fde3f04ed0ec59fe67a69a208c32734f
Fixed in 2cde98a02da958357fe240a6ba269b69d913b6ba, 923c267bdbb64f65bc1149d184efcf8b047d7d64, f6486338fde3f04ed0ec59fe67a69a208c32734f
- 6.8
Fixed in 0, 6.12.46, 6.16.6, 6.17
Mitigation
Upgrade Linux to 2cde98a02da958357fe240a6ba269b69d913b6ba or 923c267bdbb64f65bc1149d184efcf8b047d7d64 or f6486338fde3f04ed0ec59fe67a69a208c32734f or later.
Upgrade Linux to 0 or 6.12.46 or 6.16.6 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.