CVE-2026-139433

Source
https://cve.org/CVERecord?id=CVE-2026-139433
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139433.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139433
Downstream
Published
2026-11-30T13:34:42Z
Modified
2026-11-30T15:02:28Z
Summary
btrfs: roll back sprout setup after device add failure
Details

In the Linux kernel, the following vulnerability has been resolved:

btrfs: roll back sprout setup after device add failure

btrfs_init_new_device() calls btrfs_setup_sprout() before creating the first writable chunks for a seed filesystem. That moves the seed devices out of fs_info->fs_devices, clears the seeding state and installs a new fsid for the sprout filesystem.

If a later step fails, the error path removes the new device but leaves fs_info->fs_devices in the partially initialized sprout state. The mounted filesystem can then be left with no open devices after the failed device add.

Add the inverse of btrfs_setup_sprout() and use it from the error path so the mounted seed filesystem is restored before the temporary seed_devices copy is released.

[ Fix a conflict with per-profile available space, revert sprout before updating per-profile available space estimation. ]

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139433.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2b82032c34ec40515d3c45c36cd1961f37977de8
Fixed
cad71cd6e45ca7268109d945c302cee9fb7c1de7
Fixed
3a660bffa0ea6151f01b76f8a4f55c842a7b3a9a
Fixed
98b03534b8f98ecac03dda2f366b70f8a845844a
Fixed
f5166f53b60b4d1ee9957c0baccd3b09735001d4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139433.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.29
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139433.json"