CVE-2024-44938

Source
https://cve.org/CVERecord?id=CVE-2024-44938
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44938.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-44938
Downstream
Related
Published
2024-08-26T11:20:43.340Z
Modified
2026-05-18T05:58:57.517375132Z
Summary
jfs: Fix shift-out-of-bounds in dbDiscardAG
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/44xxx/CVE-2024-44938.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b40c2e665cd552eae5fbdbb878bc29a34357668e
Fixed
bb7c605a754823b86dd74f6537ccb9d38a9dec5a
Fixed
4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9
Fixed
bd04a149e3a29e7f71b7956ed41dba34e42d539e
Fixed
f650148b43949ca9e37e820804bb6026fff404f3
Fixed
234e6ea0855cdb5673d54ecaf7dc5c78f3e84630
Fixed
7063b80268e2593e58bee8a8d709c2f3ff93e2f2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44938.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.7.0
Fixed
5.10.237
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.181
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.107
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.47
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44938.json"