CVE-2026-63907·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: uio: uio_pci_generic_sva: fix double free of devm_kzalloc() memory uio_pci_sva allocates struct uio_pci_sva_dev with devm_kzalloc() in probe(), but then calls kfree(udev) both on the probe() error path (label out_free) and again in remove(). Because devm_kzalloc() allocations are devres-managed and are freed automatically when the device is detached (including after a failing probe() and during driver unbind), the explicit kfree() can lead to a double free. If probe() fails after devm_kzalloc(), the error path frees udev and devres cleanup will free it again when the core unwinds the partially bound device. On normal driver removal, remove() frees udev and devres will free it again when the device is detached. This issue was identified by a static analysis tool I developed and confirmed by manual review. Fix by removing the manual kfree() calls and dropping the now-unused label.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.15% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-63907 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.15%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
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 resolve this double-free vulnerability in the uio_pci_generic_sva driver. The issue causes memory to be freed twice when the device probe fails or during driver removal, potentially leading to kernel crashes or memory corruption. Apply the kernel update through your distribution's package manager and reboot your system to ensure the patched version is active.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check the installed kernel version with `uname -r` and compare against the affected range 6.19 to 7.0.11
- Step 2: Verify if uio_pci_generic driver is loaded by running `lsmod | grep uio` to confirm exposure
- Step 3: Search kernel logs for double-free errors with `dmesg | grep -i 'double free\|kernel BUG\|use-after-free'`
- Step 4: After applying the patch, verify the new kernel is running with `uname -r` and confirm it shows version 7.0.12 or later
FAQ
What is CVE-2026-63907?
CVE-2026-63907 is a double-free vulnerability in the Linux kernel's uio_pci_generic_sva driver where devm_kzalloc()-allocated memory is manually freed twice—once during error handling and again during device cleanup—leading to potential kernel crashes or memory corruption.
Is CVE-2026-63907 being actively exploited?
No, CVE-2026-63907 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2026-63907?
Linux kernel versions 6.19 through 7.0.11 are vulnerable; kernel 7.0.12 and later versions include the fix.
How do I check if my server is vulnerable to CVE-2026-63907?
Run `uname -r` to see your kernel version. If it shows a version between 6.19 and 7.0.11, your system is vulnerable. Additionally, check if the uio_pci_generic driver is in use with `lsmod | grep uio_pci_generic`.
Does Defensia detect CVE-2026-63907?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-63907 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-63907. Free for 1 server.
Get started free