Skip to main content
← All vulnerabilities
CVE-2026-46269

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.16, 6.17
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published

Affected versions

  • Linux Linux

    From 6.15.10 · fixed in 6.16; From 6.16.1 · fixed in 6.17

  • Linux Linux

    6.17

References 3

git.kernel.org