CVE-2022-49831

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

State
Published
Severity
Not scored
Published
May 1, 2025
Updated
May 11, 2026
Reserved
May 1, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7365104236ade0bf22edd7724c8fd438b0342ee4 to before 91c38504e589dadbcde47b1cacdfc5b684154d44Affected
  • 7365104236ade0bf22edd7724c8fd438b0342ee4 to before 544f38a738343d7e75f104e5e9d1ade58d8b71bdAffected
  • 7365104236ade0bf22edd7724c8fd438b0342ee4 to before a8d1b1647bf8244a5f270538e9e636e2657fffa3Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.79 through 5.15.*Not affected
  • 6.0.9 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.