CVE-2024-44938

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

State
Published
Severity
Not scored
Published
Aug 26, 2024
Updated
May 11, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b40c2e665cd552eae5fbdbb878bc29a34357668e to before bb7c605a754823b86dd74f6537ccb9d38a9dec5aAffected
  • b40c2e665cd552eae5fbdbb878bc29a34357668e to before 4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9Affected
  • b40c2e665cd552eae5fbdbb878bc29a34357668e to before bd04a149e3a29e7f71b7956ed41dba34e42d539eAffected
  • b40c2e665cd552eae5fbdbb878bc29a34357668e to before f650148b43949ca9e37e820804bb6026fff404f3Affected
  • b40c2e665cd552eae5fbdbb878bc29a34357668e to before 234e6ea0855cdb5673d54ecaf7dc5c78f3e84630Affected
  • b40c2e665cd552eae5fbdbb878bc29a34357668e to before 7063b80268e2593e58bee8a8d709c2f3ff93e2f2Affected
LinuxLinux
  • 3.7Affected
  • before 3.7Not affected
  • 5.10.237 through 5.10.*Not affected
  • 5.15.181 through 5.15.*Not affected
  • 6.1.107 through 6.1.*Not affected
  • 6.6.47 through 6.6.*Not affected
  • 6.10.6 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.