{"id":"CVE-2026-139169","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:35.880","lastModified":"2026-11-30T14:18:35.880","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: release the in-flight slot of a stale TX skb\n\nlan966x_ptp_txtstamp_request() counts every two step TX skb waiting for\nits timestamp in lan966x->ptp_skbs, and refuses new ones once\nLAN966X_MAX_PTP_ID are in flight. lan966x_ptp_txtstamp_old_release()\nfrees the skbs that have waited longer than LAN966X_PTP_TIMEOUT.\n\nBefore this patch, old_release() does not decrement ptp_skbs, so every\nskb whose timestamp never arrives, for example because the switch\ndiscarded the frame, keeps its slot forever. Once LAN966X_MAX_PTP_ID\nslots are lost, two step frames fail to transmit on every port of the\nswitch.\n\nReturn the number of released skbs from old_release() and subtract it\nfrom ptp_skbs in txtstamp_request(), under the ptp_ts_id_lock it already\ntakes.\n\nThis fixes the accounting only. A port's stale skbs are still aged out\nonly when that port sends a two step frame, so a port that stops sending\nthem keeps its stale skbs, and their slots, until it sends one again.\nThat behaviour is unchanged by this patch.\n\nFound by an AI code review agent. Reproduced on a lan9668 board."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","lessThan":"093bb12fbb42737a60ff19b218eac43b547db211","versionType":"git","status":"affected"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","lessThan":"766750d37800e286d40e25bbea9198bb7e132f82","versionType":"git","status":"affected"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","lessThan":"6bd78d62d17ec243f8a98da798596f18c0c7ee23","versionType":"git","status":"affected"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","lessThan":"33575065401d5b306df8aad6ac485c6e73789ffd","versionType":"git","status":"affected"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","lessThan":"fe5e30618d7c609eaf5298f3d5560dd1170b05d2","versionType":"git","status":"affected"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","lessThan":"074caa30a62726c0ee959e8b8ccb64cda0b26ae5","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/074caa30a62726c0ee959e8b8ccb64cda0b26ae5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/093bb12fbb42737a60ff19b218eac43b547db211","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/33575065401d5b306df8aad6ac485c6e73789ffd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6bd78d62d17ec243f8a98da798596f18c0c7ee23","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/766750d37800e286d40e25bbea9198bb7e132f82","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fe5e30618d7c609eaf5298f3d5560dd1170b05d2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}