Skip to content

CVE-2024-57875 block: RCU protect disk->conv_zones_bitmap

MediumCVSS 5.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Linux KernelDebian

Description

In the Linux kernel, the following vulnerability has been resolved:

block: RCU protect disk->conv_zones_bitmap

Ensure that a disk revalidation changing the conventional zones bitmap
of a disk does not cause invalid memory references when using the
disk_zone_is_conv() helper by RCU protecting the disk->conv_zones_bitmap
pointer.

disk_zone_is_conv() is modified to operate under the RCU read lock and
the function disk_set_conv_zones_bitmap() is added to update a disk
conv_zones_bitmap pointer using rcu_replace_pointer() with the disk
zone_wplugs_lock spinlock held.

disk_free_zone_resources() is modified to call
disk_update_zone_resources() with a NULL bitmap pointer to free the disk
conv_zones_bitmap. disk_set_conv_zones_bitmap() is also used in
disk_update_zone_resources() to set the new (revalidated) bitmap and
free the old one.

Upgrade path

6 packages: 3 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
azure linux kernel(Azure Linux 3.0) All versions No fix listed No fix yet
cbl-mariner kernel(CBL-Mariner 2.0) All versions No fix listed No fix yet
Microsoft cbl2 kernel 5.15.202.1-1 All versions No fix listed No fix yet
debian/linux(Debian 13) < 6.12.5-1 6.12.5-1 Fixed
debian/linux(Debian 14) < 6.12.5-1 6.12.5-1 Fixed
Linux kernel < 6.12.5; < 6.13; = 6.10; >= dd291d77cc90eb6a86e9860ba8e6e38eebd57d12, < 493326c4f10cc71a42c27fdc97ce112182ee4cbc +1 more 6.12.5, 6.13, 493326c4f10cc71a42c27fdc97ce112182ee4cbc, d7cb6d7414ea1b33536fa6d11805cb8dceec1f97 Fixed

Affected products

ProductAffected versionsFixed in
azure linux kernel(Azure Linux:3.0) All versions No fix listed
cbl-mariner kernel(CBL-Mariner:2.0) All versions No fix listed
Microsoft cbl2 kernel 5.15.202.1-1 All versions No fix listed
debian/linux(Debian:13) < 6.12.5-1 6.12.5-1
debian/linux(Debian:14) < 6.12.5-1 6.12.5-1
Linux kernel >= dd291d77cc90eb6a86e9860ba8e6e38eebd57d12, < 493326c4f10cc71a42c27fdc97ce112182ee4cbc 493326c4f10cc71a42c27fdc97ce112182ee4cbc
Linux kernel >= dd291d77cc90eb6a86e9860ba8e6e38eebd57d12, < d7cb6d7414ea1b33536fa6d11805cb8dceec1f97 d7cb6d7414ea1b33536fa6d11805cb8dceec1f97
Linux kernel = 6.10 No fix listed
Linux kernel < 6.12.5 6.12.5
Linux kernel < 6.13 6.13

References