CVE-2022-49831

Source
https://cve.org/CVERecord?id=CVE-2022-49831
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49831.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49831
Downstream
Published
2025-05-01T14:09:49.617Z
Modified
2026-04-02T08:27:58.332852Z
Summary
btrfs: zoned: initialize device's zone info for seeding
Details

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 btrfszoneddevice_info structure, otherwise mounting the filesystem will cause a NULL pointer dereference.

This was uncovered by fstests' testcase btrfs/163.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49831.json"
}
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
7365104236ade0bf22edd7724c8fd438b0342ee4
Fixed
91c38504e589dadbcde47b1cacdfc5b684154d44
Fixed
544f38a738343d7e75f104e5e9d1ade58d8b71bd
Fixed
a8d1b1647bf8244a5f270538e9e636e2657fffa3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49831.json"