Bug 2363371 (CVE-2022-49831) - CVE-2022-49831 kernel: btrfs: zoned: initialize device's zone info for seeding
Summary: CVE-2022-49831 kernel: btrfs: zoned: initialize device's zone info for seeding
Keywords:
Status: NEW
Alias: CVE-2022-49831
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:01 UTC by OSIDB Bzimport
Modified: 2025-05-02 05:57 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:01:51 UTC
In the Linux kernel, the following vulnerability has been resolved:

btrfs: zoned: initialize device's zone info for seeding

When performing seeding on a zoned filesystem it is necessary to
initialize each zoned device's btrfs_zoned_device_info structure,
otherwise mounting the filesystem will cause a NULL pointer dereference.

This was uncovered by fstests' testcase btrfs/163.

Comment 1 Avinash Hanwate 2025-05-02 05:46:30 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050137-CVE-2022-49831-751b@gregkh/T


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