PT-2026-167204

CVE-2026-143346

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
net: stmmac: take ownership of saved RX state at poll entry
When a saved partial packet completes with a poll budget of one, the old loop can leave state saved and state.skb pointing at an skb that has already been delivered or freed. The next poll then reuses that pointer, causing a use-after-free or double free.
Take the saved state at poll entry and clear the stored ownership immediately. Save it again only if the packet remains incomplete, including when the next descriptor is still DMA-owned.
Track the frame-in-progress flag independently of the status read from the next descriptor. The old code keyed the save on the status of the last descriptor looked at, so a loop stopped at a DMA-owned descriptor (rx status not yet valid) could drop the saved error/length bookkeeping in stmmac rx zc().
Drop the saved state both when the queue parameters are reset and when the ring is destroyed. stmmac reset rx queue() is reached from stmmac open(), stmmac xdp open(), stmmac resume() and stmmac enable rx queue(); without draining it there, a partial frame saved before suspend (or before a queue is disabled and re-enabled) survives while cur rx and dirty rx are rewound to zero. On the resume path the ring is only re-armed in place: stmmac clear descriptors() sets the ownership bits and stmmac init dma engine() restores the tail pointer, but the RX buffer addresses are not reprogrammed. The first poll would then resume the stale skb against a ring position that no longer matches the descriptors it was built from. free dma rx desc resources() releases it on teardown.
Apply the same state handling to stmmac rx zc(), which also leaves state saved set when a saved frame finishes at the budget boundary. That path saves only error and length bookkeeping, not an skb pointer.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾