Skip to main content
← All vulnerabilities
CVE-2024-57875

block: RCU protect disk->conv_zones_bitmap

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From dd291d77cc90eb6a86e9860ba8e6e38eebd57d12 · fixed in 493326c4f10cc71a42c27fdc97ce112182ee4cbc; From dd291d77cc90eb6a86e9860ba8e6e38eebd57d12 · fixed in d7cb6d7414ea1b33536fa6d11805cb8dceec1f97

  • Linux Linux

    6.10

  • KernelLinux

    From 6.10.0 · fixed in 6.12.5

References 2

git.kernel.org