CVE-2024-44938Published Aug 26, 2024 · Aug 26Updated Oct 28
jfs: Fix shift-out-of-bounds in dbDiscardAG
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b40c2e665cd552eae5fbdbb878bc29a34357668e · < 7063b80268e2593e58bee8a8d709c2f3ff93e2f2| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's jfs dbDiscardAG can use a negative shift exponent when BLKSTOL2() returns 0 while searching for the next smaller log2 block. The input does not establish what an attacker could do or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their systems; affected versions are not specified.