{"id":"CVE-2024-35787","published":"2024-05-17T12:24:35Z","modified":"2026-08-05T11:29:55Z","title":"md/md-bitmap: fix incorrect usage for sb_index","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/md-bitmap: fix incorrect usage for sb_index\n\nCommit d7038f951828 (\"md-bitmap: don't use ->index for pages backing the\nbitmap file\") removed page->index from bitmap code, but left wrong code\nlogic for clustered-md. current code never set slot offset for cluster\nnodes, will sometimes cause crash in clustered env.\n\nCall trace (partly):\n md_bitmap_file_set_bit+0x110/0x1d8 [md_mod]\n md_bitmap_startwrite+0x13c/0x240 [md_mod]\n raid1_make_request+0x6b0/0x1c08 [raid1]\n md_handle_request+0x1dc/0x368 [md_mod]\n md_submit_bio+0x80/0xf8 [md_mod]\n __submit_bio+0x178/0x300\n submit_bio_noacct_nocheck+0x11c/0x338\n submit_bio_noacct+0x134/0x614\n submit_bio+0x28/0xdc\n submit_bh_wbc+0x130/0x1cc\n submit_bh+0x1c/0x28","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00228,"percentile":0.13859,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/736ad6c577a367834118f57417038d45bb5e0a31","tags":[]},{"url":"https://git.kernel.org/stable/c/55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da","tags":[]},{"url":"https://git.kernel.org/stable/c/5a95815b17428ce2f56ec18da5e0d1b2a1a15240","tags":[]},{"url":"https://git.kernel.org/stable/c/ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":2.77},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d7038f951828da19fa9aafddfa087b69032c9687, < 736ad6c577a367834118f57417038d45bb5e0a31",">= d7038f951828da19fa9aafddfa087b69032c9687, < 55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da",">= d7038f951828da19fa9aafddfa087b69032c9687, < 5a95815b17428ce2f56ec18da5e0d1b2a1a15240",">= d7038f951828da19fa9aafddfa087b69032c9687, < ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-12T15:19:46.019142Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35780","exploited":false,"provenance":"source"}}