5.5medium
pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from aa639e4437046a2519779932d8aa8842b517e20f before ef1e38532f4b2f0f3b460e938a2e7076c3bed5ee, from aa639e4437046a2519779932d8aa8842b517e20f before 3cb392b64304a05bf647e2e44efacd9a1f3c3c6a, from aa639e4437046a2519779932d8aa8842b517e20f before e162a24f1dd06c0dcae71f2565c9f3da2827b98e, from aa639e4437046a2519779932d8aa8842b517e20f before 84a85d3fef2e75b1fe9fc2af6f5267122555a1ed, 5.9 Not affected: before 5.9, from 5.10.132 up to 5.10.*, from 5.15.56 up to 5.15.*, from 5.18.13 up to 5.18.*, from 5.19 up to * | CVE List |
| linux linux_kernel | before 5.10.132, from 5.11 before 5.15.56, from 5.16 before 5.18.13, 5.19 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: aspeed: Se corrige la posible desreferenciación de NULL en aspeed_pinmux_set_mux() pdesc podría ser nulo, pero aún así desreferenciar pdesc->name y esto conducirá a un acceso a un puntero nulo. Por lo tanto, movemos una verificación de valores nulos antes de la desreferenciación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49618 changed 2026-08-15 | CVE Terms of Use |
| NVD | CVE-2022-49618 changed 2026-08-15 | Public domain |