CVE-2022-49618
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelbefore 5.10.132, from 5.11 before 5.15.56, from 5.16 before 5.18.13, 5.19NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

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

SourceRecordLicence
CVE ListCVE-2022-49618 changed 2026-08-15CVE Terms of Use
NVDCVE-2022-49618 changed 2026-08-15Public domain