CVE-2022-49833

btrfs: zoned: clone zoned device info when cloning a device

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

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: zoned: clone zoned device info when cloning a device

When cloning a btrfs_device, we're not cloning the associated btrfs_zoned_device_info structure of the device in case of a zoned filesystem.

Later on this leads to a NULL pointer dereference when accessing the device's zone_info for instance when setting a zone as active.

This was uncovered by fstests' testcase btrfs/161.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7365104236ade0bf22edd7724c8fd438b0342ee4 to before ad88cabcec942c033f980cd1e28d56ecdaf5f3b8Affected
  • 7365104236ade0bf22edd7724c8fd438b0342ee4 to before 21e61ec6d0bb786818490e926aa9aeb4de95ad0dAffected
LinuxLinux
  • 5.12Affected
  • before 5.12Not 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.