CVE-2025-40214
BaseFortify
Publication date: 2025-12-04
Last updated on: 2025-12-06
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel's AF_UNIX socket garbage collection occurs because the function unix_add_edge() does not initialize the scc_index field properly. This leads to a misjudgment during garbage collection where an active in-flight socket (sk-A) is incorrectly considered dead due to incorrect grouping in strongly connected components (SCCs). The issue arises from cyclic references among sockets and improper handling of their SCC indices, causing the garbage collector to mistakenly collect sockets that are still in use.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to prematurely garbage-collect active AF_UNIX sockets that are still in use. This may lead to unexpected socket closures, disrupting inter-process communication relying on these sockets, potentially causing application errors, data loss, or system instability.