CVE-2024-41077

published 29 Jul 2024 · updated 11 May 2026

null_blk: fix validation of block size

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 08f03186b96e25e3154916a2e70732557c770ea7, Kernel 2772ed2fc075eef7df3789906fc9dae01e4e132e, Kernel 9625afe1dd4a158a14bb50f81af9e2dac634c0b1 and 3 more.

In the Linux kernel, the following vulnerability has been resolved: null_blk: fix validation of block size Block size should be between 512 and PAGE_SIZE and be a power of 2. The current check does not validate this, so update the check. Without this patch, null_blk would Oops due to a null pointer deref when loaded with bs=1536 [1]. [axboe: remove unnecessary braces and != 0 check]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.14, >=cedcafad8277b3a07e90bf2f68fff5c6b28a183e <08f03186b96e25e3154916a2e70732557c770ea7, >=cedcafad8277b3a07e90bf2f68fff5c6b28a183e <2772ed2fc075eef7df3789906fc9dae01e4e132e, >=cedcafad8277b3a07e90bf2f68fff5c6b28a183e <9625afe1dd4a158a14bb50f81af9e2dac634c0b1, >=cedcafad8277b3a07e90bf2f68fff5c6b28a183e <9b873bdaae64bddade9d8c6df23c8a31948d47d0, >=cedcafad8277b3a07e90bf2f68fff5c6b28a183e <c462ecd659b5fce731f1d592285832fd6ad54053, >=cedcafad8277b3a07e90bf2f68fff5c6b28a183e <f92409a9da02f27d05d713bff5f865e386cef9b308f03186b96e25e3154916a2e70732557c770ea7, 2772ed2fc075eef7df3789906fc9dae01e4e132e, 9625afe1dd4a158a14bb50f81af9e2dac634c0b1, 9b873bdaae64bddade9d8c6df23c8a31948d47d0, c462ecd659b5fce731f1d592285832fd6ad54053, f92409a9da02f27d05d713bff5f865e386cef9b3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-41077 severity on Zeptric[![CVE-2024-41077](https://zeptric.io/badge/cve/CVE-2024-41077.svg)](https://zeptric.io/cve/CVE-2024-41077)