What’s Vulnerable › Vulnerabilities
CVE-2022-49831: btrfs: zoned: initialize device's zone info for seeding
- 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-06-17
- Weakness: CWE-476
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.
Affected products
- Linux kernel: before 5.15.79; from 5.16 before 6.0.9; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4 — fixed in 5.15.79, 6.0.9
How to fix
Upgrade to a fixed version: Linux kernel 5.15.79, 6.0.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/544f38a738343d7e75f104e5e9d1ade58d8b71bd
- https://git.kernel.org/stable/c/91c38504e589dadbcde47b1cacdfc5b684154d44
- https://git.kernel.org/stable/c/a8d1b1647bf8244a5f270538e9e636e2657fffa3
Get alerted when CVE-2022-49831 or the next vulnerability affects your stack