CVE-2026-53291
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
ALSA: hda/conexant: Fix ontbrekende foutcontrole voor krikdetectie
In cx_probe(), de retourwaarde van snd_hda_jack_detect_enable_callback()
wordt genegeerd. Deze functie retourneert een aanwijzer en als deze mislukt (bijv.
naar geheugentoewijzingsfout), retourneert het een foutaanwijzer die
worden gecontroleerd met behulp van IS_ERR(). Als de registratie mislukt, blijft de bestuurder sonderen, maar de krik
detectie callback wordt niet geregistreerd. Dit kan leiden tot een kernel
crash later wanneer de bestuurder probeert om krikgebeurtenissen of toegang af te handelen
de niet-geïnitialiseerde structuur. Controleer de retourwaarde met behulp van IS_ERR() en verspreid de fout via
PTR_ERR() naar de beller van de sonde.
Origineel (Engels) tonen
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.