# CVE-2022-49831: btrfs: zoned: initialize device's zone info for seeding

- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-05-01T14:09:49.617Z
- Modified: 2026-06-17T05:19:14.967Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: zoned: initialize device's zone info for seeding

When performing seeding on a zoned filesystem it is necessary to
initialize each zoned device's btrfs_zoned_device_info structure,
otherwise mounting the filesystem will cause a NULL pointer dereference.

This was uncovered by fstests' testcase btrfs/163.

(As written by CVE List.)

## Affected

- Linux Linux: from 7365104236ade0bf22edd7724c8fd438b0342ee4 before 91c38504e589dadbcde47b1cacdfc5b684154d44; from 7365104236ade0bf22edd7724c8fd438b0342ee4 before 544f38a738343d7e75f104e5e9d1ade58d8b71bd; from 7365104236ade0bf22edd7724c8fd438b0342ee4 before a8d1b1647bf8244a5f270538e9e636e2657fffa3; 5.12 (not affected: before 5.12; from 5.15.79 up to 5.15.*; from 6.0.9 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: before 5.15.79; from 5.16 before 6.0.9; 6.1

## References

- <https://git.kernel.org/stable/c/91c38504e589dadbcde47b1cacdfc5b684154d44> (patch)
- <https://git.kernel.org/stable/c/544f38a738343d7e75f104e5e9d1ade58d8b71bd> (patch)
- <https://git.kernel.org/stable/c/a8d1b1647bf8244a5f270538e9e636e2657fffa3> (patch)

## Sources

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

---

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