CVE-2022-50766
Uninitialized Value Vulnerability in Linux Kernel Btrfs Component
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 | 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 involves the Linux kernel's btrfs filesystem code, specifically in the function btrfs_init_new_buffer. A code change mistakenly moved the setting of the generation field in the btrfs header to after a function call (btrfs_clean_tree_block) that relies on that generation value. This caused an uninitialized value to be used, which is a bug. The fix was to ensure the generation is set before calling btrfs_clean_tree_block to avoid using uninitialized data.
How can this vulnerability impact me? :
The vulnerability can lead to the use of uninitialized memory values within the btrfs filesystem code, which may cause system instability, crashes, or data corruption when using btrfs. This could impact system reliability and data integrity on affected Linux systems.