btrfs: zoned: initialize device's zone info for seeding
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.15.796.0.96.1In 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.
From the CVE record · Linux
The Linux kernel does not initialize a zoned device's zone information when seeding a zoned btrfs filesystem. Mounting that filesystem can cause a NULL pointer dereference. The input does not specify attacker access or authentication requirements.
Operators running the Linux kernel with seeded zoned btrfs filesystems should check their systems; affected versions are not specified.