# CVE-2026-80648: pinctrl: spacemit: fix NULL check in spacemit\_pin\_set\_config

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-28T06:48:57.479Z
- **Modified:** 2026-08-28T08:16:49.800Z

## Who should check

- Anyone running Linux \>= a83c29e1d145cca5240952100acd1cd60f25fb5f, \< 7a551951ebeb5b3f05bdb04a73d4593869c984c4; \>= a83c29e1d145cca5240952100acd1cd60f25fb5f, \< d3b53f0eda26e442ff97016ad4a0724db8fd3781; \>= a83c29e1d145cca5240952100acd1cd60f25fb5f, \< 09c816e5c4d3a8d6d6e4b7537433e5e98505d934
- Anyone running Linux 6.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

pinctrl: spacemit: fix NULL check in spacemit\_pin\_set\_config

spacemit\_pin\_set\_config() looks up the per-pin descriptor with
spacemit\_get\_pin() then checks the wrong variable for failure:

	const struct spacemit\_pin \*spin = spacemit\_get\_pin(pctrl, pin);
	...
	if (!pin)
		return -EINVAL;

	reg = spacemit\_pin\_to\_reg(pctrl, spin-\>pin);

pin is an unsigned int pin id, where 0 (GPIO\_0 / gmac0\_rxdv on K3) is a
valid pin, so rejecting it here drops the PAD config write for the first
pin of every group. On K3 Pico-ITX the GMAC RGMII group lists pin 0 as
its first entry, so its drive-strength / bias configuration was silently
ignored.

The intended guard is against spacemit\_get\_pin() returning NULL when the
pin id isn't in the SoC's pin table. Check spin instead, which both
restores PAD setup for pin 0 and prevents a NULL deref on spin-\>pin.

## Affected and fixed versions

- Linux: \>= a83c29e1d145cca5240952100acd1cd60f25fb5f, \< 7a551951ebeb5b3f05bdb04a73d4593869c984c4; \>= a83c29e1d145cca5240952100acd1cd60f25fb5f, \< d3b53f0eda26e442ff97016ad4a0724db8fd3781; \>= a83c29e1d145cca5240952100acd1cd60f25fb5f, \< 09c816e5c4d3a8d6d6e4b7537433e5e98505d934 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 09c816e5c4d3a8d6d6e4b7537433e5e98505d934 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80648. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80648.md
Affected: Linux >= a83c29e1d145cca5240952100acd1cd60f25fb5f, < 7a551951ebeb5b3f05bdb04a73d4593869c984c4; >= a83c29e1d145cca5240952100acd1cd60f25fb5f, < d3b53f0eda26e442ff97016ad4a0724db8fd3781; >= a83c29e1d145cca5240952100acd1cd60f25fb5f, < 09c816e5c4d3a8d6d6e4b7537433e5e98505d934; Linux 6.13
Fixed in: Linux 7a551951ebeb5b3f05bdb04a73d4593869c984c4, Linux 09c816e5c4d3a8d6d6e4b7537433e5e98505d934

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80648 being exploited?

There is no confirmed exploitation: CVE-2026-80648 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80648?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80648?

Linux \>= a83c29e1d145cca5240952100acd1cd60f25fb5f, \< 7a551951ebeb5b3f05bdb04a73d4593869c984c4; \>= a83c29e1d145cca5240952100acd1cd60f25fb5f, \< d3b53f0eda26e442ff97016ad4a0724db8fd3781; \>= a83c29e1d145cca5240952100acd1cd60f25fb5f, \< 09c816e5c4d3a8d6d6e4b7537433e5e98505d934; Linux 6.13.

### Is there a fix for CVE-2026-80648?

Yes. Fixed in Linux 7a551951ebeb5b3f05bdb04a73d4593869c984c4, Linux 09c816e5c4d3a8d6d6e4b7537433e5e98505d934. Upgrade Linux to 09c816e5c4d3a8d6d6e4b7537433e5e98505d934 or later.

### How do I check if I'm affected by CVE-2026-80648?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/7a551951ebeb5b3f05bdb04a73d4593869c984c4>
- other: <https://git.kernel.org/stable/c/d3b53f0eda26e442ff97016ad4a0724db8fd3781>
- other: <https://git.kernel.org/stable/c/09c816e5c4d3a8d6d6e4b7537433e5e98505d934>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80648>

HTML: <https://flawdb.com/CVE-2026-80648> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80648>
