ALSA: hda/conexant: Fix missing error check for jack detection
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.209, 6.1.175, 6.6.141, 6.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
Affected versions
- Linux Linux
From 5.15.149 · fixed in 5.15.209; From 6.1.77 · fixed in 6.1.175; From 6.6.16 · fixed in 6.6.141; From 6.7.4 · fixed in 6.8
- Linux Linux
6.8
References 7
git.kernel.org
- stable/c/49c2c5924552e1d2f8b635dee663abebbb7cf63b
- stable/c/a2a33e87a2ffce3046c574d24eec4390c27c9365
- stable/c/d68f753d89f4ef6e410d7e8b7e8ab2fdde921b80
- stable/c/dd110cc00cf854a8ecd8d003127a4178c28574ea
- stable/c/f837c7b85143a7c54140ff41ad5c076b73cd9933
- stable/c/1da5c73f3793b224696617a2a21def7500ba18d6
- stable/c/b0e2333a231107adedd38c6fcfe1adc6162716fc