CVE-2025-38175
BaseFortify
Publication date: 2025-07-04
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) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free (UAF) bug in the Linux kernel's binder device management. Specifically, it occurs because devices can be freed without first being removed from the binder_devices list, leading to potential access to freed memory. The issue was fixed by ensuring that binder_remove_device() is called within binder_free_proc() to properly remove devices from the list before they are freed.
How can this vulnerability impact me? :
This use-after-free vulnerability can lead to memory corruption, which may cause system crashes, instability, or potentially allow an attacker to execute arbitrary code with kernel privileges, compromising system security.
What immediate steps should I take to mitigate this vulnerability?
Apply the patch that fixes the use-after-free vulnerability in the binder_devices by ensuring binder_remove_device() is called within binder_free_proc() before the device is freed. This involves updating the Linux kernel to a version that includes the commit e77aff5528a18 which addresses this issue.