---
id: CVE-2022-49833
title: |-
  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 devi…
summary: |-
  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 devi…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.11, < 6.0.9'
  - linux_kernel = 6.1
patched:
  - linux_kernel 6.0.9
published: '2025-05-01'
updated: '2026-08-15'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-49833'
references:
  - url: 'https://git.kernel.org/stable/c/21e61ec6d0bb786818490e926aa9aeb4de95ad0d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ad88cabcec942c033f980cd1e28d56ecdaf5f3b8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00163
epssPercentile: 0.05955
ingestedAt: '2026-08-15T13:26:44.723Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 5.11, < 6.0.9`
- `linux_kernel = 6.1`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.0.9`
