pinctrl: canaan: k230: Fix NULL pointer dereference when parsing devicetree

Summary

CVECVE-2026-46269
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-03 18:16:28 UTC
Updated2026-06-03 18:16:28 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected d94a32ac688f953dc9a9f12b5b4139ecad841bbb 3c7d637bfc3dfbd6471c68bd767f7eb8b5b09eba git Not specified
CNA Linux Linux affected d94a32ac688f953dc9a9f12b5b4139ecad841bbb 1d0d361f4dbc2bb2003594f84e4b101fc6b508c0 git Not specified
CNA Linux Linux affected d94a32ac688f953dc9a9f12b5b4139ecad841bbb d8c128fb6c2277d95f3f6a4ce28b82c8370031f6 git Not specified
CNA Linux Linux affected 02c1deb1bff2b6d242e29a51e56107495979a2b8 git Not specified
CNA Linux Linux affected 0ec03251d01494ef207089b5bd626becfd05fd86 git Not specified
CNA Linux Linux affected 6.15.10 6.16 semver Not specified
CNA Linux Linux affected 6.16.1 6.17 semver Not specified
CNA Linux Linux affected 6.17 Not specified
CNA Linux Linux unaffected 6.17 semver Not specified
CNA Linux Linux unaffected 6.18.14 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.4 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1d0d361f4dbc2bb2003594f84e4b101fc6b508c0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d8c128fb6c2277d95f3f6a4ce28b82c8370031f6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3c7d637bfc3dfbd6471c68bd767f7eb8b5b09eba 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report