---
title: "CVE-2024-35787"
canonical_url: "https://pkgseek.com/security/CVE-2024-35787"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2024-35787

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 -&gt;index for pages backing the bitmap file") removed page-&gt;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…

CVE-2024-35787 is rated MEDIUM, with 143 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM
- **Affected builds**: 143
- **Affected distros**: 3
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 9 | bpftool | 7.3.0-427.42.1.el9_4 | 7.4.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-abi-stablelists | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-devel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-devel-matched | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-modules | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-modules-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-modules-extra | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-uki-virt | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-devel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-devel-matched | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-doc | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-headers | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-modules | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-modules-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-modules-extra | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-tools | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-tools-libs | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-uki-virt | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | perf | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | python3-perf | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | rtla | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | rv | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | bpftool | 7.3.0-427.42.1.el9_4 | 7.4.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-abi-stablelists | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel-matched | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules-extra | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-uki-virt | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel-matched | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-doc | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-headers | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules-extra | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools-libs | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-uki-virt | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | perf | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | python3-perf | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | rtla | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | rv | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1008 | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-aws-tools-6.8.0-1008 | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-buildinfo-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-buildinfo-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-31 | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-cloud-tools-common | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-doc | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1003 | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1003 | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-headers-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-headers-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-headers-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-headers-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-headers-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-headers-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-headers-6.8.0-31 | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-headers-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-headers-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1005 | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1005 | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-ibm-tools-common | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-libc-dev | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-lib-rust-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-31 | 6.8.0-31.31.1 | 6.8.0-35.35.1 |

_Showing 100 of 143 total affected builds._
