CVE-2026-31646 PUBLISHED

net: lan966x: fix page_pool error handling in lan966x_fdma_rx_alloc_page_pool()

Assigner: Linux
Reserved: 09.03.2026 Published: 24.04.2026 Updated: 24.04.2026

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

net: lan966x: fix page_pool error handling in lan966x_fdma_rx_alloc_page_pool()

page_pool_create() can return an ERR_PTR on failure. The return value is used unconditionally in the loop that follows, passing the error pointer through xdp_rxq_info_reg_mem_model() into page_pool_use_xdp_mem(), which dereferences it, causing a kernel oops.

Add an IS_ERR check after page_pool_create() to return early on failure.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 11871aba19748b3387e83a2db6360aa7119e9a1a to e63265f188ea39dcf5f546770650027528f3bd0f (excl.)
  • affected from 11871aba19748b3387e83a2db6360aa7119e9a1a to 305832c53551cfbe6e5b81ca7ee765e60f4fe8e9 (excl.)
  • affected from 11871aba19748b3387e83a2db6360aa7119e9a1a to b5dcb41ba891b55157006cac79825c78a32b409e (excl.)
  • affected from 11871aba19748b3387e83a2db6360aa7119e9a1a to 7caf90d9ab97951a58d1de85ab7e7d7cca7a4513 (excl.)
  • affected from 11871aba19748b3387e83a2db6360aa7119e9a1a to 3fd0da4fd8851a7e62d009b7db6c4a05b092bc19 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.2 is affected
  • unaffected from 0 to 6.2 (excl.)
  • unaffected from 6.6.135 to 6.6.* (incl.)
  • unaffected from 6.12.82 to 6.12.* (incl.)
  • unaffected from 6.18.23 to 6.18.* (incl.)
  • unaffected from 6.19.13 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References