CVE-2025-39935
BaseFortify
Publication date: 2025-10-04
Last updated on: 2026-03-25
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) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a memory corruption issue in the Linux kernel's ASoC codec sma1307 driver. The problem occurs because the code allocates only 8 bytes for a header that actually requires space for 8 integers (which is larger than 8 bytes). When the program copies data into this insufficiently allocated space, it causes memory corruption. The fix involves correctly allocating memory for 8 integers using devm_kmalloc_array() and removing unnecessary zeroing of the memory.
How can this vulnerability impact me? :
This vulnerability can lead to memory corruption in the Linux kernel, which may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or escalate privileges if exploited.
What immediate steps should I take to mitigate this vulnerability?
Update the Linux kernel to a version that includes the fix for the sma1307 codec memory corruption issue in sma1307_setting_loaded(). This fix involves correct memory allocation using devm_kmalloc_array() instead of allocating insufficient memory, preventing memory corruption. Until the update is applied, avoid using the affected sma1307 codec if possible.