CVE-2022-49618Published Feb 26, 2025 · Feb 26Updated Oct 28
pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
Linux
Medium5.5Fix available
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
pdesc could be null but still dereference pdesc->name and it will lead to a null pointer access. So we move a null check before dereference.
From the CVE record · Linux
The Linux kernel's Aspeed pinctrl code could dereference a NULL pointer in aspeed_pinmux_set_mux(). This could cause a NULL pointer access; the input does not specify how it can be triggered or whether authentication or user interaction is required.
Engineers running Linux kernels with Aspeed pinctrl should check their installations; affected versions are not specified.