We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-57875

block: RCU protect disk->conv_zones_bitmap



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.

Reserved 2025-01-11 | Published 2025-01-11 | Updated 2025-01-20 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 493326c4f10cc71a42c27fdc97ce112182ee4cbc
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d7cb6d7414ea1b33536fa6d11805cb8dceec1f97
affected

Default status
affected

6.12.5
unaffected

6.13
unaffected

References

git.kernel.org/...c/493326c4f10cc71a42c27fdc97ce112182ee4cbc

git.kernel.org/...c/d7cb6d7414ea1b33536fa6d11805cb8dceec1f97

cve.org (CVE-2024-57875)

nvd.nist.gov (CVE-2024-57875)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-57875

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.