PoC Monitor
← All CVEs
CVE-2026-63907published 19 Jul 2026 14:55 UTCData: JSON · API

Linux

uio: uio_pci_generic_sva: fix double free of devm_kzalloc() memory

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by NVD · CWE-415
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 3397c3cd859a2c51962ad032dcf97961d42f9db2, < e344865bfca4eb37ed8d7ac5917226e49fcec7ce
  • >= 3397c3cd859a2c51962ad032dcf97961d42f9db2, < f74c8696f14149d5e43cc28b015326a759c48f00

Fixed in e344865bfca4eb37ed8d7ac5917226e49fcec7ce, f74c8696f14149d5e43cc28b015326a759c48f00

Linux Linux
  • 6.19

Fixed in 0, 7.0.12, 7.1

Mitigation

Upgrade Linux to e344865bfca4eb37ed8d7ac5917226e49fcec7ce or f74c8696f14149d5e43cc28b015326a759c48f00 or later.

Upgrade Linux to 0 or 7.0.12 or 7.1 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published19 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.