CVE-2022-49831
JSON

5.5medium

btrfs: zoned: initialize device's zone info for seeding

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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 btrfs_zoned_device_info structure, otherwise mounting the filesystem will cause a NULL pointer dereference. This was uncovered by fstests' testcase btrfs/163.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 7365104236ade0bf22edd7724c8fd438b0342ee4 before 91c38504e589dadbcde47b1cacdfc5b684154d44, from 7365104236ade0bf22edd7724c8fd438b0342ee4 before 544f38a738343d7e75f104e5e9d1ade58d8b71bd, from 7365104236ade0bf22edd7724c8fd438b0342ee4 before a8d1b1647bf8244a5f270538e9e636e2657fffa3, 5.12
Not affected: before 5.12, from 5.15.79 up to 5.15.*, from 6.0.9 up to 6.0.*, from 6.1 up to *
CVE List
linux linux_kernelbefore 5.15.79, from 5.16 before 6.0.9, 6.1NVD

Classification

What each source says

CVE List

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 btrfs_zoned_device_info structure, otherwise mounting the filesystem will cause a NULL pointer dereference. This was uncovered by fstests' testcase btrfs/163.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: btrfs: zoned: inicializar la información de zona del dispositivo para la propagación. Al propagar en un sistema de archivos con zonas, es necesario inicializar la estructura btrfs_zoned_device_info de cada dispositivo; de lo contrario, al montar el sistema de archivos se producirá una desreferencia de puntero nulo. Esto fue descubierto por el caso de prueba btrfs/163 de fstests.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49831 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49831 changed 2026-06-17Public domain