CVE-2026-31644: net: lan966x: fix use-after-free and leak in lan966x_fdma_reload()

Published Apr 24, 2026
·
Updated

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

net: lan966x: fix use-after-free and leak in lan966xfdmareload()

When lan966xfdmareload() fails to allocate new RX buffers, the restore path restarts DMA using old descriptors whose pages were already freed via lan966xfdmarxfreepages(). Since pagepoolputfullpage() can release pages back to the buddy allocator, the hardware may DMA into memory now owned by other kernel subsystems.

Additionally, on the restore path, the newly created page pool (if allocation partially succeeded) is overwritten without being destroyed, leaking it.

Fix both issues by deferring the release of old pages until after the new allocation succeeds. Save the old page array before the allocation so old pages can be freed on the success path. On the failure path, the old descriptors, pages and page pool are all still valid, making the restore safe. Also ensure the restore path re-enables NAPI and wakes the netdev, matching the success path.

Affected Software

12 affected components
Linux Linux kernel (lan966x driver)
Linux Linux kernel>=6.12.1<6.12.82
Linux Linux kernel>=6.13<6.18.23
Linux Linux kernel>=6.19<6.19.13
Linux Linux kernel=6.12
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7

Event History

Apr 24, 2026
CVE Published
via MITRE·02:44 PM
Data Sourced
via MITRE·02:44 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31644?

CVE-2026-31644 has been classified as a high severity vulnerability due to potential memory corruption issues.

2

How do I fix CVE-2026-31644?

To fix CVE-2026-31644, update your Linux kernel to a version that has the patch applied, specifically versions after the affected release.

3

What are the affected versions for CVE-2026-31644?

CVE-2026-31644 affects Linux kernel versions between 6.12.1 and 6.12.82, as well as versions 6.13 to 6.19.13 and several 7.0 release candidates.

4

Can CVE-2026-31644 lead to system crashes?

Yes, CVE-2026-31644 can potentially lead to system instability and crashes due to the use-after-free vulnerability.

5

What components are impacted by CVE-2026-31644?

CVE-2026-31644 specifically impacts the LAN966x driver within the Linux kernel.

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