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 : k230pinctrlprobe+0x1be/0x4fc
In k230pinctrlparsefunctions(), we attempt to retrieve the device pointer via info->pctldev->dev, but info->pctldev is only initialized after k230pinctrlparsedt() completes.
At the time of DT parsing, info->pctldev is still NULL, leading to the invalid dereference of info->pctldev->dev.
Use the already available device pointer from platformdevice instead of accessing through uninitialized pctldev.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46269.json",
"cna_assigner": "Linux"
}