CVE-2026-138981

ASoC: rt712-sdca-dmic: fix drvdata type in the gain controls

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

ASoC: rt712-sdca-dmic: fix drvdata type in the gain controls

rt712_sdca_dmic_set_gain_get() and rt712_sdca_dmic_set_gain_put() take
the component drvdata as struct rt712_sdca_priv, but this driver stores
a struct rt712_sdca_dmic_priv.

regmap and mbq_regmap are at the same offsets in both structs, so the
register accesses work. slave is not: rt712_sdca_priv has dmic_component
in front of it, so its slave overlays rt712_sdca_dmic_priv's params,
which this driver never writes. When regmap_write() fails in the put
handler, dev_err() is called with &NULL->dev (RSI below):

rt712-sdca-dmic sdw:0:3:025d:1713:01: Defer on undeferrable control: 40800f13
BUG: kernel NULL pointer dereference, address: 0000000000000058
RIP: 0010:__dev_printk+0x10/0x70
RDX: ffffcdac45f83cd0 RSI: 0000000000000008 RDI: ffffffffa09cb5cb
Call Trace:
_dev_err+0x7f/0x99
rt712_sdca_dmic_set_gain_put.cold+0x20/0x25 [snd_soc_rt712_sdca_dmic]
snd_ctl_elem_write+0x19a/0x1f0 [snd]
snd_ctl_ioctl+0x658/0x8a0 [snd]

Seen on a Dell Precision 5690 running 7.2.5-200.fc44, with alsactl
writing the control during boot. Compile-tested only.

Analysis

AI-generated

Technical impact

The rt712‑sdca‑dmic driver incorrectly uses a component structure of the wrong type, which causes a NULL pointer dereference when regmap_write() fails. This leads to a kernel crash, visible as a BUG: kernel NULL pointer dereference and a subsequent panic. The crash can be triggered during normal operation when ALSA writes to the gain control, such as during system boot.

Affected Systems

All Linux kernel installations that use the rt712 audio driver on devices equipped with the rt712 audio codec may be affected. The issue was observed on a Dell Precision 5690 running 7.2.5‑200.fc44, but the fix applies to any kernel version that contains the rt712‑sdca‑dmic component with the vulnerable data‑type handling.

Risk and Exploitability

The vulnerability has a direct impact on system availability. No EPSS score is available and the issue is not listed in the CISA KEV catalog, but a kernel panic can be leveraged by an attacker with local access to trigger a denial‑of‑service or to facilitate privilege escalation on a compromised machine. The attack vector, inferred from the description, is local, requiring the ability to execute code that triggers the ALSA control write. While the likelihood is uncertain due to missing exploit metrics, the known crash demonstrates that the vulnerability is exploitable under realistic conditions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest kernel version that contains the rt712‑sdca‑dmic driver fix; the patch corrects the drvdata type and prevents the null pointer dereference.
  • If an update is not available, temporarily disable the rt712‑sdca‑dmic driver or the affected ALSA control during system boot to avoid the crash.
  • Monitor kernel logs for "DEFER on undeferrable control" errors and validate that the issue has been resolved after the update.

Generated by OpenCVE AI on November 30, 2026 at 18:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ASoC: rt712-sdca-dmic: fix drvdata type in the gain controls rt712_sdca_dmic_set_gain_get() and rt712_sdca_dmic_set_gain_put() take the component drvdata as struct rt712_sdca_priv, but this driver stores a struct rt712_sdca_dmic_priv. regmap and mbq_regmap are at the same offsets in both structs, so the register accesses work. slave is not: rt712_sdca_priv has dmic_component in front of it, so its slave overlays rt712_sdca_dmic_priv's params, which this driver never writes. When regmap_write() fails in the put handler, dev_err() is called with &NULL->dev (RSI below): rt712-sdca-dmic sdw:0:3:025d:1713:01: Defer on undeferrable control: 40800f13 BUG: kernel NULL pointer dereference, address: 0000000000000058 RIP: 0010:__dev_printk+0x10/0x70 RDX: ffffcdac45f83cd0 RSI: 0000000000000008 RDI: ffffffffa09cb5cb Call Trace: _dev_err+0x7f/0x99 rt712_sdca_dmic_set_gain_put.cold+0x20/0x25 [snd_soc_rt712_sdca_dmic] snd_ctl_elem_write+0x19a/0x1f0 [snd] snd_ctl_ioctl+0x658/0x8a0 [snd] Seen on a Dell Precision 5690 running 7.2.5-200.fc44, with alsactl writing the control during boot. Compile-tested only.
Title ASoC: rt712-sdca-dmic: fix drvdata type in the gain controls
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

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