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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-05-01T14:09:51.387Z
- Modified: 2026-08-15T13:17:28.337Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7365104236ade0bf22edd7724c8fd438b0342ee4 before ad88cabcec942c033f980cd1e28d56ecdaf5f3b8; from 7365104236ade0bf22edd7724c8fd438b0342ee4 before 21e61ec6d0bb786818490e926aa9aeb4de95ad0d; 5.12 (not affected: before 5.12; from 6.0.9 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.11 before 6.0.9; 6.1

## References

- <https://git.kernel.org/stable/c/ad88cabcec942c033f980cd1e28d56ecdaf5f3b8> (patch)
- <https://git.kernel.org/stable/c/21e61ec6d0bb786818490e926aa9aeb4de95ad0d> (patch)

## Sources

- CVE List: [CVE-2022-49833](https://www.cve.org/CVERecord?id=CVE-2022-49833), CVE Terms of Use, modified 2026-08-15
- NVD: [CVE-2022-49833](https://nvd.nist.gov/vuln/detail/CVE-2022-49833), Public domain, modified 2026-08-15

---

Page: https://cve.day/CVE-2022-49833 · Whole record: https://cve.day/CVE-2022-49833.json · Rebuilt by cve.day 2026-11-25T22:58:20.891Z
