MediumFix available
pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
Type: advisorySources: OSV
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.132, 5.15.56, 5.18.13
- CVEs
- CVE-2022-49618
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:13 UTC · Revision 1
Source evidence
pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
core-osv · Original sourcePublished 26 Feb 2025, 02:23 UTC
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.
osv:CVE-2022-49618
Kernel
Fixed versions: 5.10.132, 5.15.56, 5.18.13
Complete source record
{
"id": "d94970c4323f7e8f59bccbfc5e2c8163b2817da6245343690c5b6f92f9b9b2b7",
"url": "https://osv.dev/vulnerability/CVE-2022-49618",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()",
"summary": "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.",
"evidence": "osv:CVE-2022-49618",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.132",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.56",
"evidence": "/affected/1/ranges"
},
{
"value": "5.18.13",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2022-49618",
"aliases": [
"CVE-2022-49618"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "aa639e4437046a2519779932d8aa8842b517e20f"
},
{
"fixed": "ef1e38532f4b2f0f3b460e938a2e7076c3bed5ee"
},
{
"fixed": "3cb392b64304a05bf647e2e44efacd9a1f3c3c6a"
},
{
"fixed": "e162a24f1dd06c0dcae71f2565c9f3da2827b98e"
},
{
"fixed": "84a85d3fef2e75b1fe9fc2af6f5267122555a1ed"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49618.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.9.0"
},
{
"fixed": "5.10.132"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.56"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "5.18.13"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49618.json"
}
}
],
"modified": "2026-10-28T02:30:37.662279479Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/3cb392b64304a05bf647e2e44efacd9a1f3c3c6a",
"https://git.kernel.org/stable/c/84a85d3fef2e75b1fe9fc2af6f5267122555a1ed",
"https://git.kernel.org/stable/c/e162a24f1dd06c0dcae71f2565c9f3da2827b98e",
"https://git.kernel.org/stable/c/ef1e38532f4b2f0f3b460e938a2e7076c3bed5ee",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49618.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-49618",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49618.json"
}
},
"related_cves": [
{
"value": "CVE-2022-49618",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504541,
"published_at": "2025-02-26T02:23:37.185+00:00"
}