0.0
NA
CVE-2026-139517
floppy: unregister platform device on add_disk failure
Description

In the Linux kernel, the following vulnerability has been resolved: floppy: unregister platform device on add_disk failure The change referenced by the Fixes tag reverted a previous fix because that fix added incorrect cleanup for the platform_device_register() failure path. However, reverting the whole change also removed the cleanup for a later failure path. If platform_device_register() succeeds but device_add_disk() fails, the current floppy platform device has already been registered and registered[drive] has been set. The common out_remove_drives path uses while (drive--), so it starts from the previous drive and does not unregister the current one. As a result, the platform device registered for the failing drive is leaked. Unregister the current platform device directly on the device_add_disk() failure path, where platform_device_register() is known to have succeeded. Leave the platform_device_register() failure path unchanged.

INFO

Published Date :

Nov. 30, 2026, 2:19 p.m.

Last Modified :

Nov. 30, 2026, 2:19 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-139517 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Unregister the platform device on device_add_disk() failure to prevent resource leaks.
  • Apply the kernel patch addressing the floppy driver issue.
  • Ensure proper cleanup of registered platform devices.
  • Verify device unregistration on failure paths.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139517 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139517 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139517 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139517 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: floppy: unregister platform device on add_disk failure The change referenced by the Fixes tag reverted a previous fix because that fix added incorrect cleanup for the platform_device_register() failure path. However, reverting the whole change also removed the cleanup for a later failure path. If platform_device_register() succeeds but device_add_disk() fails, the current floppy platform device has already been registered and registered[drive] has been set. The common out_remove_drives path uses while (drive--), so it starts from the previous drive and does not unregister the current one. As a result, the platform device registered for the failing drive is leaked. Unregister the current platform device directly on the device_add_disk() failure path, where platform_device_register() is known to have succeeded. Leave the platform_device_register() failure path unchanged.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139517.json">CVE-2026-139517</a>
    Added Reference https://git.kernel.org/stable/c/047f4071139458b7f8640762308b2512bcfe2939
    Added Reference https://git.kernel.org/stable/c/5033a6b4d3e2432e073579ddf799621e170a8460
    Added Reference https://git.kernel.org/stable/c/79b4b5b71dc695b6ada8be2260b768f9e64e83a6
    Added Reference https://git.kernel.org/stable/c/bb4e404e8fb75c159a2689573c307ca273986ab4
    Added Reference https://git.kernel.org/stable/c/e4767be464f2e48bdbe8e6b851e1f6553d4eafe5
    Added Reference https://git.kernel.org/stable/c/f1e72d80ad4ac5ff3573796d07bd1a1e74909f94
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.