CVE-2026-143340

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

net: lan966x: don't free XDP buffers in fdma tx clear with budget 0

lan966x_fdma_tx_clear_buf() runs from the NAPI poll and frees the buffers of completed tx DCBs with napi_consume_skb(), page_pool_recycle_direct() and xdp_return_frame_bulk().

netpoll calls the NAPI poll with a budget of 0 and hardirqs disabled. With a budget of 0, a driver cannot call any XDP or page pool API.

Before this patch, the XDP_TX pages and ndo_xdp_xmit frames are freed regardless of the budget. With netconsole on the port that owns the FDMA NAPI, such a buffer is freed with hardirqs disabled, and __page_pool_put_page() warns via lockdep_assert_no_hardirq().

Leave the XDP buffers of completed DCBs in place when the budget is 0, and free them in the next NAPI poll. napi_consume_skb() already handles a budget of 0, so skbs are still freed.

Found by an AI code review agent. Reproduced on a lan9668 board with a modified kernel that runs the NAPI poll with a budget of 0 and hardirqs disabled. With the fix the warning is gone.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143341In the Linux kernel, the following vulnerability has been resolved: net: stmmac: fix XDP RX buffer DMA sync length stmmac_rx() bounded theCVE-2026-143342In the Linux kernel, the following vulnerability has been resolved: net: stmmac: fix VLAN tag stripping on short and non-linear RX frames CVE-2026-143343In the Linux kernel, the following vulnerability has been resolved: net: stmmac: copy XDP metadata in AF_XDP zero-copy RX stmmac_constructCVE-2026-143344In the Linux kernel, the following vulnerability has been resolved: net: stmmac: drop multi-buffer frames in XDP mode stmmac_rx() runs theCVE-2026-143345In the Linux kernel, the following vulnerability has been resolved: net: stmmac: drop split frames on AF_XDP zero-copy RX stmmac_rx_zc() aCVE-2026-143346In the Linux kernel, the following vulnerability has been resolved: net: stmmac: take ownership of saved RX state at poll entry When a savCVE-2026-143347In the Linux kernel, the following vulnerability has been resolved: tcp: do not let tcp_collapse() drive sk_forward_alloc negative tcp_colCVE-2026-143348In the Linux kernel, the following vulnerability has been resolved: ipv6: fix fib6 walker UAF on NLM_F_REPLACE fib6_walker uses w->leaf toCVE-2026-143349In the Linux kernel, the following vulnerability has been resolved: net/mlx5: macsec: free struct mlx5_fs_id after an RCU grace period macCVE-2026-143357.2The Easy Digital Downloads – eCommerce Payments and Subscriptions made easy plugin for WordPress is vulnerable to Stored Cross-Site ScriptinCVE-2026-143350In the Linux kernel, the following vulnerability has been resolved: bpf: lwt: Free the skb when bpf_xmit() fails to expand the headroom WhCVE-2026-143351In the Linux kernel, the following vulnerability has been resolved: bpf: Check the offset in bpf_skb_generic_{push,pop}() To make room for
CVE-2026-143340: Unscored | Vulnix