What’s Vulnerable › Vulnerabilities

CVE-2022-49833: btrfs: zoned: clone zoned device info when cloning a device

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

How to fix

Upgrade to a fixed version: Linux kernel 6.0.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49833 or the next vulnerability affects your stack