pinctrl: single: fix potential NULL dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 571aec4df5b72a80f80d1e524da8fbd7ff525c98 · < bcc487001a15f71f103d102cba4ac8145d7a68f2| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: single: fix potential NULL dereference
Added checking of pointer "function" in pcs_set_mux(). pinmux_generic_get_function() can return NULL and the pointer "function" was dereferenced without checking against NULL.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel's pinctrl single driver could dereference a NULL function pointer in pcs_set_mux(). The input does not establish what an attacker could do or whether exploitation requires local access, authentication, or user interaction.
Teams running Linux kernels that include the pinctrl single driver should check their versions against the vendor advisory; affected versions were not provided.