CVE-2026-31646

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

State
Published
Severity
Not scored
Published
Apr 24, 2026
Updated
May 11, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 11871aba19748b3387e83a2db6360aa7119e9a1a to before e63265f188ea39dcf5f546770650027528f3bd0fAffected
  • 11871aba19748b3387e83a2db6360aa7119e9a1a to before 305832c53551cfbe6e5b81ca7ee765e60f4fe8e9Affected
  • 11871aba19748b3387e83a2db6360aa7119e9a1a to before b5dcb41ba891b55157006cac79825c78a32b409eAffected
  • 11871aba19748b3387e83a2db6360aa7119e9a1a to before 7caf90d9ab97951a58d1de85ab7e7d7cca7a4513Affected
  • 11871aba19748b3387e83a2db6360aa7119e9a1a to before 3fd0da4fd8851a7e62d009b7db6c4a05b092bc19Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.135 through 6.6.*Not affected
  • 6.12.82 through 6.12.*Not affected
  • 6.18.23 through 6.18.*Not affected
  • 6.19.13 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.