CVE-2026-63964·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: ccg: reject firmware images without a ':' record header do_flash() locates the first .cyacd record with p = strnchr(fw->data, fw->size, ':'); while (p < eof) { s = strnchr(p + 1, eof - p - 1, ':'); ... } If the firmware image contains no ':' byte, strnchr() returns NULL. NULL compares less than the valid kernel pointer eof, so the loop body runs and strnchr() is called with p + 1 == (void *)1 and a length of roughly (unsigned long)eof, causing a wonderful crash. The not_signed_fw fallthrough earlier in do_flash() and the chip-state branches in ccg_fw_update_needed() allow an unsigned blob to reach this loop, so a root user who can place a crafted file under /lib/firmware and write the do_flash sysfs attribute can trigger the oops. Bail out with -EINVAL when the initial strnchr() returns NULL.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.12
- Published
Affected versions
From: 6.19
Until: 7.0.12
Fixed in: 7.0.12
How to fix this CVE
Update your Linux kernel to version 7.0.12 or later to patch a USB Type-C firmware loading vulnerability that can cause kernel crashes when malformed firmware images are processed. This fix adds proper validation of firmware file format before attempting to parse CYACD records, preventing a NULL pointer dereference in the ucsi_ccg driver. Prioritize this update if you manage systems where unprivileged users can write to /lib/firmware or if you run kernel versions 6.19 through 7.0.11.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check kernel version: uname -r | grep -E '^(6\.(19|[2-9][0-9])|7\.0\.([0-9]|1[0-1]))' && echo 'VULNERABLE' || echo 'NOT VULNERABLE'
- Verify USB Type-C UCSI driver is loaded: lsmod | grep ucsi_ccg && echo 'ucsi_ccg active' || echo 'Driver not loaded'
- Check /lib/firmware permissions to identify if non-root users can write firmware: ls -la /lib/firmware | head -20
- Confirm patch is applied by checking kernel build version: cat /proc/version | grep -o 'version [^ ]*' and verify it matches 7.0.12 or later
FAQ
What is CVE-2026-63964?
This vulnerability exists in the Linux kernel's USB Type-C UCSI CCG firmware loader, which crashes when processing firmware images missing required CYACD record headers. The strnchr() function returns NULL for malformed firmware, but the code does not validate this before dereferencing the pointer, leading to kernel panic.
Is CVE-2026-63964 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, root users with write access to /lib/firmware can trigger the crash.
What versions of Kernel are affected by CVE-2026-63964?
Linux kernel versions 6.19 through 7.0.11 are vulnerable. Kernel 7.0.12 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2026-63964?
Run: uname -r && if [[ $(uname -r) =~ ^6\.(19|[2-9][0-9])|7\.0\.[0-9]|7\.0\.1[01] ]]; then echo 'VULNERABLE'; else echo 'PATCHED'; fi
Does Defensia detect CVE-2026-63964?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-63964 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2f395ca1263bd181995eb829f5943a83a20db213
- https://git.kernel.org/stable/c/3f432b8203066c26770fe6ea591361f10021dd6b
- https://git.kernel.org/stable/c/6526f8684f72391138353642af908803ba70795e
- https://git.kernel.org/stable/c/a38ed87818b2419090fb1a6338ddce6842b65dfa
- https://git.kernel.org/stable/c/b41dfc033fe594e152648050e95b9489cd53e9e3
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-63964. Free for 1 server.
Get started free