CVE-2025-38655 pinctrl: canaan: k230: add NULL check in DT parse
A missing NULL check in the Canaan K230 pinctrl driver can cause a kernel crash if a specific device tree property is absent.
- 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-2025-38655?
CVE-2025-38655 is a medium-severity vulnerability in Linux kernel, published on 22 Aug 2025. 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: add NULL check in DT parse
Add a NULL check for the return value of of_get_property() when retrieving the "pinmux" property in the group parser. This avoids a potential NULL pointer dereference if the property is missing from the device tree node.
Also fix a typo ("sintenel") in the device ID match table comment, correcting it to "sentinel".
Weakness: CWE-476
Which versions are affected by CVE-2025-38655?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38655?
Apply the vendor's patch.
Is CVE-2025-38655 being exploited?
There is no known exploitation of CVE-2025-38655 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-38655, GHSA-24xm-58mr-jc27, UBUNTU-CVE-2025-38655.