CVE-2026-98906: net: lan966x: restore RX state on reload failure

Published Oct 23, 2026
·
Updated

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

net: lan966x: restore RX state on reload failure

lan966xfdmareload() backs up rx->pagepool and rx->fdma before reallocating the RX resources for the new MTU. If the allocation fails, the restore path puts these fields back before restarting RX.

However, the reload path also updates rx->pageorder and rx->maxmtu before calling lan966xfdmarxalloc(). These fields are not restored on failure, so RX can be restarted with the old pages, old FDMA state and old page pool, but with the page geometry from the failed new MTU.

This can make the XDP path advertise a frame size derived from the new pageorder while the actual RX pages still come from the old allocation. For example, after a failed reload to a jumbo MTU, xdpinitbuff() may be called with a frame size larger than the restored RX pages.

lan966xfdmarxallocpagepool() also registers the newly allocated page pool with each port's XDP RXQ before fdmaalloccoherent() is called. If fdmaalloccoherent() fails, the new page pool is destroyed, but the rollback path does not restore the per-port XDP RXQ mem model registration either.

Save and restore rx->pageorder and rx->maxmtu, and restore the old page pool registration for each port's XDP RXQ before RX is started again. This keeps the restored RX state consistent after a failed reload.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 23, 2026
CVE Published
via MITRE·11:54 AM
Data Sourced
via MITRE·11:54 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203