Bug 2300454 (CVE-2024-41077) - CVE-2024-41077 kernel: null_blk: fix validation of block size
Summary: CVE-2024-41077 kernel: null_blk: fix validation of block size
Keywords:
Status: NEW
Alias: CVE-2024-41077
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301643
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-29 15:50 UTC by OSIDB Bzimport
Modified: 2024-11-12 09:37 UTC (History)
5 users (show)

Fixed In Version: kernel 5.10.223, kernel 5.15.164, kernel 6.1.101, kernel 6.6.42, kernel 6.9.11, kernel 6.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:9315 0 None None None 2024-11-12 09:37:15 UTC

Description OSIDB Bzimport 2024-07-29 15:50:56 UTC
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]

Comment 1 Mauro Matteo Cascella 2024-07-30 14:02:13 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072910-CVE-2024-41077-9c88@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 14:02:35 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301643]

Comment 7 errata-xmlrpc 2024-11-12 09:37:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9315 https://access.redhat.com/errata/RHSA-2024:9315


Note You need to log in before you can comment on or make changes to this bug.