GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-35787 (GCVE-0-2024-35787)

Vulnerability from cvelistv5 – Published: 2024-05-17 12:24 – Updated: 2026-08-05 11:29
VLAI
Title
md/md-bitmap: fix incorrect usage for sb_index
Summary
In the Linux kernel, the following vulnerability has been resolved: md/md-bitmap: fix incorrect usage for sb_index Commit d7038f951828 ("md-bitmap: don't use ->index for pages backing the bitmap file") removed page->index from bitmap code, but left wrong code logic for clustered-md. current code never set slot offset for cluster nodes, will sometimes cause crash in clustered env. Call trace (partly): md_bitmap_file_set_bit+0x110/0x1d8 [md_mod] md_bitmap_startwrite+0x13c/0x240 [md_mod] raid1_make_request+0x6b0/0x1c08 [raid1] md_handle_request+0x1dc/0x368 [md_mod] md_submit_bio+0x80/0xf8 [md_mod] __submit_bio+0x178/0x300 submit_bio_noacct_nocheck+0x11c/0x338 submit_bio_noacct+0x134/0x614 submit_bio+0x28/0xdc submit_bh_wbc+0x130/0x1cc submit_bh+0x1c/0x28
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-06-12 15:19 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: d7038f951828da19fa9aafddfa087b69032c9687 , < 736ad6c577a367834118f57417038d45bb5e0a31 (git)
Affected: d7038f951828da19fa9aafddfa087b69032c9687 , < 55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da (git)
Affected: d7038f951828da19fa9aafddfa087b69032c9687 , < 5a95815b17428ce2f56ec18da5e0d1b2a1a15240 (git)
Affected: d7038f951828da19fa9aafddfa087b69032c9687 , < ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.6
Unaffected: 0 , < 6.6 (semver)
Unaffected: 6.6.24 , ≤ 6.6.* (semver)
Unaffected: 6.7.12 , ≤ 6.7.* (semver)
Unaffected: 6.8.3 , ≤ 6.8.* (semver)
Unaffected: 6.9 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-35787",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-12T15:19:46.019142Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-12T15:20:01.240Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:21:47.386Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/736ad6c577a367834118f57417038d45bb5e0a31"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5a95815b17428ce2f56ec18da5e0d1b2a1a15240"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/md-bitmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "736ad6c577a367834118f57417038d45bb5e0a31",
              "status": "affected",
              "version": "d7038f951828da19fa9aafddfa087b69032c9687",
              "versionType": "git"
            },
            {
              "lessThan": "55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da",
              "status": "affected",
              "version": "d7038f951828da19fa9aafddfa087b69032c9687",
              "versionType": "git"
            },
            {
              "lessThan": "5a95815b17428ce2f56ec18da5e0d1b2a1a15240",
              "status": "affected",
              "version": "d7038f951828da19fa9aafddfa087b69032c9687",
              "versionType": "git"
            },
            {
              "lessThan": "ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06",
              "status": "affected",
              "version": "d7038f951828da19fa9aafddfa087b69032c9687",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/md-bitmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.6"
            },
            {
              "lessThan": "6.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.24",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.24",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.7.12",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.3",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027t use -\u003eindex for pages backing the\nbitmap file\") removed page-\u003eindex 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"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable code is reached through the local block-I/O path (`submit_bio` \u2192 `md_submit_bio` \u2192 `raid1_make_request` \u2192 `md_bitmap_startwrite`) on a clustered md array; no network protocol handler processes attacker data here.\nAC:L - On any cluster node whose slot is non-zero (every node but DLM slot 1), the index computation is unconditionally negative, so the out-of-bounds `set_bit()` fires on the first write to each bitmap chunk \u2014 deterministic, with no race and no memory-layout precondition the attacker cannot influence.\nPR:L - Clustered md arrays are deployed under shared filesystems (GFS2/OCFS2), so any unprivileged local user with write access to a file generates the bios that reach `md_bitmap_startwrite`; there is no capability check on the path from `write()` to `md_bitmap_file_set_bit()`.\nUI:N - The attacker simply issues writes to the array; no action by any other user or administrator is needed at exploitation time.\nS:U - The corrupted memory is kernel slab memory belonging to the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - `md_bitmap_file_clear_bit()` performs an out-of-bounds `test_page_attr()` read before the `filemap_attr` allocation, and the resulting slab corruption is a general heap-corruption primitive that can be leveraged to disclose kernel memory.\nI:H - `set_bit()` with a negative bit number writes into slab memory preceding the `filemap_attr` buffer at an offset the attacker steers by choosing the written file offset, giving a controlled OOB bit-set usable for heap corruption; additionally the write-intent bitmap is never marked dirty, so the on-disk bitmap goes stale and RAID resync produces inconsistent data.\nA:H - The commit states the bug \"will sometimes cause crash in clustered env\" and includes an oops trace through `md_bitmap_file_set_bit`; slab corruption from repeated OOB writes readily panics the node."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:29:55.072Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/736ad6c577a367834118f57417038d45bb5e0a31"
        },
        {
          "url": "https://git.kernel.org/stable/c/55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da"
        },
        {
          "url": "https://git.kernel.org/stable/c/5a95815b17428ce2f56ec18da5e0d1b2a1a15240"
        },
        {
          "url": "https://git.kernel.org/stable/c/ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06"
        }
      ],
      "title": "md/md-bitmap: fix incorrect usage for sb_index",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-35787",
    "datePublished": "2024-05-17T12:24:35.137Z",
    "dateReserved": "2024-05-17T12:19:12.338Z",
    "dateUpdated": "2026-08-05T11:29:55.072Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-35787",
      "date": "2026-09-14",
      "epss": "0.00228",
      "percentile": "0.13629"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"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\u0027t use -\u003eindex for pages backing the\\nbitmap file\\\") removed page-\u003eindex 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\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se resolvi\\u00f3 la siguiente vulnerabilidad: md/md-bitmap: corrige el uso incorrecto de sb_index Commit d7038f951828 (\\\"md-bitmap: no usar -\u0026gt;\\u00edndice para p\\u00e1ginas que respaldan el archivo de mapa de bits\\\") p\\u00e1gina eliminada-\u0026gt; \\u00edndice del c\\u00f3digo de mapa de bits, pero dej\\u00f3 una l\\u00f3gica de c\\u00f3digo incorrecta para clustered-md. El c\\u00f3digo actual nunca establece el desplazamiento de ranura para los nodos del cl\\u00faster, a veces causa fallos en el entorno del cl\\u00faster. Rastreo de llamadas (parcialmente): md_bitmap_file_set_bit+0x110/0x1d8 [md_mod] md_bitmap_startwrite+0x13c/0x240 [md_mod] raid1_make_request+0x6b0/0x1c08 [raid1] md_handle_request+0x1dc/0x368 [md_submit_bio+0x8 0/0xf8 [md_mod] __submit_bio+0x178/ 0x300 enviar_bio_noacct_nocheck+0x11c/0x338 enviar_bio_noacct+0x134/0x614 enviar_bio+0x28/0xdc enviar_bh_wbc+0x130/0x1cc enviar_bh+0x1c/0x28\"}]",
      "id": "CVE-2024-35787",
      "lastModified": "2024-11-21T09:20:53.720",
      "published": "2024-05-17T13:15:58.567",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/5a95815b17428ce2f56ec18da5e0d1b2a1a15240\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/736ad6c577a367834118f57417038d45bb5e0a31\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/5a95815b17428ce2f56ec18da5e0d1b2a1a15240\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/736ad6c577a367834118f57417038d45bb5e0a31\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "microsoft_vex": {
      "current_release_date": "2024-09-11T00:00:00.000Z",
      "cve": "CVE-2024-35787",
      "id": "msrc_CVE-2024-35787",
      "initial_release_date": "2024-05-02T07:00:00.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "md/md-bitmap: fix incorrect usage for sb_index",
      "url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2024-35787.json",
      "version": "1"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-35787\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-17T13:15:58.567\",\"lastModified\":\"2026-08-04T11:17:52.210\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u0027t use -\u003eindex for pages backing the\\nbitmap file\\\") removed page-\u003eindex 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\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: md/md-bitmap: corrige el uso incorrecto de sb_index Commit d7038f951828 (\\\"md-bitmap: no usar -\u0026gt;\u00edndice para p\u00e1ginas que respaldan el archivo de mapa de bits\\\") p\u00e1gina eliminada-\u0026gt; \u00edndice del c\u00f3digo de mapa de bits, pero dej\u00f3 una l\u00f3gica de c\u00f3digo incorrecta para clustered-md. El c\u00f3digo actual nunca establece el desplazamiento de ranura para los nodos del cl\u00faster, a veces causa fallos en el entorno del cl\u00faster. Rastreo de llamadas (parcialmente): md_bitmap_file_set_bit+0x110/0x1d8 [md_mod] md_bitmap_startwrite+0x13c/0x240 [md_mod] raid1_make_request+0x6b0/0x1c08 [raid1] md_handle_request+0x1dc/0x368 [md_submit_bio+0x8 0/0xf8 [md_mod] __submit_bio+0x178/ 0x300 enviar_bio_noacct_nocheck+0x11c/0x338 enviar_bio_noacct+0x134/0x614 enviar_bio+0x28/0xdc enviar_bh_wbc+0x130/0x1cc enviar_bh+0x1c/0x28\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/md/md-bitmap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"d7038f951828da19fa9aafddfa087b69032c9687\",\"lessThan\":\"736ad6c577a367834118f57417038d45bb5e0a31\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d7038f951828da19fa9aafddfa087b69032c9687\",\"lessThan\":\"55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d7038f951828da19fa9aafddfa087b69032c9687\",\"lessThan\":\"5a95815b17428ce2f56ec18da5e0d1b2a1a15240\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d7038f951828da19fa9aafddfa087b69032c9687\",\"lessThan\":\"ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/md/md-bitmap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.6\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.6\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.24\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.7.12\",\"lessThanOrEqual\":\"6.7.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.8.3\",\"lessThanOrEqual\":\"6.8.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.9\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-06-12T15:19:46.019142Z\",\"id\":\"CVE-2024-35787\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6\",\"versionEndExcluding\":\"6.6.24\",\"matchCriteriaId\":\"0A32A237-A8EE-4654-9BB7-94C95ED898F1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.7.12\",\"matchCriteriaId\":\"6BE9771A-BAFD-4624-95F9-58D536540C53\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.8\",\"versionEndExcluding\":\"6.8.3\",\"matchCriteriaId\":\"4C59BBC3-6495-4A77-9C82-55EC7CDF5E02\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5a95815b17428ce2f56ec18da5e0d1b2a1a15240\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/736ad6c577a367834118f57417038d45bb5e0a31\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5a95815b17428ce2f56ec18da5e0d1b2a1a15240\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/736ad6c577a367834118f57417038d45bb5e0a31\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T19:06:22+00:00",
      "cve": "CVE-2024-35787",
      "id": "CVE-2024-35787",
      "initial_release_date": "2024-05-17T00:00:00+00:00",
      "product_status:fixed": "280",
      "product_status:known_affected": "50",
      "product_status:known_not_affected": "70",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: md/md-bitmap: fix incorrect usage for sb_index",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-35787.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T13:55:55Z",
      "cve": "CVE-2024-35787",
      "id": "CVE-2024-35787",
      "initial_release_date": "2024-05-21T02:00:23Z",
      "product_status:known_not_affected": "628",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-35787",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-35787.json",
      "version": "40"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/736ad6c577a367834118f57417038d45bb5e0a31\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/5a95815b17428ce2f56ec18da5e0d1b2a1a15240\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:21:47.386Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35787\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-12T15:19:46.019142Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-12T15:19:55.307Z\"}}], \"cna\": {\"title\": \"md/md-bitmap: fix incorrect usage for sb_index\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The vulnerable code is reached through the local block-I/O path (`submit_bio` \\u2192 `md_submit_bio` \\u2192 `raid1_make_request` \\u2192 `md_bitmap_startwrite`) on a clustered md array; no network protocol handler processes attacker data here.\\nAC:L - On any cluster node whose slot is non-zero (every node but DLM slot 1), the index computation is unconditionally negative, so the out-of-bounds `set_bit()` fires on the first write to each bitmap chunk \\u2014 deterministic, with no race and no memory-layout precondition the attacker cannot influence.\\nPR:L - Clustered md arrays are deployed under shared filesystems (GFS2/OCFS2), so any unprivileged local user with write access to a file generates the bios that reach `md_bitmap_startwrite`; there is no capability check on the path from `write()` to `md_bitmap_file_set_bit()`.\\nUI:N - The attacker simply issues writes to the array; no action by any other user or administrator is needed at exploitation time.\\nS:U - The corrupted memory is kernel slab memory belonging to the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\\nC:H - `md_bitmap_file_clear_bit()` performs an out-of-bounds `test_page_attr()` read before the `filemap_attr` allocation, and the resulting slab corruption is a general heap-corruption primitive that can be leveraged to disclose kernel memory.\\nI:H - `set_bit()` with a negative bit number writes into slab memory preceding the `filemap_attr` buffer at an offset the attacker steers by choosing the written file offset, giving a controlled OOB bit-set usable for heap corruption; additionally the write-intent bitmap is never marked dirty, so the on-disk bitmap goes stale and RAID resync produces inconsistent data.\\nA:H - The commit states the bug \\\"will sometimes cause crash in clustered env\\\" and includes an oops trace through `md_bitmap_file_set_bit`; slab corruption from repeated OOB writes readily panics the node.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"d7038f951828da19fa9aafddfa087b69032c9687\", \"lessThan\": \"736ad6c577a367834118f57417038d45bb5e0a31\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"d7038f951828da19fa9aafddfa087b69032c9687\", \"lessThan\": \"55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"d7038f951828da19fa9aafddfa087b69032c9687\", \"lessThan\": \"5a95815b17428ce2f56ec18da5e0d1b2a1a15240\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"d7038f951828da19fa9aafddfa087b69032c9687\", \"lessThan\": \"ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/md/md-bitmap.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.6\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.6\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.24\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.7.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.7.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/md/md-bitmap.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/736ad6c577a367834118f57417038d45bb5e0a31\"}, {\"url\": \"https://git.kernel.org/stable/c/55e55eb65fd5e09faf5a0e49ffcdd37905aaf4da\"}, {\"url\": \"https://git.kernel.org/stable/c/5a95815b17428ce2f56ec18da5e0d1b2a1a15240\"}, {\"url\": \"https://git.kernel.org/stable/c/ecbd8ebb51bf7e4939d83b9e6022a55cac44ef06\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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\u0027t use -\u003eindex for pages backing the\\nbitmap file\\\") removed page-\u003eindex 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\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.24\", \"versionStartIncluding\": \"6.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.7.12\", \"versionStartIncluding\": \"6.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8.3\", \"versionStartIncluding\": \"6.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9\", \"versionStartIncluding\": \"6.6\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T11:29:55.072Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-35787\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T11:29:55.072Z\", \"dateReserved\": \"2024-05-17T12:19:12.338Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-17T12:24:35.137Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…