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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-08-26 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-44938, DEBIAN-CVE-2024-44938
- Record: https://cvemate.com/vulnerability/CVE-2024-44938 · JSON: https://cvemate.com/vulnerability/CVE-2024-44938/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.226%, percentile 14.143%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- debian linux (Debian): \< 6.1.112-1 \| \< 6.10.6-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-266.300 \| \< 4.15.0-235.247 \| \< 5.4.0-211.231 \| \< 5.15.0-135.146 \| \< 6.8.0-50.51
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1141.147 \| \< 4.4.0-1179.194 \| \< 4.15.0-1178.191 \| \< 5.4.0-1142.152 \| \< 5.15.0-1080.87 \| \< 6.8.0-1020.22
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1080.87~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1020.22~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2116.122 \| All versions (No fix recorded) \| \< 5.4.0-1142.153+fips1 \| \< 5.15.0-1080.87+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1178.191~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1186.201~14.04.1 \| \< 4.15.0-1186.201~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1147.154 \| \< 5.15.0-1084.93 \| \< 6.8.0-1020.23
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1186.201
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 46)

- <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>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-44938>
- <https://www.cve.org/CVERecord?id=CVE-2024-44938>
- <https://git.kernel.org/linus/7063b80268e2593e58bee8a8d709c2f3ff93e2f2>
- <https://ubuntu.com/security/notices/USN-7154-1>
- <https://ubuntu.com/security/notices/USN-7155-1>
- <https://ubuntu.com/security/notices/USN-7156-1>
- <https://ubuntu.com/security/notices/USN-7154-2>
- <https://ubuntu.com/security/notices/USN-7196-1>
- <https://ubuntu.com/security/notices/USN-7332-1>
- <https://ubuntu.com/security/notices/USN-7342-1>
- <https://ubuntu.com/security/notices/USN-7344-1>
- <https://ubuntu.com/security/notices/USN-7332-2>

---

Data as of 2026-12-05T04:11:56.906Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
