Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-39696

published high CVSS 3.1 · 7.8

ALSA: hda: tas2781: Fix wrong reference of tasdevice_priv

Published
05 Sep 2025, 17:21:02 UTC
Updated
05 Aug 2026, 12:04:37 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4fe238513407d83f38bf5782e8bcdd7b8baeb85d to < 2812815aa79637d39d4398ecd7e58f65d1c79231 · 4fe238513407d83f38bf5782e8bcdd7b8baeb85d to < 3f4422e7c9436abf81a00270be7e4d6d3760ec0e · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: tas2781: Fix wrong reference of tasdevice_priv During the conversion to unify the calibration data management, the reference to tasdevice_priv was wrongly set to h->hda_priv instead of h->priv. This resulted in memory corruption and crashes eventually. Unfortunately it's a void pointer, hence the compiler couldn't know that it's wrong.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The corruption occurs in the tas2781 HDA I2C codec driver's firmware-ready callback during local driver bind; there is no network, adjacent-network, or peer-supplied data path into `tas2563_save_calibration()`. Exploiting the resulting kernel heap corruption requires local presence on the affected machine. AC:L - The wrong pointer is dereferenced unconditionally every time `tasdev_fw_ready()` runs on a TAS2563 (ACPI HID INT8866) system — no race, no timing window, and no memory-layout precondition the attacker cannot influence. The driver is enabled in stock distro kernels and the hardware is common in consumer Lenovo laptops, so this is not a rare-config case. PR:L - No capability, credential, or privilege check exists anywhere on the path — the corruption fires from a kernel firmware-load worker at boot, before any authentication. A plain unprivileged local account on the affected system is sufficient to be positioned to leverage the resulting heap damage, so Low rather than High. UI:N - The vulnerable code is reached automatically from the asynchronous `request_firmware_nowait()` completion callback during device probe/bind; no victim must log in, mount anything, open a device node, or take any other action. S:U - The type confusion corrupts kernel heap memory belonging to the same kernel that hosts the vulnerable driver, with no crossing of a VM, IOMMU, or sandbox boundary. Impact and vulnerable component share one security authority. C:H - The function performs OOB reads of `p->dev` and `p->ndev` hundreds/thousands of bytes past a 24-byte allocation and writes a live kernel heap pointer (`cd->data`) into an unrelated adjacent object, which can surface kernel addresses to userspace and defeat KASLR. Heap corruption of this kind is leverageable into broader memory disclosure. I:H - This is an out-of-bounds write: `cali_dat_sz_per_dev`, `total_sz`, `data`, and the five `cali_reg` fields are written ~790–810 bytes beyond the object, and `devm_kzalloc()` performs a list insertion through an uncontrolled `struct device *`, giving a write through a wild pointer. OOB write plus type confusion is High integrity impact under the standard treatment. A:H - The maintainer explicitly states this "resulted in memory corruption and crashes eventually"; dereferencing the garbage `p->dev` inside `devm_kzalloc()` (spinlock acquisition and list_add at an arbitrary address) reliably produces an oops or panic, and the corrupted neighbouring heap objects cause later crashes. Any kernel crash is High.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4fe238513407d83f38bf5782e8bcdd7b8baeb85d to < 2812815aa79637d39d4398ecd7e58f65d1c79231 (affected · git)4fe238513407d83f38bf5782e8bcdd7b8baeb85d to < 3f4422e7c9436abf81a00270be7e4d6d3760ec0e (affected · git)Default: unaffected Linux · cna
Linux Linux 6.16 (affected)0 to < 6.16 (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

ALSA: hda: tas2781: Fix wrong reference of tasdevice_priv

Provenance

Schema
5.2
Searchable
yes
Content hash
308268af1ac0f2bceffe1bf24358dbd2e2326e3b029d49d0fc9dd043e1452110
Ingested
23 Sep 2026, 08:47:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected