Bug 2363441 (CVE-2022-49833) - CVE-2022-49833 kernel: btrfs: zoned: clone zoned device info when cloning a device
Summary: CVE-2022-49833 kernel: btrfs: zoned: clone zoned device info when cloning a d...
Keywords:
Status: NEW
Alias: CVE-2022-49833
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 15:04 UTC by OSIDB Bzimport
Modified: 2025-05-02 04:26 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:04:46 UTC
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.

Comment 1 Avinash Hanwate 2025-05-02 04:15:26 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050137-CVE-2022-49833-b809@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.