CVE-2024-35859
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-35859 is a vulnerability in the Linux kernel related to module reference leakage in the block device subsystem. The issue was discovered through code review and affects the bdev_open_by_dev error path. The vulnerability was disclosed on May 17, 2024, and specifically involves a condition where module references are not properly released when bdev_may_open() fails (NVD).

Technical details

The vulnerability stems from a module reference handling issue in the Linux kernel's block device subsystem. When bdev_may_open() is called, a module reference is already grabbed, but it fails to release this reference if bdev_may_open() fails. This issue was introduced in commit ed5cc702d311 which added a configuration option to prevent writing to mounted devices. The fix involves modifying the error handling path in block/bdev.c to properly release the module reference by changing the error jump target from 'abort_claiming' to 'put_module' (Kernel Commit). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to module reference leakage in the Linux kernel, potentially causing resource management issues. The CVSS scoring indicates that while the vulnerability requires local access and low privileges, it could potentially lead to high availability impacts on the affected system (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. It was discovered through code review rather than active exploitation, and there are no known instances of this vulnerability being exploited in the wild (NVD).

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions. Ubuntu has released fixes in version 6.8.0-40.40 for 24.04 LTS (noble) and corresponding versions for other supported releases. The fix involves a one-line code change in block/bdev.c to correct the error handling path (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74576HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-6.17
NoYesAug 15, 2026
CVE-2026-74578HIGH7.1
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.8
NoYesAug 16, 2026
CVE-2026-74579LOW3.4
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesAug 17, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • perf
NoNoAug 21, 2026
CVE-2026-74577NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules-extra
NoYesAug 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management