What’s Vulnerable › Vulnerabilities
CVE-2022-49833: btrfs: zoned: clone zoned device info when cloning a device
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-01 · updated 2026-08-15
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: clone zoned device info when cloning a device When cloning a btrfs_device, we're not cloning the associated btrfs_zoned_device_info structure of the device in case of a zoned filesystem. Later on this leads to a NULL pointer dereference when accessing the device's zone_info for instance when setting a zone as active. This was uncovered by fstests' testcase btrfs/161.
Affected products
- Linux kernel: from 5.11 before 6.0.9; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4 — fixed in 6.0.9
How to fix
Upgrade to a fixed version: Linux kernel 6.0.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/21e61ec6d0bb786818490e926aa9aeb4de95ad0d
- https://git.kernel.org/stable/c/ad88cabcec942c033f980cd1e28d56ecdaf5f3b8
Get alerted when CVE-2022-49833 or the next vulnerability affects your stack