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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 7365104236ade0bf22edd7724c8fd438b0342ee4, < ad88cabcec942c033f980cd1e28d56ecdaf5f3b8; >= 7365104236ade0bf22edd7724c8fd438b0342ee4, < 21e61ec6d0bb786818490e926aa9aeb4de95ad0d |
| Linux | Linux | 5.12 |
References
Timeline
- Published
- May 1, 2025
- Last modified
- Aug 15, 2026
- NVD status
- Analyzed