Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-53243

MEDIUM 5.5EPSS 8%

btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile

Mitigation

  • Upgrade Linux to 160fe8f6fdb13da6111677be6263e5d65e875987 or later.

Who should check

  • Anyone running Linux >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < a3fbd156bd2cd16e3c64e250ebce33eb9f2ef612; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 12b6d68498982a053a4a7e561a04387e57ca6f1a; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 4fadf53fa95142f01f215012e97c384529759a72; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 1b532748ba00bd2a1d9b09e0d5e81280582c7770; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 160fe8f6fdb13da6111677be6263e5d65e875987
  • Anyone running Linux 5.5

Vulnerability facts

Affected
Linux >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < a3fbd156bd2cd16e3c64e250ebce33eb9f2ef612; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 12b6d68498982a053a4a7e561a04387e57ca6f1a; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 4fadf53fa95142f01f215012e97c384529759a72; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 1b532748ba00bd2a1d9b09e0d5e81280582c7770; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 160fe8f6fdb13da6111677be6263e5d65e875987; Linux 5.5
Fixed in
Linux 12b6d68498982a053a4a7e561a04387e57ca6f1a, Linux 4fadf53fa95142f01f215012e97c384529759a72, Linux 1b532748ba00bd2a1d9b09e0d5e81280582c7770, Linux 160fe8f6fdb13da6111677be6263e5d65e875987
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile Callers of `btrfs_reduce_alloc_profile` expect it to return exactly one allocation profile flag, and failing to do so may ultimately result in a WARN_ON and remount-ro when allocating new blocks, like the below transaction abort on 6.1. `btrfs_reduce_alloc_profile` has two ways of determining the profile, first it checks if a conversion balance is currently running and uses the profile we're converting to. If no balance is currently running, it returns the max-redundancy profile which at least one block in the selected block group has. This works by simply checking each known allocation profile bit in redundancy order. However, `btrfs_reduce_alloc_profile` has not been updated as new flags have been added - first with the `DUP` profile and later with the RAID1C34 profiles. Because of the way it checks, if we have blocks with different profiles and at least one is known, that profile will be selected. However, if none are known we may return a flag set with multiple allocation profiles set. This is currently only possible when a balance from one of the three unhandled profiles to another of the unhandled profiles is canceled after allocating at least one block using the new profile. In that case, a transaction abort like the below will occur and the filesystem will need to be mounted with -o skip_balance to get it mounted rw again (but the balance cannot be resumed without a similar abort). [770.648] ------------[ cut here ]------------ [770.648] BTRFS: Transaction aborted (error -22) [770.648] WARNING: CPU: 43 PID: 1159593 at fs/btrfs/extent-tree.c:4122 find_free_extent+0x1d94/0x1e00 [btrfs] [770.648] CPU: 43 PID: 1159593 Comm: btrfs Tainted: G W 6.1.0-0.deb11.7-powerpc64le #1 Debian 6.1.20-2~bpo11+1a~test [770.648] Hardware name: T2P9D01 REV 1.00 POWER9 0x4e1202 opal:skiboot-bc106a0 PowerNV [770.648] NIP: c00800000f6784fc LR: c00800000f6784f8 CTR: c000000000d746c0 [770.648] REGS: c000200089afe9a0 TRAP: 0700 Tainted: G W (6.1.0-0.deb11.7-powerpc64le Debian 6.1.20-2~bpo11+1a~test) [770.648] MSR: 9000000002029033 <SF,HV,VEC,EE,ME,IR,DR,RI,LE> CR: 28848282 XER: 20040000 [770.648] CFAR: c000000000135110 IRQMASK: 0 GPR00: c00800000f6784f8 c000200089afec40 c00800000f7ea800 0000000000000026 GPR04: 00000001004820c2 c000200089afea00 c000200089afe9f8 0000000000000027 GPR08: c000200ffbfe7f98 c000000002127f90 ffffffffffffffd8 0000000026d6a6e8 GPR12: 0000000028848282 c000200fff7f3800 5deadbeef0000122 c00000002269d000 GPR16: c0002008c7797c40 c000200089afef17 0000000000000000 0000000000000000 GPR20: 0000000000000000 0000000000000001 c000200008bc5a98 0000000000000001 GPR24: 0000000000000000 c0000003c73088d0 c000200089afef17 c000000016d3a800 GPR28: c0000003c7308800 c00000002269d000 ffffffffffffffea 0000000000000001 [770.648] NIP [c00800000f6784fc] find_free_extent+0x1d94/0x1e00 [btrfs] [770.648] LR [c00800000f6784f8] find_free_extent+0x1d90/0x1e00 [btrfs] [770.648] Call Trace: [770.648] [c000200089afec40] [c00800000f6784f8] find_free_extent+0x1d90/0x1e00 [btrfs] (unreliable) [770.648] [c000200089afed30] [c00800000f681398] btrfs_reserve_extent+0x1a0/0x2f0 [btrfs] [770.648] [c000200089afeea0] [c00800000f681bf0] btrfs_alloc_tree_block+0x108/0x670 [btrfs] [770.648] [c000200089afeff0] [c00800000f66bd68] __btrfs_cow_block+0x170/0x850 [btrfs] [770.648] [c000200089aff100] [c00800000f66c58c] btrfs_cow_block+0x144/0x288 [btrfs] [770.648] [c000200089aff1b0] [c00800000f67113c] btrfs_search_slot+0x6b4/0xcb0 [btrfs] [770.648] [c000200089aff2a0] [c00800000f679f60] lookup_inline_extent_backref+0x128/0x7c0 [btrfs] [770.648] [c000200089aff3b0] [c00800000f67b338] lookup_extent_backref+0x70/0x190 [btrfs] [770.648] [c000200089aff470] [c00800000f67b54c] __btrfs_free_extent+0xf4/0x1490 [btrfs] [770.648] [ ---truncated---

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < a3fbd156bd2cd16e3c64e250ebce33eb9f2ef612; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 12b6d68498982a053a4a7e561a04387e57ca6f1a; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 4fadf53fa95142f01f215012e97c384529759a72; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 1b532748ba00bd2a1d9b09e0d5e81280582c7770; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 160fe8f6fdb13da6111677be6263e5d65e875987—cvelist
Linux5.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-53243. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53243.md
Affected: Linux >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < a3fbd156bd2cd16e3c64e250ebce33eb9f2ef612; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 12b6d68498982a053a4a7e561a04387e57ca6f1a; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 4fadf53fa95142f01f215012e97c384529759a72; >= 47e6f7423b9196ad6832d26…
Fixed in: Linux 12b6d68498982a053a4a7e561a04387e57ca6f1a, Linux 4fadf53fa95142f01f215012e97c384529759a72, Linux 1b532748ba00bd2a1d9b09e0d5e81280582c7770, Linux 160fe8f6fdb13da6111677be6263e5d65e875987

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-53243 being exploited?

There is no confirmed exploitation: CVE-2023-53243 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-53243?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-53243?

Linux >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < a3fbd156bd2cd16e3c64e250ebce33eb9f2ef612; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 12b6d68498982a053a4a7e561a04387e57ca6f1a; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 4fadf53fa95142f01f215012e97c384529759a72; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 1b532748ba00bd2a1d9b09e0d5e81280582c7770; >= 47e6f7423b9196ad6832d26cae52b7015f81ee7f, < 160fe8f6fdb13da6111677be6263e5d65e875987; Linux 5.5.

Is there a fix for CVE-2023-53243?

Yes. Fixed in Linux 12b6d68498982a053a4a7e561a04387e57ca6f1a, Linux 4fadf53fa95142f01f215012e97c384529759a72, Linux 1b532748ba00bd2a1d9b09e0d5e81280582c7770, Linux 160fe8f6fdb13da6111677be6263e5d65e875987. Upgrade Linux to 160fe8f6fdb13da6111677be6263e5d65e875987 or later.

How do I check if I'm affected by CVE-2023-53243?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors