{"id":"CVE-2022-49833","summary":"btrfs: zoned: clone zoned device info when cloning a device","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: clone zoned device info when cloning a device\n\nWhen cloning a btrfs_device, we're not cloning the associated\nbtrfs_zoned_device_info structure of the device in case of a zoned\nfilesystem.\n\nLater on this leads to a NULL pointer dereference when accessing the\ndevice's zone_info for instance when setting a zone as active.\n\nThis was uncovered by fstests' testcase btrfs/161.","modified":"2026-04-02T08:27:58.442794Z","published":"2025-05-01T14:09:51.387Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49833.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/21e61ec6d0bb786818490e926aa9aeb4de95ad0d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad88cabcec942c033f980cd1e28d56ecdaf5f3b8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49833.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49833"},{"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":"5b316468983dfa9473ff0f1c42e4e30b4c267141"},{"fixed":"ad88cabcec942c033f980cd1e28d56ecdaf5f3b8"},{"fixed":"21e61ec6d0bb786818490e926aa9aeb4de95ad0d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49833.json"}}],"schema_version":"1.7.5"}