CVE-2024-56595Published Dec 27, 2024 · Dec 27Updated Oct 28
jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 8a4311bbde702362fe7412045d06ab6767235dac| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
When the value of lp is 0 at the beginning of the for loop, it will become negative in the next assignment and we should bail out.
From the CVE record · Linux
The Linux kernel's jfs dbAdjTree can access an array out of bounds when lp starts at zero and becomes negative in a loop. The input does not establish how an attacker could trigger this condition or whether access or user interaction is required.
Anyone running the Linux kernel should check their version; affected versions are not specified.