CVE-2025-39852
BaseFortify
Publication date: 2025-09-19
Last updated on: 2025-12-11
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 6.7 (inc) to 6.12.46 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.16.6 (exc) |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 6.17 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-401 | The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a memory leak in the Linux kernel's TCP-AO failure handling for IPv6. Specifically, when the function tcp_ao_copy_all_matching() fails inside tcp_v6_syn_recv_sock(), the function exits without properly freeing allocated socket memory. This causes a memory leak because necessary cleanup functions (inet_csk_prepare_forced_close() and tcp_done()) are not called on error exit, unlike in the IPv4 counterpart. The patch fixes this by aligning the IPv6 error handling with IPv4 to ensure proper memory release.
How can this vulnerability impact me? :
The memory leak caused by this vulnerability can lead to increased memory consumption on affected systems, potentially degrading system performance or causing resource exhaustion over time. This could affect the stability and reliability of systems running the vulnerable Linux kernel, especially under conditions where TCP-AO failure handling for IPv6 is triggered frequently.