Bug 2263879 (CVE-2024-25739) - CVE-2024-25739 kernel: crash due to a missing check for leb_size
Summary: CVE-2024-25739 kernel: crash due to a missing check for leb_size
Keywords:
Status: NEW
Alias: CVE-2024-25739
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2263887
Blocks: 2263882
TreeView+ depends on / blocked
 
Reported: 2024-02-12 15:02 UTC by ybuenos
Modified: 2025-05-06 07:07 UTC (History)
49 users (show)

Fixed In Version: kernel 6.9-rc1
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:5117 0 None None None 2024-08-08 08:32:36 UTC
Red Hat Product Errata RHBA-2024:5207 0 None None None 2024-08-12 07:52:15 UTC
Red Hat Product Errata RHBA-2024:5208 0 None None None 2024-08-12 08:32:42 UTC
Red Hat Product Errata RHBA-2024:5233 0 None None None 2024-08-12 13:50:38 UTC
Red Hat Product Errata RHBA-2024:5235 0 None None None 2024-08-12 14:23:01 UTC
Red Hat Product Errata RHBA-2024:5236 0 None None None 2024-08-12 14:39:07 UTC
Red Hat Product Errata RHBA-2024:5237 0 None None None 2024-08-12 14:44:04 UTC
Red Hat Product Errata RHBA-2024:5386 0 None None None 2024-08-14 10:46:58 UTC
Red Hat Product Errata RHBA-2024:5866 0 None None None 2024-08-26 14:38:34 UTC
Red Hat Product Errata RHSA-2024:5101 0 None None None 2024-08-08 04:52:01 UTC
Red Hat Product Errata RHSA-2024:5102 0 None None None 2024-08-08 04:40:19 UTC
Red Hat Product Errata RHSA-2024:9315 0 None None None 2024-11-12 09:18:27 UTC
Red Hat Product Errata RHSA-2025:4509 0 None None None 2025-05-06 07:07:36 UTC

Description ybuenos 2024-02-12 15:02:28 UTC
create_empty_lvol in drivers/mtd/ubi/vtbl.c in the Linux kernel through 6.7.4 can attempt to allocate zero bytes, and crash, because of a missing check for ubi->leb_size.

References:
https://groups.google.com/g/syzkaller/c/Xl97YcQA4hg
https://www.spinics.net/lists/kernel/msg5074816.html

Upstream patch:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=68a24aba7c593eafa8fd00f2f76407b9b32b47a9

Comment 2 ybuenos 2024-02-12 15:52:21 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2263887]

Comment 6 errata-xmlrpc 2024-08-08 04:40:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 7 errata-xmlrpc 2024-08-08 04:51:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 8 errata-xmlrpc 2024-11-12 09:18:24 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

Comment 9 errata-xmlrpc 2025-05-06 07:07:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:4509 https://access.redhat.com/errata/RHSA-2025:4509


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