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

# CVE-2024-35859

In the Linux kernel, the following vulnerability has been resolved: block: fix module reference leakage from bdev_open_by_dev error path At the time bdev_may_open() is called, module reference is grabbed already, hence module reference should be released if bdev_may_open() failed. This problem is found by code review.

CVE-2024-35859 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-1013.14 |
| Ubuntu | noble | linux-aws-tools-6.8.0-1008 | 6.8.0-1008.8 | 6.8.0-1013.14 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1012.14 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1012.14 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1012.14 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1008.11 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1012.14 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1012.13 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1013.14 |
| Ubuntu | noble | linux-buildinfo-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-buildinfo-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-40.40.1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1012.14 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-31 | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-40.40.1 |
| Ubuntu | noble | linux-cloud-tools-common | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-doc | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1012.13 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1012.13 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1003 | 6.8.0-1003.5 | 6.8.0-1008.11 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1003 | 6.8.0-1003.5 | 6.8.0-1008.11 |
| Ubuntu | noble | linux-headers-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1008.11 |
| Ubuntu | noble | linux-headers-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-headers-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-headers-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1012.14 |
| Ubuntu | noble | linux-headers-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1012.13 |
| Ubuntu | noble | linux-headers-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1013.14 |
| Ubuntu | noble | linux-headers-6.8.0-31 | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-headers-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-headers-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-40.40.1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1005 | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1005 | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-ibm-tools-common | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1008.11 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1010.10 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1012.14 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1012.13 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1013.14 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-40.40.1 |
| Ubuntu | noble | linux-libc-dev | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-lib-rust-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-40.40 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-31 | 6.8.0-31.31.1 | 6.8.0-40.40.1 |

_Showing 100 of 143 total affected builds._
