# CVE-2022-49618: pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-02-26T02:23:37.185Z
- Modified: 2026-08-15T13:17:25.750Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: before 5.10.132; from 5.11 before 5.15.56; from 5.16 before 5.18.13; 5.19

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ef1e38532f4b2f0f3b460e938a2e7076c3bed5ee> (patch)
- <https://git.kernel.org/stable/c/3cb392b64304a05bf647e2e44efacd9a1f3c3c6a> (patch)
- <https://git.kernel.org/stable/c/e162a24f1dd06c0dcae71f2565c9f3da2827b98e> (patch)
- <https://git.kernel.org/stable/c/84a85d3fef2e75b1fe9fc2af6f5267122555a1ed> (patch)

## Sources

- CVE List: [CVE-2022-49618](https://www.cve.org/CVERecord?id=CVE-2022-49618), CVE Terms of Use, modified 2026-08-15
- NVD: [CVE-2022-49618](https://nvd.nist.gov/vuln/detail/CVE-2022-49618), Public domain, modified 2026-08-15

---

Page: https://cve.day/CVE-2022-49618 · Whole record: https://cve.day/CVE-2022-49618.json · Rebuilt by cve.day 2026-11-25T22:58:20.762Z
