What’s Vulnerable › Vulnerabilities
CVE-2026-46269: pinctrl: canaan: k230: Fix NULL pointer dereference when parsing devicetree
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-03 · updated 2026-07-22
- Weakness: CWE-476
Description
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.
Affected products
- Linux kernel: from 6.15.10 before 6.16; from 6.16.1 before 6.18.14; from 6.19 before 6.19.4 — fixed in 6.16, 6.18.14, 6.19.4
How to fix
Upgrade to a fixed version: Linux kernel 6.16, 6.18.14, 6.19.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1d0d361f4dbc2bb2003594f84e4b101fc6b508c0
- https://git.kernel.org/stable/c/3c7d637bfc3dfbd6471c68bd767f7eb8b5b09eba
- https://git.kernel.org/stable/c/d8c128fb6c2277d95f3f6a4ce28b82c8370031f6
Get alerted when CVE-2026-46269 or the next vulnerability affects your stack