Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
82e71b226e0ef770d7bc143701c8b4960b4eb3d5 to < 2cde98a02da958357fe240a6ba269b69d913b6baaffected82e71b226e0ef770d7bc143701c8b4960b4eb3d5 to < 923c267bdbb64f65bc1149d184efcf8b047d7d64affected82e71b226e0ef770d7bc143701c8b4960b4eb3d5 to < f6486338fde3f04ed0ec59fe67a69a208c32734faffected
Linux Linux
Default version status: affected
6.8affected0 to < 6.8unaffected6.12.46 to ≤ 6.12.*unaffected6.16.6 to ≤ 6.16.*unaffected6.17 to ≤ *unaffected