CVE-2022-49831

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux7365104236ade0bf22edd7724c8fd438b0342ee4 < 91c38504e589dadbcde47b1cacdfc5b684154d44affected
LinuxLinux7365104236ade0bf22edd7724c8fd438b0342ee4 < 544f38a738343d7e75f104e5e9d1ade58d8b71bdaffected
LinuxLinux7365104236ade0bf22edd7724c8fd438b0342ee4 < a8d1b1647bf8244a5f270538e9e636e2657fffa3affected
LinuxLinux5.12affected
LinuxLinux0 < 5.12unaffected
LinuxLinux5.15.79 <= 5.15.*unaffected
LinuxLinux6.0.9 <= 6.0.*unaffected
LinuxLinux6.1 <= *unaffected

Weaknesses

References