CVE-2026-46269 (GCVE-0-2026-46269)
Vulnerability from cvelistv5 – Published: 2026-06-03 15:50 – Updated: 2026-06-03 15:50
VLAI
Title
pinctrl: canaan: k230: Fix NULL pointer dereference when parsing devicetree
Summary
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: canaan: k230: Fix NULL pointer dereference when parsing devicetree
When probing the k230 pinctrl driver, the kernel triggers a NULL pointer
dereference. The crash trace showed:
[ 0.732084] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000068
[ 0.740737] ...
[ 0.776296] epc : k230_pinctrl_probe+0x1be/0x4fc
In k230_pinctrl_parse_functions(), we attempt to retrieve the device
pointer via info->pctl_dev->dev, but info->pctl_dev is only initialized
after k230_pinctrl_parse_dt() completes.
At the time of DT parsing, info->pctl_dev is still NULL, leading to
the invalid dereference of info->pctl_dev->dev.
Use the already available device pointer from platform_device
instead of accessing through uninitialized pctl_dev.
Severity
No CVSS data available.
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
d94a32ac688f953dc9a9f12b5b4139ecad841bbb , < 3c7d637bfc3dfbd6471c68bd767f7eb8b5b09eba
(git)
Affected: d94a32ac688f953dc9a9f12b5b4139ecad841bbb , < 1d0d361f4dbc2bb2003594f84e4b101fc6b508c0 (git) Affected: d94a32ac688f953dc9a9f12b5b4139ecad841bbb , < d8c128fb6c2277d95f3f6a4ce28b82c8370031f6 (git) Affected: 02c1deb1bff2b6d242e29a51e56107495979a2b8 (git) Affected: 0ec03251d01494ef207089b5bd626becfd05fd86 (git) Affected: 6.15.10 , < 6.16 (semver) Affected: 6.16.1 , < 6.17 (semver) |
|
| Linux | Linux |
Affected:
6.17
Unaffected: 0 , < 6.17 (semver) Unaffected: 6.18.14 , ≤ 6.18.* (semver) Unaffected: 6.19.4 , ≤ 6.19.* (semver) Unaffected: 7.0 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/pinctrl/pinctrl-k230.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "3c7d637bfc3dfbd6471c68bd767f7eb8b5b09eba",
"status": "affected",
"version": "d94a32ac688f953dc9a9f12b5b4139ecad841bbb",
"versionType": "git"
},
{
"lessThan": "1d0d361f4dbc2bb2003594f84e4b101fc6b508c0",
"status": "affected",
"version": "d94a32ac688f953dc9a9f12b5b4139ecad841bbb",
"versionType": "git"
},
{
"lessThan": "d8c128fb6c2277d95f3f6a4ce28b82c8370031f6",
"status": "affected",
"version": "d94a32ac688f953dc9a9f12b5b4139ecad841bbb",
"versionType": "git"
},
{
"status": "affected",
"version": "02c1deb1bff2b6d242e29a51e56107495979a2b8",
"versionType": "git"
},
{
"status": "affected",
"version": "0ec03251d01494ef207089b5bd626becfd05fd86",
"versionType": "git"
},
{
"lessThan": "6.16",
"status": "affected",
"version": "6.15.10",
"versionType": "semver"
},
{
"lessThan": "6.17",
"status": "affected",
"version": "6.16.1",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/pinctrl/pinctrl-k230.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.17"
},
{
"lessThan": "6.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.14",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"version": "6.19.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.14",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.19.4",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.15.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.16.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: canaan: k230: Fix NULL pointer dereference when parsing devicetree\n\nWhen probing the k230 pinctrl driver, the kernel triggers a NULL pointer\ndereference. The crash trace showed:\n[ 0.732084] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000068\n[ 0.740737] ...\n[ 0.776296] epc : k230_pinctrl_probe+0x1be/0x4fc\n\nIn k230_pinctrl_parse_functions(), we attempt to retrieve the device\npointer via info-\u003epctl_dev-\u003edev, but info-\u003epctl_dev is only initialized\nafter k230_pinctrl_parse_dt() completes.\n\nAt the time of DT parsing, info-\u003epctl_dev is still NULL, leading to\nthe invalid dereference of info-\u003epctl_dev-\u003edev.\n\nUse the already available device pointer from platform_device\ninstead of accessing through uninitialized pctl_dev."
}
],
"providerMetadata": {
"dateUpdated": "2026-06-03T15:50:11.254Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/3c7d637bfc3dfbd6471c68bd767f7eb8b5b09eba"
},
{
"url": "https://git.kernel.org/stable/c/1d0d361f4dbc2bb2003594f84e4b101fc6b508c0"
},
{
"url": "https://git.kernel.org/stable/c/d8c128fb6c2277d95f3f6a4ce28b82c8370031f6"
}
],
"title": "pinctrl: canaan: k230: Fix NULL pointer dereference when parsing devicetree",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-46269",
"datePublished": "2026-06-03T15:50:11.254Z",
"dateReserved": "2026-05-13T15:03:33.109Z",
"dateUpdated": "2026-06-03T15:50:11.254Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2026-46269\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-03T18:16:28.593\",\"lastModified\":\"2026-06-03T18:16:28.593\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\npinctrl: canaan: k230: Fix NULL pointer dereference when parsing devicetree\\n\\nWhen probing the k230 pinctrl driver, the kernel triggers a NULL pointer\\ndereference. The crash trace showed:\\n[ 0.732084] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000068\\n[ 0.740737] ...\\n[ 0.776296] epc : k230_pinctrl_probe+0x1be/0x4fc\\n\\nIn k230_pinctrl_parse_functions(), we attempt to retrieve the device\\npointer via info-\u003epctl_dev-\u003edev, but info-\u003epctl_dev is only initialized\\nafter k230_pinctrl_parse_dt() completes.\\n\\nAt the time of DT parsing, info-\u003epctl_dev is still NULL, leading to\\nthe invalid dereference of info-\u003epctl_dev-\u003edev.\\n\\nUse the already available device pointer from platform_device\\ninstead of accessing through uninitialized pctl_dev.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1d0d361f4dbc2bb2003594f84e4b101fc6b508c0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3c7d637bfc3dfbd6471c68bd767f7eb8b5b09eba\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d8c128fb6c2277d95f3f6a4ce28b82c8370031f6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…