AZL-118583: CVE-2026-143326 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net: sparx5/lan969x: release the in-flight slot of a stale TX skb
sparx5ptptxtstamprequest() counts every two step TX skb waiting for its timestamp in sparx5->ptpskbs, and refuses new ones once SPARX5MAXPTPID are in flight. sparx5ptptxtstampoldrelease() frees the skbs that have waited longer than SPARX5PTPTIMEOUT.
Before this patch, oldrelease() does not decrement ptpskbs, so every skb whose timestamp never arrives, for example because the switch discarded the frame, keeps its slot forever. Once SPARX5MAXPTPID slots are lost, two step frames fail to transmit on every port of the switch.
Return the number of released skbs from oldrelease() and subtract it from ptpskbs in txtstamprequest(), under the ptptsidlock it already takes.
This fixes the accounting only. A port's stale skbs are still aged out only when that port sends a two step frame, so a port that stops sending them keeps its stale skbs, and their slots, until it sends one again. That behaviour is unchanged by this patch.
Found by an AI code review agent. Reproduced on a lan9696 board with a modified kernel that drops the TX timestamps of two step frames, after which two step timestamping stopped working on the port. With the fix, timestamping keeps working on that board and on a sparx5 PCB135 board.
Affected Software
Event History
Frequently Asked Questions
What traffic condition can trigger the transmission failure?
The issue is triggered when two-step TX packets request timestamps that never arrive, such as when the switch discards the frame. Each timed-out packet can permanently consume an in-flight PTP timestamp slot in the affected accounting.
What is the operational impact once the slots are exhausted?
After SPARX5_MAX_PTP_ID slots have been lost, two-step frames fail to transmit on every port of the switch. The issue affects the shared in-flight timestamp-slot accounting rather than only the port that originated the stale packets.
Does the fix immediately clear stale slots on ports that have stopped sending two-step frames?
No. Stale SKBs for a port are still aged out only when that same port sends another two-step frame, so slots associated with a port that has stopped sending remain held until it sends one again.