Bug 2307897 (CVE-2024-44938) - CVE-2024-44938 kernel: jfs: Fix shift-out-of-bounds in dbDiscardAG
Summary: CVE-2024-44938 kernel: jfs: Fix shift-out-of-bounds in dbDiscardAG
Keywords:
Status: NEW
Alias: CVE-2024-44938
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2308138
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-26 12:20 UTC by OSIDB Bzimport
Modified: 2024-08-28 15:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-08-26 12:20:34 UTC
In the Linux kernel, the following vulnerability has been resolved:

jfs: Fix shift-out-of-bounds in dbDiscardAG

When searching for the next smaller log2 block, BLKSTOL2() returned 0,
causing shift exponent -1 to be negative.

This patch fixes the issue by exiting the loop directly when negative
shift is found.

Comment 1 Mauro Matteo Cascella 2024-08-27 12:19:55 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024082616-CVE-2024-44938-fc08@gregkh/T


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