CVE-2025-38475
BaseFortify
Publication date: 2025-07-28
Last updated on: 2025-11-19
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel is caused by type confusion between socket structures. Specifically, the smc_sock structure is incorrectly treated as an inet_sock structure because smc_sock hijacks the AF_INET and AF_INET6 socket families but does not have inet_sock as its first member. This leads to incorrect handling of memory addresses, such as freeing read-only memory multiple times, causing kernel crashes (oops). The root cause is that smc_sock and inet_sock have different layouts, but smc_sock is used where inet_sock is expected, leading to confusion and errors.
How can this vulnerability impact me? :
This vulnerability can cause kernel crashes due to double freeing of memory, which can lead to system instability or denial of service. Since it involves freeing read-only memory incorrectly, it may cause unpredictable behavior in the Linux kernel networking stack, potentially affecting network operations and system reliability.