{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143340","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.367Z","datePublished":"2026-12-03T09:22:01.353Z","dateUpdated":"2026-12-03T09:22:01.353Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:22:01.353Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: don't free XDP buffers in fdma tx clear with budget 0\n\nlan966x_fdma_tx_clear_buf() runs from the NAPI poll and frees the\nbuffers of completed tx DCBs with napi_consume_skb(),\npage_pool_recycle_direct() and xdp_return_frame_bulk().\n\nnetpoll calls the NAPI poll with a budget of 0 and hardirqs disabled.\nWith a budget of 0, a driver cannot call any XDP or page pool API.\n\nBefore this patch, the XDP_TX pages and ndo_xdp_xmit frames are freed\nregardless of the budget. With netconsole on the port that owns the\nFDMA NAPI, such a buffer is freed with hardirqs disabled, and\n__page_pool_put_page() warns via lockdep_assert_no_hardirq().\n\nLeave the XDP buffers of completed DCBs in place when the budget is 0,\nand free them in the next NAPI poll. napi_consume_skb() already handles\na budget of 0, so skbs are still freed.\n\nFound by an AI code review agent. Reproduced on a lan9668 board with a\nmodified kernel that runs the NAPI poll with a budget of 0 and hardirqs\ndisabled. With the fix the warning is gone."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c"],"versions":[{"version":"19c6f534f63608fbf966897b2c64fefcb916dc08","lessThan":"7e86d6a8aba86ed6adbf2c54ee16dba52df14fcb","status":"affected","versionType":"git"},{"version":"19c6f534f63608fbf966897b2c64fefcb916dc08","lessThan":"c04d9b1cbf2ae04eeb25e4ad1ff6fe018e28cbfd","status":"affected","versionType":"git"},{"version":"19c6f534f63608fbf966897b2c64fefcb916dc08","lessThan":"137d068cc7d8a95270d96b90addba9ff0f938dfe","status":"affected","versionType":"git"},{"version":"19c6f534f63608fbf966897b2c64fefcb916dc08","lessThan":"263a5514cb9535380734b5e300b298f82570eb57","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c"],"versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/7e86d6a8aba86ed6adbf2c54ee16dba52df14fcb"},{"url":"https://git.kernel.org/stable/c/c04d9b1cbf2ae04eeb25e4ad1ff6fe018e28cbfd"},{"url":"https://git.kernel.org/stable/c/137d068cc7d8a95270d96b90addba9ff0f938dfe"},{"url":"https://git.kernel.org/stable/c/263a5514cb9535380734b5e300b298f82570eb57"}],"title":"net: lan966x: don't free XDP buffers in fdma tx clear with budget 0","x_generator":{"engine":"bippy-1.2.0"}}}}