CVE-2022-49831

Updated on 01 May 2025

Severity

5.5 Medium severity

Details

CVSS score
5.5
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Overview

About vulnerability

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.

Details

Affected packages:
kernel @ 4.18.0 (+16 more)

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.

Fixes