{"id":"CVE-2026-139169","state":"PUBLISHED","title":"net: lan966x: release the in-flight slot of a stale TX skb","description":"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.","publishedAt":"2026-11-30T13:32:13.194Z","updatedAt":"2026-11-30T13:32:13.194Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"093bb12fbb42737a60ff19b218eac43b547db211","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"766750d37800e286d40e25bbea9198bb7e132f82","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"6bd78d62d17ec243f8a98da798596f18c0c7ee23","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"33575065401d5b306df8aad6ac485c6e73789ffd","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"fe5e30618d7c609eaf5298f3d5560dd1170b05d2","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"074caa30a62726c0ee959e8b8ccb64cda0b26ae5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c"]}],"references":["https://git.kernel.org/stable/c/093bb12fbb42737a60ff19b218eac43b547db211","https://git.kernel.org/stable/c/766750d37800e286d40e25bbea9198bb7e132f82","https://git.kernel.org/stable/c/6bd78d62d17ec243f8a98da798596f18c0c7ee23","https://git.kernel.org/stable/c/33575065401d5b306df8aad6ac485c6e73789ffd","https://git.kernel.org/stable/c/fe5e30618d7c609eaf5298f3d5560dd1170b05d2","https://git.kernel.org/stable/c/074caa30a62726c0ee959e8b8ccb64cda0b26ae5"],"weaknesses":[],"ingestedAt":"2026-11-30T13:44:05.999Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139169.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139169","state":"PUBLISHED","datePublished":"2026-11-30T13:32:13.194Z","dateUpdated":"2026-11-30T13:32:13.194Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.918Z"},"containers":{"cna":{"title":"net: lan966x: release the in-flight slot of a stale TX skb","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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"093bb12fbb42737a60ff19b218eac43b547db211","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"766750d37800e286d40e25bbea9198bb7e132f82","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"6bd78d62d17ec243f8a98da798596f18c0c7ee23","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"33575065401d5b306df8aad6ac485c6e73789ffd","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"fe5e30618d7c609eaf5298f3d5560dd1170b05d2","versionType":"git"},{"version":"77eecf25bd9d2f07673b3a62b86ba1b224b65d9e","status":"affected","lessThan":"074caa30a62726c0ee959e8b8ccb64cda0b26ae5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/093bb12fbb42737a60ff19b218eac43b547db211"},{"url":"https://git.kernel.org/stable/c/766750d37800e286d40e25bbea9198bb7e132f82"},{"url":"https://git.kernel.org/stable/c/6bd78d62d17ec243f8a98da798596f18c0c7ee23"},{"url":"https://git.kernel.org/stable/c/33575065401d5b306df8aad6ac485c6e73789ffd"},{"url":"https://git.kernel.org/stable/c/fe5e30618d7c609eaf5298f3d5560dd1170b05d2"},{"url":"https://git.kernel.org/stable/c/074caa30a62726c0ee959e8b8ccb64cda0b26ae5"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:32:13.194Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}