5.5medium
jfs: Fix shift-out-of-bounds in dbDiscardAG
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.30% (higher than 16% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b40c2e665cd552eae5fbdbb878bc29a34357668e before bb7c605a754823b86dd74f6537ccb9d38a9dec5a, from b40c2e665cd552eae5fbdbb878bc29a34357668e before 4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9, from b40c2e665cd552eae5fbdbb878bc29a34357668e before bd04a149e3a29e7f71b7956ed41dba34e42d539e, from b40c2e665cd552eae5fbdbb878bc29a34357668e before f650148b43949ca9e37e820804bb6026fff404f3, from b40c2e665cd552eae5fbdbb878bc29a34357668e before 234e6ea0855cdb5673d54ecaf7dc5c78f3e84630, from b40c2e665cd552eae5fbdbb878bc29a34357668e before 7063b80268e2593e58bee8a8d709c2f3ff93e2f2, 3.7 Not affected: before 3.7, from 5.10.237 up to 5.10.*, from 5.15.181 up to 5.15.*, from 6.1.107 up to 6.1.*, from 6.6.47 up to 6.6.*, from 6.10.6 up to 6.10.* | CVE List |
| linux linux_kernel | before 6.6.47, from 6.7 before 6.10.6 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: jfs: corrigió el desplazamiento fuera de los límites en dbDiscardAG Al buscar el siguiente bloque log2 más pequeño, BLKSTOL2() devolvió 0, lo que provocó que el exponente de desplazamiento -1 fuera negativo. Este parche soluciona el problema saliendo del bucle directamente cuando se encuentra un cambio negativo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-44938 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-44938 changed 2026-06-17 | Public domain |