CVE-2024-44938

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

No CVSS score yet EPSS 0.23%

Published 26 Aug 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-44938

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-44938 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before bb7c605a754823b86dd74f6537ccb9d38a9dec5a
affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9
affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before bd04a149e3a29e7f71b7956ed41dba34e42d539e
affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before f650148b43949ca9e37e820804bb6026fff404f3
affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 234e6ea0855cdb5673d54ecaf7dc5c78f3e84630
affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 7063b80268e2593e58bee8a8d709c2f3ff93e2f2
Other versions: unaffected
Linux
affected 3.7
unaffected before 3.7
unaffected from 5.10.237 up to and including 5.10.*
unaffected from 5.15.181 up to and including 5.15.*
unaffected from 6.1.107 up to and including 6.1.*
unaffected from 6.6.47 up to and including 6.6.*
unaffected from 6.10.6 up to and including 6.10.*
unaffected 6.11 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-44938 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-44938

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-44938
trivy image --scanners vuln IMAGE | grep CVE-2024-44938

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-44938 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.