ASoC: rt7*-sdw: harden jack_detect_handler
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.15.565.18.135.19In the Linux kernel, the following vulnerability has been resolved:
ASoC: rt7*-sdw: harden jack_detect_handler
Realtek headset codec drivers typically check if the card is instantiated before proceeding with the jack detection.
The rt700, rt711 and rt711-sdca are however missing a check on the card pointer, which can lead to NULL dereferences encountered in driver bind/unbind tests.
From the CVE record · Linux
The rt700, rt711 and rt711-sdca headset codec drivers lack a card-pointer check in jack detection. This can cause a NULL pointer dereference during driver bind/unbind tests; the input does not establish an attacker path, authentication requirement or user-interaction requirement.
Teams running Linux kernels with the rt700, rt711 or rt711-sdca drivers should check whether their kernel is affected; affected versions were not provided.