Security mailing lists by PureSourceCode

CVE-2026-99756

not scored yet

btrfs: prevent deleting the wrong subvolume by ID

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.

Published
20 Nov 2026
Last modified
23 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 949964c928430a42e0d4f514d888a58a201b6fcb, < d75be841c195dd64bab6a8a28cde944ba1670ae0; >= 949964c928430a42e0d4f514d888a58a201b6fcb, < d70a57571d9b248c36830329c36a17a87e130485; >= 949964c928430a42e0d4f514d888a58a201b6fcb, < bd5fe32d98fd2a09753034c867a138bd0699d57d; >= 949964c928430a42e0d4f514d888a58a201b6fcb, < 4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4; >= 949964c928430a42e0d4f514d888a58a201b6fcb, < 9e7dda14b480bf4c515a6eecc516277f290ff2ee; >= 949964c928430a42e0d4f514d888a58a201b6fcb, < 8e64f41414a2e0ec767dfb317103b931b4be0d64; >= 949964c928430a42e0d4f514d888a58a201b6fcb, < db399899dbac590d7d124b6896bd113916e7ab09; >= 949964c928430a42e0d4f514d888a58a201b6fcb, < 1960146913b31b288ed2cd607d103ee3b41681d4 d75be841c195dd64bab6a8a28cde944ba1670ae0, d70a57571d9b248c36830329c36a17a87e130485, bd5fe32d98fd2a09753034c867a138bd0699d57d, 4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4, 9e7dda14b480bf4c515a6eecc516277f290ff2ee, 8e64f41414a2e0ec767dfb317103b931b4be0d64, db399899dbac590d7d124b6896bd113916e7ab09, 1960146913b31b288ed2cd607d103ee3b41681d4
CVE List Linux Linux = 5.7

References

History

  • 25 Nov 2026 20:33 UTC · CVE List: first stored (published 20 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 20 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.