CVE-2025-39935Out-of-bounds Write in Linux

Severity
7.8HIGHNVD
EPSS
0.0%
top 94.22%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 4

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: codec: sma1307: Fix memory corruption in sma1307_setting_loaded() The sma1307->set.header_size is how many integers are in the header (there are 8 of them) but instead of allocating space of 8 integers we allocate 8 bytes. This leads to memory corruption when we copy data it on the next line: memcpy(sma1307->set.header, data, sma1307->set.header_size * sizeof(int)); Also since we're immediately copying over the memory

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages4 packages

NVDlinux/linux_kernel6.136.16.9+1
Debianlinux/linux_kernel< 6.16.9-1
CVEListV5linux/linux576c57e6b4c1d734bcb7cc33dde9a99a9383b520cd59ca8f75dbb42a67fcae975c766114644e36c4+2
debiandebian/linux< linux 6.16.9-1 (forky)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-9554-w67x-xjxp: In the Linux kernel, the following vulnerability has been resolved: ASoC: codec: sma1307: Fix memory corruption in sma1307_setting_loaded() The sma12025-10-04
OSV
CVE-2025-39935: In the Linux kernel, the following vulnerability has been resolved: ASoC: codec: sma1307: Fix memory corruption in sma1307_setting_loaded() The sma1302025-10-04

📋Vendor Advisories

2
Red Hat
kernel: ASoC: codec: sma1307: Fix memory corruption in sma1307_setting_loaded()2025-10-04
Debian
CVE-2025-39935: linux - In the Linux kernel, the following vulnerability has been resolved: ASoC: codec...2025