{"id":"CVE-2022-49831","summary":"btrfs: zoned: initialize device's zone info for seeding","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: initialize device's zone info for seeding\n\nWhen performing seeding on a zoned filesystem it is necessary to\ninitialize each zoned device's btrfs_zoned_device_info structure,\notherwise mounting the filesystem will cause a NULL pointer dereference.\n\nThis was uncovered by fstests' testcase btrfs/163.","modified":"2026-04-02T08:27:58.332852Z","published":"2025-05-01T14:09:49.617Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49831.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/544f38a738343d7e75f104e5e9d1ade58d8b71bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91c38504e589dadbcde47b1cacdfc5b684154d44"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a8d1b1647bf8244a5f270538e9e636e2657fffa3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49831.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49831"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7365104236ade0bf22edd7724c8fd438b0342ee4"},{"fixed":"91c38504e589dadbcde47b1cacdfc5b684154d44"},{"fixed":"544f38a738343d7e75f104e5e9d1ade58d8b71bd"},{"fixed":"a8d1b1647bf8244a5f270538e9e636e2657fffa3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49831.json"}}],"schema_version":"1.7.5"}