CVE-2026-139743

ASoC: codecs: sma1307: validate setting firmware layout

Published Nov 30, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ASoC: codecs: sma1307: validate setting firmware layout

sma1307_setting_loaded() checks a byte count against an element count, then
reads an eight-int header and a fixed default table from the firmware. It
also trusts the mode count while indexing a five-entry mode_set array.

Validate the byte-to-int conversion, fixed header/default extent, mode
count, and exact mode table layout before parsing the setting file.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Linux kernel sound subsystem ASoC driver for the sma1307 codec. The routine that loads a codec setting file performs byte‑to‑int conversion but conducts incomplete bounds checks and blindly trusts the mode count supplied in the firmware. It reads an eight‑integer header and a fixed default table from the firmware file and indexes a five‑entry mode_set array using that mode count. The lack of proper validation can cause the driver to read or write outside the intended bounds, corrupting kernel memory. This can lead to privilege escalation for a malicious user capable of supplying a crafted firmware image.

Affected Systems

All Linux kernel builds that compile the ASoC sma1307 driver. Any distribution or custom kernel that includes this codec driver is potentially affected. No specific kernel versions are listed in the advisory, so every system that loads firmware for the sma1307 codec should be considered at risk.

Risk and Exploitability

The flaw involves unsanitized firmware parsing in kernel code, a high‑severity class of kernel vulnerability. The CVSS score is not published, but the nature of the bug indicates that local exploitation is possible if an attacker can supply a malicious firmware image to the kernel. The EPSS score is unavailable and the vulnerability is not yet in CISA’s KEV catalog, meaning no public exploits are known. However, a local attacker with firmware injection capabilities could exploit the fault, making this a high‑risk issue for systems that load third‑party firmware for the sma1307 codec.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the sma1307 driver fix.
  • If an upgrade is not possible immediately, unload or disable the sma1307 driver from the kernel to prevent the vulnerable code from executing.
  • If the driver must remain for functionality, restrict access to the firmware directory and only load firmware from trusted sources, using firmware signing if available.

Generated by OpenCVE AI on December 1, 2026 at 02:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: sma1307: validate setting firmware layout sma1307_setting_loaded() checks a byte count against an element count, then reads an eight-int header and a fixed default table from the firmware. It also trusts the mode count while indexing a five-entry mode_set array. Validate the byte-to-int conversion, fixed header/default extent, mode count, and exact mode table layout before parsing the setting file.
Title ASoC: codecs: sma1307: validate setting firmware layout
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

No weakness.

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM