Description
In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda/conexant: Fix missing error check for jack detection

In cx_probe(), the return value of snd_hda_jack_detect_enable_callback()
is ignored. This function returns a pointer, and if it fails (e.g., due
to memory allocation failure), it returns an error pointer which must
be checked using IS_ERR().

If the registration fails, the driver continues to probe, but the jack
detection callback will not be registered. This can lead to a kernel
crash later when the driver attempts to handle jack events or accesses
the uninitialized structure.

Check the return value using IS_ERR() and propagate the error via
PTR_ERR() to the probe caller.
Published: 2026-06-26
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During the probe of a Conexant audio codec, the ALSA HDA driver ignores the return value of snd_hda_jack_detect_enable_callback(). When this function fails, it returns an error pointer that must be checked with IS_ERR(), but the code does not. Continuing probing with an uninitialized jack detection callback can later cause the driver to dereference an invalid pointer, leading to a kernel crash. The weakness is a failure to verify error return values, which is a common root for null or invalid pointer dereferences within kernel code.

Affected Systems

All Linux kernel builds that include the hda/conexant driver and have not yet incorporated the commit adding the error check. The affected product is the generic Linux kernel, as represented by the CPE string cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*, and applies to every distribution using this driver before the patch.

Risk and Exploitability

The flaw requires the driver to load during hardware initialization, meaning it is not directly exploitable from user space without privileged hardware access. However, an attacker could trigger the driver to load—by, for example, resetting or power cycling the audio hardware—so that memory allocation fails and the driver registers an invalid callback. In that scenario the kernel would crash, causing a denial of service. The vulnerability lacks an EPSS score and is not listed as a known exploited vulnerability, indicating a moderate baseline exploitation likelihood; nevertheless, because the impact is a kernel crash, the risk is high for systems that cannot be updated immediately.

Generated by OpenCVE AI on June 26, 2026 at 22:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the Conexant HDA driver patch shown in the git commits listed in the references.
  • If an immediate kernel upgrade is not possible, blacklist or unload the hda_conexant module to prevent the driver from loading until the patch is applied.
  • After disabling or reloading the module, monitor kernel logs for jack‑related messages to confirm that the driver is not active and that no crash attempts occur.

Generated by OpenCVE AI on June 26, 2026 at 22:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 26 Jun 2026 20:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/conexant: Fix missing error check for jack detection In cx_probe(), the return value of snd_hda_jack_detect_enable_callback() is ignored. This function returns a pointer, and if it fails (e.g., due to memory allocation failure), it returns an error pointer which must be checked using IS_ERR(). If the registration fails, the driver continues to probe, but the jack detection callback will not be registered. This can lead to a kernel crash later when the driver attempts to handle jack events or accesses the uninitialized structure. Check the return value using IS_ERR() and propagate the error via PTR_ERR() to the probe caller.
Title ALSA: hda/conexant: Fix missing error check for jack detection
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-26T19:40:50.808Z

Reserved: 2026-06-09T07:44:35.396Z

Link: CVE-2026-53291

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-27T05:45:11Z

Weaknesses

No weakness.