NULL pointer dereference in Linux

CVE-2022-49833

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 6.5th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 7365104236ade0bf22edd7724c8fd438b0342ee4, 5.12, 5b316468983dfa9473ff0f1c42e4e30b4c267141
  • Linux Kernel — versions 6.1

Weakness classification (CWE)

References