CVE-2024-41077

null_blk: fix validation of block size

MEDIUM
5.5
CVSS Score
Published: July 29, 2024 at 02:57 PM UTC
Updated: June 17, 2026 at 07:47 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.10.2234.14 ≤ v < 5.10.2234.14 ≤ v < 5.15.1644.14 ≤ v < 6.1.1014.14 ≤ v < 6.104.14 ≤ v < 6.6.424.14 ≤ v < 6.9.115.11 ≤ v < 5.15.1645.16 ≤ v < 6.1.1016.2 ≤ v < 6.6.426.7 ≤ v < 6.9.116.10 rc16.10 rc2cedcafad8277b3a07e90bf2f68fff5c6b28a183e
Vendor states this is fixed in 08f03186b96e25e3154916a2e70732557c770ea7 (fixed)
Vendor states this is fixed in 2772ed2fc075eef7df3789906fc9dae01e4e132e (fixed)
Vendor states this is fixed in 9625afe1dd4a158a14bb50f81af9e2dac634c0b1 (fixed)
Vendor states this is fixed in 9b873bdaae64bddade9d8c6df23c8a31948d47d0 (fixed)
Vendor states this is fixed in c462ecd659b5fce731f1d592285832fd6ad54053 (fixed)
Vendor states this is fixed in f92409a9da02f27d05d713bff5f865e386cef9b3 (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 5.10.223 (unaffected)
Vendor states this is fixed in 5.15.164 (unaffected)
Vendor states this is fixed in 6.1.101 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.42 (unaffected)
Vendor states this is fixed in 6.9.11 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/08f03186b96e25e3154916a2e70732557c770ea7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2772ed2fc075eef7df3789906fc9dae01e4e132e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9625afe1dd4a158a14bb50f81af9e2dac634c0b1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9b873bdaae64bddade9d8c6df23c8a31948d47d0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c462ecd659b5fce731f1d592285832fd6ad54053
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f92409a9da02f27d05d713bff5f865e386cef9b3
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card