CVE-2023-54253
Use-After-Initialization Bug in Linux Kernel Btrfs Causes Kernel Panic
Publication date: 2025-12-30
Last updated on: 2025-12-30
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a bug in the Linux kernel's Btrfs filesystem code where a page extent is incorrectly marked as mapped before the page data is fully read and set up. This leads to an assertion failure and kernel panic due to improper handling of subpage blocks during relocation of pages. The issue arises because the function set_page_extent_mapped is called too early, before the page data is properly initialized by btrfs_read_folio. The fix involves moving the set_page_extent_mapped call to after the btrfs_read_folio to ensure correct setup.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to panic and crash when using the Btrfs filesystem, leading to system instability and potential data loss or corruption during page relocation operations. It affects the reliability and availability of systems running affected kernel versions with Btrfs.