CVE-2024-57875

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-57875
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57875.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-57875
Downstream
Related
Published
2025-01-11T15:15:07Z
Modified
2025-08-09T19:01:26Z
Summary
[none]
Details

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

block: RCU protect disk->convzonesbitmap

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

diskzoneisconv() is modified to operate under the RCU read lock and the function disksetconvzonesbitmap() is added to update a disk convzonesbitmap pointer using rcureplacepointer() with the disk zonewplugs_lock spinlock held.

diskfreezoneresources() is modified to call diskupdatezoneresources() with a NULL bitmap pointer to free the disk convzonesbitmap. disksetconvzonesbitmap() is also used in diskupdatezone_resources() to set the new (revalidated) bitmap and free the old one.

References

Affected packages