Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-93800

published

btrfs: fix use-after-free on reloc root after error in insert_dirty_subvol()

Published
24 Sep 2026, 16:02:34 UTC
Updated
03 Oct 2026, 10:57:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf32b84d7c977e1906a4781b93b3c93090b6cd675 to < 5a247097c5f94b51ffc991b444d998ad6e85875f · 592fbcd50c99b8adf999a2a54f9245caff333139 to < 6372dd394ea907cd85a7a8063db320ec73dfaed0 · 592fbcd50c99b8adf999a2a54f9245caff333139 to < 9f599d120b2b79d2d937c3935b7cdf2697514283 · 592fbcd50c99b8adf999a2a54f9245caff333139 to < a01837ae174a2a968c245a30e6dd010f50eaf05d · 592fbcd50c99b8adf999a2a54f9245caff333139 to < 97a540d72ebcb21853d11f2a56782fe377f358e7 · 592fbcd50c99b8adf999a2a54f9245caff333139 to < fda1b6636ff1846f00643e791099db5564b547d9 · 592fbcd50c99b8adf999a2a54f9245caff333139 to < 83201804efa4a5168be754e1dfc9b2faee760cac · aa18bc1ff8a51f082d5b3b6d07693797637b4028 · 4cb0aea2e250eee35ccfac5f5395cd8f3238a9e5 · 5.10.36 to < 5.10.271 · 5.11.20 to < 5.12 · 5.12.3 to < 5.13 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.10.271 through 5.10.* (unaffected · semver) · 5.15.222 through 5.15.* (unaffected · semver) · 6.1.189 through 6.1.* (unaffected · semver) · 6.6.158 through 6.6.* (unaffected · semver) · 6.12.111 through 6.12.* (unaffected · semver) · 6.18.53 through 6.18.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-136 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-119 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3192 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
Debian bookworm linux Advisory build 6.1.190-1 DLA-4841-1
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-3193 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3336 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
AlmaLinux 10 kernel-64k Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-doc Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-headers Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-tools Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 libperf Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 perf Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 python3-perf Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 rtla Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 rv Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
Debian bookworm linux-6.12 Advisory build 6.12.111-1~deb12u1 DLA-4817-1
Debian trixie linux Advisory build 6.12.111-1 DSA-6528-1
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-264.19.1.el10_3 ELSA-2026-102168

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix use-after-free on reloc root after error in insert_dirty_subvol() If during relocation we fail in insert_dirty_subvol() because btrfs_update_reloc_root() returned an error, we will leave a root's reloc_root field pointing to a reloc root that was freed instead of NULL, resulting later in a use-after-free, or double free attempt during unmount. The sequence of steps is this: 1) During relocation the call to btrfs_update_reloc_root() in insert_dirty_subvol() fails, so insert_dirty_subvol() returns the error to merge_reloc_root() without adding the root to the list rc->dirty_subvol_roots; 2) Then merge_reloc_root() aborts the current transaction because insert_dirty_subvol() returned an error; 3) Up the call chain, merge_reloc_roots() gets the error, adds the reloc root for root X to the local reloc_roots list and jumps to the 'out' label, where it calls free_reloc_roots() to free all the reloc roots in the local reloc_roots list. This frees the reloc root for root X; 4) We go up the call chain to relocate_block_group() which calls clean_dirty_subvols() to go over dirty roots and set their ->reloc_root field to NULL, but root X is not in the dirty_subvol_roots list, so its ->reloc_root still points to a reloc root; 5) Relocation finishes, with an error and a transaction abort, but the ->reloc_root field for root X still points to the reloc root that was freed in step 3; 6) When unmounting the fs we end up calling: btrfs_free_fs_roots() btrfs_drop_and_free_fs_root() --> calls btrfs_put_root() against root X's ->reloc_root which is not NULL and points to the already freed reloc root in step 4 above Resulting in a use-after-free to a double free attempt. Syzbot reported this with the following dmesg/syslog: [ 106.004389][ T5339] BTRFS error (device loop0 state A): Transaction aborted (error -5) [ 106.014266][ T5339] BTRFS: error (device loop0 state A) in merge_reloc_root:1655: errno=-5 IO failure [ 106.021891][ T1061] BTRFS error (device loop0 state A): error while writing out transaction: -5 [ 106.026964][ T1061] BTRFS warning (device loop0 state A): Skipping commit of aborted transaction. [ 106.033807][ T5340] BTRFS error (device loop0 state A): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0 [ 106.039265][ T1061] BTRFS: error (device loop0 state A) in cleanup_transaction:2067: errno=-5 IO failure [ 106.044382][ T5339] BTRFS info (device loop0 state EA): forced readonly [ 106.074329][ T5339] BTRFS: error (device loop0 state EA) in merge_reloc_roots:1887: errno=-5 IO failure [ 106.081004][ T5356] BTRFS info (device loop0 state EA): scrub: started on devid 1 [ 106.085611][ T5339] BTRFS info (device loop0 state EA): balance: ended with status: -30 [ 106.089517][ T5356] BTRFS info (device loop0 state EA): scrub: not finished on devid 1 with status: -30 [ 106.662365][ T5338] BTRFS info (device loop0 state EA): last unmount of filesystem 3a375e4e-b156-4d76-a2ad-16e198ce1409 [ 106.682946][ T5338] ================================================================== [ 106.686574][ T5338] BUG: KASAN: slab-use-after-free in btrfs_put_root+0x2f/0x250 [ 106.690090][ T5338] Write of size 4 at addr ffff88803f978630 by task syz.0.0/5338 [ 106.693173][ T5338] [ 106.694279][ T5338] CPU: 0 UID: 0 PID: 5338 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 106.694293][ T5338] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 106.694300][ T5338] Call Trace: [ 106.694308][ T5338] <TASK> [ 106.694314][ T5338] dump_stack_lvl+0xe8/0x150 [ 106.694331][ T5338] print_address_description+0x55/0x1e0 [ 106.694343][ T5338] ? btrfs_put_root+0x2f/0x250 [ 106.694358][ T5338] print_report+0x58/0x70 [ 106. ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

53

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f32b84d7c977e1906a4781b93b3c93090b6cd675 to < 5a247097c5f94b51ffc991b444d998ad6e85875f (affected · git)592fbcd50c99b8adf999a2a54f9245caff333139 to < 6372dd394ea907cd85a7a8063db320ec73dfaed0 (affected · git)592fbcd50c99b8adf999a2a54f9245caff333139 to < 9f599d120b2b79d2d937c3935b7cdf2697514283 (affected · git)592fbcd50c99b8adf999a2a54f9245caff333139 to < a01837ae174a2a968c245a30e6dd010f50eaf05d (affected · git)592fbcd50c99b8adf999a2a54f9245caff333139 to < 97a540d72ebcb21853d11f2a56782fe377f358e7 (affected · git)592fbcd50c99b8adf999a2a54f9245caff333139 to < fda1b6636ff1846f00643e791099db5564b547d9 (affected · git)592fbcd50c99b8adf999a2a54f9245caff333139 to < 83201804efa4a5168be754e1dfc9b2faee760cac (affected · git)aa18bc1ff8a51f082d5b3b6d07693797637b4028 (affected · git)4cb0aea2e250eee35ccfac5f5395cd8f3238a9e5 (affected · git)5.10.36 to < 5.10.271 (affected · semver)5.11.20 to < 5.12 (affected · semver)5.12.3 to < 5.13 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.13 (affected)0 to < 5.13 (unaffected · semver)5.10.271 through 5.10.* (unaffected · semver)5.15.222 through 5.15.* (unaffected · semver)6.1.189 through 6.1.* (unaffected · semver)6.6.158 through 6.6.* (unaffected · semver)6.12.111 through 6.12.* (unaffected · semver)6.18.53 through 6.18.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

btrfs: fix use-after-free on reloc root after error in insert_dirty_subvol()

Provenance

Schema
5.2
Searchable
yes
Content hash
9f553a069cd1d400eedc6fef897baf40bcd528b7316f2d27b906b4a76bfc27b6
Ingested
03 Oct 2026, 11:47:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected