net: lan966x: release the in-flight slot of a stale TX skb
Summary
| CVE | CVE-2026-139169 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:18:35 UTC |
| Updated | 2026-11-30 14:18:35 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
net: lan966x: release the in-flight slot of a stale TX skb
lan966x_ptp_txtstamp_request() counts every two step TX skb waiting for
its timestamp in lan966x->ptp_skbs, and refuses new ones once
LAN966X_MAX_PTP_ID are in flight. lan966x_ptp_txtstamp_old_release()
frees the skbs that have waited longer than LAN966X_PTP_TIMEOUT.
Before this patch, old_release() does not decrement ptp_skbs, so every
skb whose timestamp never arrives, for example because the switch
discarded the frame, keeps its slot forever. Once LAN966X_MAX_PTP_ID
slots are lost, two step frames fail to transmit on every port of the
switch.
Return the number of released skbs from old_release() and subtract it
from ptp_skbs in txtstamp_request(), under the ptp_ts_id_lock 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 lan9668 board. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 77eecf25bd9d2f07673b3a62b86ba1b224b65d9e 093bb12fbb42737a60ff19b218eac43b547db211 git |
Not specified |
| CNA |
Linux |
Linux |
affected 77eecf25bd9d2f07673b3a62b86ba1b224b65d9e 766750d37800e286d40e25bbea9198bb7e132f82 git |
Not specified |
| CNA |
Linux |
Linux |
affected 77eecf25bd9d2f07673b3a62b86ba1b224b65d9e 6bd78d62d17ec243f8a98da798596f18c0c7ee23 git |
Not specified |
| CNA |
Linux |
Linux |
affected 77eecf25bd9d2f07673b3a62b86ba1b224b65d9e 33575065401d5b306df8aad6ac485c6e73789ffd git |
Not specified |
| CNA |
Linux |
Linux |
affected 77eecf25bd9d2f07673b3a62b86ba1b224b65d9e fe5e30618d7c609eaf5298f3d5560dd1170b05d2 git |
Not specified |
| CNA |
Linux |
Linux |
affected 77eecf25bd9d2f07673b3a62b86ba1b224b65d9e 074caa30a62726c0ee959e8b8ccb64cda0b26ae5 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.18 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.18 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/074caa30a62726c0ee959e8b8ccb64cda0b26ae5 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/093bb12fbb42737a60ff19b218eac43b547db211 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/fe5e30618d7c609eaf5298f3d5560dd1170b05d2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/33575065401d5b306df8aad6ac485c6e73789ffd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6bd78d62d17ec243f8a98da798596f18c0c7ee23 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/766750d37800e286d40e25bbea9198bb7e132f82 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.