CVE-2024-44938

medium

Description

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.

References

https://git.kernel.org/stable/c/f650148b43949ca9e37e820804bb6026fff404f3

https://git.kernel.org/stable/c/bd04a149e3a29e7f71b7956ed41dba34e42d539e

https://git.kernel.org/stable/c/7063b80268e2593e58bee8a8d709c2f3ff93e2f2

https://git.kernel.org/stable/c/234e6ea0855cdb5673d54ecaf7dc5c78f3e84630

Details

Source: Mitre, NVD

Published: 2024-08-26

Updated: 2024-09-12

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium