CVE-2023-53243
BaseFortify
Publication date: 2025-09-15
Last updated on: 2025-12-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.5 (inc) to 5.10.188 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 5.15.121 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.1.39 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.4.4 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-NVD-CWE-noinfo |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel's btrfs filesystem involves the function btrfs_reduce_alloc_profile, which is responsible for selecting an allocation profile flag when allocating new blocks. The function was not updated to handle newer allocation profiles like DUP and RAID1C34. As a result, under certain conditionsβspecifically when a balance operation involving these unhandled profiles is canceled after allocating blocksβthe function may return multiple allocation profile flags instead of exactly one. This causes a transaction abort and forces the filesystem to remount as read-only, requiring manual intervention to mount it again with a special option to skip the balance operation.
How can this vulnerability impact me? :
The impact of this vulnerability is that the btrfs filesystem may abort transactions and remount itself as read-only when allocating new blocks during certain balance operations involving unhandled allocation profiles. This can lead to filesystem instability and unavailability for write operations until the filesystem is manually remounted with the skip_balance option. Additionally, balance operations cannot be resumed without encountering similar aborts, potentially affecting system reliability and data availability.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring the system logs for specific BTRFS transaction abort warnings and kernel WARN_ON messages related to btrfs_reduce_alloc_profile failures. Look for log entries similar to 'BTRFS: Transaction aborted (error -22)' and warnings in the kernel log mentioning 'find_free_extent' and 'btrfs'. You can use commands such as 'dmesg | grep -i btrfs' or 'journalctl -k | grep -i btrfs' to check for these messages. Additionally, mounting issues requiring the '-o skip_balance' option may indicate the presence of this issue.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability immediately, avoid performing balance operations involving the unhandled RAID profiles (RAID1C23/DUP) that trigger the issue. If the filesystem becomes read-only due to this problem, remount it with the '-o skip_balance' option to regain read-write access. Applying the Linux kernel update that includes the fix for this issue is the definitive mitigation step once available.