CVE-2026-139517
floppy: unregister platform device on add_disk failure
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 047f4071139458b7f8640762308b2512bcfe2939; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 79b4b5b71dc695b6ada8be2260b768f9e64e83a6; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < bb4e404e8fb75c159a2689573c307ca273986ab4; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < e4767be464f2e48bdbe8e6b851e1f6553d4eafe5; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 5033a6b4d3e2432e073579ddf799621e170a8460; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < f1e72d80ad4ac5ff3573796d07bd1a1e74909f94
- Anyone running Linux 5.16
Vulnerability facts
- Affected
- Linux >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 047f4071139458b7f8640762308b2512bcfe2939; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 79b4b5b71dc695b6ada8be2260b768f9e64e83a6; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < bb4e404e8fb75c159a2689573c307ca273986ab4; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < e4767be464f2e48bdbe8e6b851e1f6553d4eafe5; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 5033a6b4d3e2432e073579ddf799621e170a8460; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < f1e72d80ad4ac5ff3573796d07bd1a1e74909f94; Linux 5.16
- Fixed in
- Linux 047f4071139458b7f8640762308b2512bcfe2939, Linux 79b4b5b71dc695b6ada8be2260b768f9e64e83a6, Linux 5033a6b4d3e2432e073579ddf799621e170a8460
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 047f4071139458b7f8640762308b2512bcfe2939; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 79b4b5b71dc695b6ada8be2260b768f9e64e83a6; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < bb4e404e8fb75c159a2689573c307ca273986ab4; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < e4767be464f2e48bdbe8e6b851e1f6553d4eafe5; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 5033a6b4d3e2432e073579ddf799621e170a8460; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < f1e72d80ad4ac5ff3573796d07bd1a1e74909f94 | — | cvelist |
| Linux | 5.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139517. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139517.md Affected: Linux >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 047f4071139458b7f8640762308b2512bcfe2939; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 79b4b5b71dc695b6ada8be2260b768f9e64e83a6; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < bb4e404e8fb75c159a2689573c307ca273986ab4; >= 47d34aa2d211e9cef61dd85… Fixed in: Linux 047f4071139458b7f8640762308b2512bcfe2939, Linux 79b4b5b71dc695b6ada8be2260b768f9e64e83a6, Linux 5033a6b4d3e2432e073579ddf799621e170a8460 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/047f4071139458b7f8640762308b2512bcfe2939
- https://git.kernel.org/stable/c/79b4b5b71dc695b6ada8be2260b768f9e64e83a6
- https://git.kernel.org/stable/c/bb4e404e8fb75c159a2689573c307ca273986ab4
- https://git.kernel.org/stable/c/e4767be464f2e48bdbe8e6b851e1f6553d4eafe5
- https://git.kernel.org/stable/c/5033a6b4d3e2432e073579ddf799621e170a8460
- https://git.kernel.org/stable/c/f1e72d80ad4ac5ff3573796d07bd1a1e74909f94
FAQ
Is CVE-2026-139517 being exploited?
There is no confirmed exploitation: CVE-2026-139517 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139517?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-139517?
Linux >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 047f4071139458b7f8640762308b2512bcfe2939; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 79b4b5b71dc695b6ada8be2260b768f9e64e83a6; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < bb4e404e8fb75c159a2689573c307ca273986ab4; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < e4767be464f2e48bdbe8e6b851e1f6553d4eafe5; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < 5033a6b4d3e2432e073579ddf799621e170a8460; >= 47d34aa2d211e9cef61dd85b7b0011c9f61dd0ae, < f1e72d80ad4ac5ff3573796d07bd1a1e74909f94; Linux 5.16.
Is there a fix for CVE-2026-139517?
Yes. Fixed in Linux 047f4071139458b7f8640762308b2512bcfe2939, Linux 79b4b5b71dc695b6ada8be2260b768f9e64e83a6, Linux 5033a6b4d3e2432e073579ddf799621e170a8460. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-139517?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |