Junglewise Threat Intelligence

CVE-2026-64376: Linux Kernel device reference leak in firmware_upload_register

CVE-2026-64376 · Severity: info · Published 2026-07-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's firmware loading mechanism. When the system fails to register a new firmware upload interface, it may fail to properly release internal memory references. This can lead to a memory leak, potentially allowing a local user to exhaust system resources over time or causing instability in system operations.

Technical details

A reference counting error exists in 'drivers/base/firmware_loader/sysfs_upload.c' within the 'firmware_upload_register()' function. When 'fw_create_instance()' succeeds, it initializes a 'struct device', but if a subsequent call to 'alloc_lookup_fw_priv()' fails, the error path directly frees the 'fw_sysfs' structure instead of calling 'put_device()'. This results in a reference leak of the embedded device object. An attacker with the ability to repeatedly trigger this registration failure could cause a kernel memory leak. The issue has been resolved by ensuring 'put_device()' is called in the failure path to allow the device core to manage the object's lifetime correctly.

Affected products

  • Linux Linux Kernel 5.19 to 6.1.178, 6.6.145, and other stable branches

Timeline

  • 2026-07-25: disclosed
  • 2026-07-25: advisory

References

Related threats