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-11T14:49:01.655Z
Modified
2026-01-06T01:57:41.494683Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57875.json",
    "cna_assigner": "Linux"
}
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
dd291d77cc90eb6a86e9860ba8e6e38eebd57d12
Fixed
493326c4f10cc71a42c27fdc97ce112182ee4cbc
Fixed
d7cb6d7414ea1b33536fa6d11805cb8dceec1f97

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.12.2
v6.12.3
v6.12.4
v6.9
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

source

"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57875.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.12.5

Database specific

source

"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57875.json"