CVE-2022-49833 btrfs: zoned: clone zoned device info when cloning a device
A null pointer dereference in the Linux kernel's btrfs zoned filesystem code can cause a system crash when cloning devices.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49833?
CVE-2022-49833 is a medium-severity vulnerability in Linux kernel, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2022-49833?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49833?
Apply the vendor's patch.
Is CVE-2022-49833 being exploited?
There is no known exploitation of CVE-2022-49833 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-69917, DEBIAN-CVE-2022-49833, GHSA-qq9j-c8r5-5xf6, ROOT-OS-UBUNTU-2204-CVE-2022-49833, UBUNTU-CVE-2022-49833.