CVE-2022-49833

Source
https://cve.org/CVERecord?id=CVE-2022-49833
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49833.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49833
Downstream
Published
2025-05-01T14:09:51.387Z
Modified
2026-03-20T12:22:29.450751Z
Summary
btrfs: zoned: clone zoned device info when cloning a device
Details

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

btrfs: zoned: clone zoned device info when cloning a device

When cloning a btrfsdevice, we're not cloning the associated btrfszoneddeviceinfo 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49833.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-49833.json"