Skip to main content
Network Thinking Solutions Logo

CVE-2023-53618

In the Linux kernel, the following vulnerability has been resolved: btrfs: reject invalid reloc tree root keys with stack dump [BUG] Syzbot reported a crash that an ASSERT() got triggered inside prepare_to_merge().

All CVEs
CVE-2023-53618Published 10/7/2025

In the Linux kernel, the following vulnerability has been resolved: btrfs: reject invalid reloc tree root keys with stack dump [BUG] Syzbot reported a crash that an ASSERT() got triggered inside prepare_to_merge().

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: btrfs: reject invalid reloc tree root keys with stack dump [BUG] Syzbot reported a crash that an ASSERT() got triggered inside prepare_to_merge(). That ASSERT() makes sure the reloc tree is properly pointed back by its subvolume tree. [CAUSE] After more debugging output, it turns out we had an invalid reloc tree: BTRFS error (device loop1): reloc tree mismatch, root 8 has no reloc root, expect reloc root key (-8, 132, 8) gen 17 Note the above root key is (TREE_RELOC_OBJECTID, ROOT_ITEM, QUOTA_TREE_OBJECTID), meaning it's a reloc tree for quota tree. But reloc trees can only exist for subvolumes, as for non-subvolume trees, we just COW the involved tree block, no need to create a reloc tree since those tree blocks won't be shared with other trees. Only subvolumes tree can share tree blocks with other trees (thus they have BTRFS_ROOT_SHAREABLE flag). Thus this new debug output proves my previous assumption that corrupted on-disk data can trigger that ASSERT(). [FIX] Besides the dedicated fix and the graceful exit, also let tree-checker to check such root keys, to make sure reloc trees can only exist for subvolumes.

Published
10/7/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.2.19, < 5.3

Verify advisory

Source
linux kernel
linux
≥ 5.3.4, < 5.15.127

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.46

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.4.11

Verify advisory

Source
linux kernel
linux
6.5

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 259ee7754b6793af8bdd77f9ca818bc41cfe9541, < 314135b7bae9618a317874ae195272682cf2d5d4

Verify advisory

Source
Linux
Linux
≥ 259ee7754b6793af8bdd77f9ca818bc41cfe9541, < 3ae93b316ca4b8b3c33798ef1d210355f2fb9318

Verify advisory

Source
Linux
Linux
≥ 259ee7754b6793af8bdd77f9ca818bc41cfe9541, < 84256e00eeca73c529fc6196e478cc89b8098157

Verify advisory

Source
Linux
Linux
≥ 259ee7754b6793af8bdd77f9ca818bc41cfe9541, < 6ebcd021c92b8e4b904552e4d87283032100796d

Verify advisory

Source
Linux
Linux
3d95c52d789ca99e344061d7f6dadb2519adbcf5

Verify advisory

Source
Linux
Linux
fba904d68c8bbfcc89c2210cfcb2351be90bc3e5

Verify advisory

Source
Linux
Linux
≥ 5.2.19, < 5.3

Verify advisory

Source
Linux
Linux
≥ 5.3.4, < 5.4

Verify advisory

Source
Linux
Linux
5.4

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.