CVE-2026-53291: ALSA: hda/conexant: Fix missing error check for jack detection
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-53291 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.15.149 with commit f13b8cb5a6920ad98b751d3134686f29810577d4 and fixed in 5.15.209 with commit 49c2c5924552e1d2f8b635dee663abebbb7cf63b Issue introduced in 6.1.77 with commit 2cb659ef0ac744545499e7c37665b276d9e405da and fixed in 6.1.175 with commit a2a33e87a2ffce3046c574d24eec4390c27c9365 Issue introduced in 6.6.16 with commit 24d748413cc4e1d97074bae1f335d32d30912f10 and fixed in 6.6.141 with commit d68f753d89f4ef6e410d7e8b7e8ab2fdde921b80 Issue introduced in 6.8 with commit 7aeb259086487417f0fecf66e325bee133e8813a and fixed in 6.12.91 with commit dd110cc00cf854a8ecd8d003127a4178c28574ea Issue introduced in 6.8 with commit 7aeb259086487417f0fecf66e325bee133e8813a and fixed in 6.18.33 with commit f837c7b85143a7c54140ff41ad5c076b73cd9933 Issue introduced in 6.8 with commit 7aeb259086487417f0fecf66e325bee133e8813a and fixed in 7.0.10 with commit 1da5c73f3793b224696617a2a21def7500ba18d6 Issue introduced in 6.8 with commit 7aeb259086487417f0fecf66e325bee133e8813a and fixed in 7.1 with commit b0e2333a231107adedd38c6fcfe1adc6162716fc Issue introduced in 6.7.4 with commit 4a28302b2c681e3cf85e3b41231fff363c4c6a0e
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53291
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/hda/codecs/conexant.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/49c2c5924552e1d2f8b635dee663abebbb7cf63b https://git.kernel.org/stable/c/a2a33e87a2ffce3046c574d24eec4390c27c9365 https://git.kernel.org/stable/c/d68f753d89f4ef6e410d7e8b7e8ab2fdde921b80 https://git.kernel.org/stable/c/dd110cc00cf854a8ecd8d003127a4178c28574ea https://git.kernel.org/stable/c/f837c7b85143a7c54140ff41ad5c076b73cd9933 https://git.kernel.org/stable/c/1da5c73f3793b224696617a2a21def7500ba18d6 https://git.kernel.org/stable/c/b0e2333a231107adedd38c6fcfe1adc6162716fc