PT-2025-53132 · Btrfs+2 · Btrfs+2

Published

2025-12-24

·

Updated

2026-03-14

·

CVE-2022-50766

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A flaw exists in the Linux kernel related to the btrfs file system. Specifically, the issue involves the order of operations within the btrfs init new buffer() function. The btrfs set header generation() function was incorrectly positioned after the call to btrfs clean tree block(). This could lead to uninitialized values being used within the btrfs clean tree block() function, potentially causing issues with extent buffer handling. The problem originated from a deduplication effort and was exacerbated by changes in how nodesize and leafsize are handled. The btrfs clean tree block() function calls btrfs header generation(), and the memzero extent buffer() function resets the header structure, necessitating the correct order of operations.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Related Identifiers

CVE-2022-50766

Affected Products

Debian
Linux Kernel
Btrfs