CVE-2026-46269 pinctrl: canaan: k230: Fix NULL pointer dereference when parsing devicetree

Medium 5.5 Published Updated

A NULL pointer dereference in the Canaan K230 pinctrl driver causes a kernel crash during device tree parsing, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-46269?

CVE-2026-46269 is a medium-severity vulnerability in Linux kernel, published on 3 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2026-46269?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-46269?

Apply the vendor's patch.

Is CVE-2026-46269 being exploited?

There is no known exploitation of CVE-2026-46269 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-46269, DEBIAN-CVE-2026-46269, GHSA-qm9x-frx6-xcv6, UBUNTU-CVE-2026-46269.

Is CVE-2026-46269 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free