CVE-2022-49831

Source
https://cve.org/CVERecord?id=CVE-2022-49831
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49831.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49831
Downstream
Published
2025-05-01T14:09:49.617Z
Modified
2026-05-15T11:54:21.186111351Z
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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.12.0
Fixed
5.15.79
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.9

Database specific

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