1. Archivio CVE
  2. 2026
  3. CVE-2026-99756

CVE-2026-99756

– Gravità non disponibile CVSS n/d

Descrizione

In the Linux kernel, the following vulnerability has been resolved: btrfs: prevent deleting the wrong subvolume by ID When deleting a subvolume by ID, btrfs_ioctl_snap_destroy() first resolves the requested ID to a name, then looks up that name again under the parent directory lock. A concurrent rename can change which subvolume is associated with the name between these operations. Since the deletion path does not verify the ID of the resolved subvolume, it can delete a different subvolume while leaving the requested one intact. This was reproduced by repeatedly exchanging the names of two subvolumes using renameat2(RENAME_EXCHANGE) while deleting one of them by ID. The wrong subvolume was deleted in 9 out of 14 independent tests. Fix this by checking that the resolved subvolume ID matches the requested ID while holding the parent directory lock. Return -EAGAIN on a mismatch so that userspace can retry the operation instead of being told that the requested subvolume does not exist.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.7 < 6.18.65 –
linux linux kernel >= 5.7 < 7.3.5 –
linux linux kernel >= 5.7 < 7.4-rc2 –
linux linux kernel >= 5.7 < 5.10.275 –
linux linux kernel >= 5.7 < 5.15.226 –
linux linux kernel >= 5.7 < 6.1.193 –
linux linux kernel >= 5.7 < 6.6.163 –
linux linux kernel >= 5.7 < 6.12.119 –
Tutte le 24.085 vulnerabilità di Linux Kernel