CVE-2025-22124
MediumIn the Linux kernel, the following vulnerability has been resolved: md/md-bitmap: fix wrong bitmap_limit for clustermd when write sb In clustermd, separate write-intent-bitmaps are used for each cluster node: 0 4k 8k 12k ------------------------------------------------------------------- | idle | md super | bm super [0] + bits | | bm bits[0, contd] | bm super[1] + bits | bm bits[1, contd] | | bm super[2] + bits | bm bits [2, contd] | bm super[3] + bits | | bm bits [3, contd] | | | So in node 1, pg_index in __write_sb_page() could equal to bitmap->storage.file_pages. Then bitmap_limit will be calculated to 0. md_super_write() will be called with 0 size. That means the first 4k sb area of node 1 will never be updated through filemap_write_page(). This bug causes hang of mdadm/clustermd_tests/01r1_Grow_resize. Here use (pg_index % bitmap->storage.file_pages) to make calculation of bitmap_limit correct.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
6.6.44,
6.10.3,
6.11
and later are affected. Fixed in
6.12.46,
6.14.2,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-22124 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/60196f92bbc7901eb5cfa5d456651b87ea50a4a3
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6130825f34d41718c98a9b1504a79a23e379701e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/bc3a9788961631359527763d7e1fcf26554c7cb1
Frequently asked questions
-
What is CVE-2025-22124?
CVE-2025-22124 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.6.44 onward and has been patched in 6.12.46, 6.14.2 and 6.15. CVE-2025-22124 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-22124?
CVE-2025-22124 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-22124?
Yes — CVE-2025-22124 has been patched. Fixed versions include 6.12.46, 6.14.2 and 6.15. If you are running Linux kernel 6.6.44 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-22124 actively exploited?
No — CVE-2025-22124 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.