CVE-2023-53247
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 | to 6.1.42 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.4.7 (exc) |
| linux | linux_kernel | 6.5 |
| linux | linux_kernel | 6.5 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-617 | The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's btrfs filesystem code, specifically in the function btrfs_cont_expand. The issue arises because the code sets a page as mapped before reading it, but between reading and re-locking the page, the page could be released (release_folio called) while still being left in the file mapping. This can clear the page's private flag, causing a kernel panic when the code later tries to modify subpage bits. The fix was to move the set_page_extent_mapped call to after the read, ensuring safety even if the page private flag is cleared during release.
How can this vulnerability impact me? :
This vulnerability can cause a kernel panic (system crash) when using the btrfs filesystem under certain conditions, leading to potential system instability or downtime. It may disrupt normal filesystem operations and could affect system reliability.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the btrfs set_page_extent_mapped issue described. The fix involves changing the order of operations in btrfs_cont_expand to prevent kernel panics. Until the update is applied, avoid running workloads or tests that trigger btrfs subpage blocksize operations, such as the generic/476 test mentioned, to reduce the risk of kernel panic.