CVE-2026-31644net: lan966x: fix use-after-free and leak in lan966x_fdma_reload()
- 7.8HighCVSS base score
- 0.13%Exploitation in 30 daysEPSS · top 98% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: net: lan966x: fix use-after-free and leak in lan966x_fdma_reload() When lan966x_fdma_reload() fails to allocate new RX buffers, the restore path restarts DMA using old descriptors whose pages were already freed via lan966x_fdma_rx_free_pages(). Since page_pool_put_full_page() 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.
Timeline
ID reserved
By Linux
- 46 days later
· 46 days later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.13% · top 98% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 89ba464fcf548d64bc7215dfe769f791330ae8b6 – < 691082c0b93c13a5e068c0905f673060bddc204e
- affected 89ba464fcf548d64bc7215dfe769f791330ae8b6 – < 92a673019943770930e2a8bfd52e1aad47a1fc1f
- affected 89ba464fcf548d64bc7215dfe769f791330ae8b6 – < 9950e9199b3dfdfbde0b8d96ba947d7b11243801
- affected 89ba464fcf548d64bc7215dfe769f791330ae8b6 – < 59c3d55a946cacdb4181600723c20ac4f4c20c84
- affected 6.12
- unaffected < 6.12
- unaffected 6.12.82 – ≤ 6.12.*
- unaffected 6.18.23 – ≤ 6.18.*
- unaffected 6.19.13 – ≤ 6.19.*
- unaffected 7.0 – ≤ *
References
References4
- https://git.kernel.org/stable/c/691082c0b93c13a5e068c0905f673060bddc204e (opens in a new tab)
- https://git.kernel.org/stable/c/92a673019943770930e2a8bfd52e1aad47a1fc1f (opens in a new tab)
- https://git.kernel.org/stable/c/9950e9199b3dfdfbde0b8d96ba947d7b11243801 (opens in a new tab)
- https://git.kernel.org/stable/c/59c3d55a946cacdb4181600723c20ac4f4c20c84 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-25537 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-31644)Record last updated .