CVE-2024-57875

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-57875
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-57875.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-57875
Downstream
Related
Published
2025-01-11T14:49:01.655Z
Modified
2025-11-28T02:34:38.351812Z
Summary
block: RCU protect disk->conv_zones_bitmap
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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57875.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
493326c4f10cc71a42c27fdc97ce112182ee4cbc
Fixed
d7cb6d7414ea1b33536fa6d11805cb8dceec1f97

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.5