CVE-2023-54080
Null Pointer Dereference in Linux Kernel btrfs Zoned Write Handling
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
| 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 in the Linux kernel's btrfs filesystem occurs during data relocation in zoned mode. Specifically, when writing to a pre-allocated region, there can be a missing checksum for the corresponding region at the time of btrfs_reloc_clone_csums(). This causes btrfs_finish_ordered_zoned() to reference an invalid item, leading to an invalid logical address. Subsequently, btrfs_lookup_block_group() fails to find a block group and triggers an assertion failure or a null pointer dereference, potentially causing a kernel crash. The issue arises because splitting and logical rewriting are not needed for pre-allocated writes in zoned mode, but the function handling this was not properly skipped, leading to the error.
How can this vulnerability impact me? :
This vulnerability can cause a kernel crash due to a null pointer dereference when the btrfs filesystem handles data relocation writes in zoned mode. This can lead to system instability, potential data loss, or denial of service as the kernel may panic or become unresponsive during these operations.