CVE-2022-49833
publishedbtrfs: zoned: clone zoned device info when cloning a device
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7365104236ade0bf22edd7724c8fd438b0342ee4 to < ad88cabcec942c033f980cd1e28d56ecdaf5f3b8 · 7365104236ade0bf22edd7724c8fd438b0342ee4 to < 21e61ec6d0bb786818490e926aa9aeb4de95ad0d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 6.0.9 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7365104236ade0bf22edd7724c8fd438b0342ee4 to < ad88cabcec942c033f980cd1e28d56ecdaf5f3b8 (affected · git)7365104236ade0bf22edd7724c8fd438b0342ee4 to < 21e61ec6d0bb786818490e926aa9aeb4de95ad0d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.12 (affected)0 to < 5.12 (unaffected · semver)6.0.9 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
btrfs: zoned: clone zoned device info when cloning a device
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 65c7d1636c57f8c26c4c12d0932411ea54efe20feaee945e09a85965c714891f
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record