# CVE-2026-139517

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139517/
- Yayımlanma: 2026-11-30T17:19:27+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139517)
