jfs: fix array-index-out-of-bounds in dbAdjTree
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 2e16a1389b5a7983b45cb2aa20b0e3f0ee364d6c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
jfs: fix array-index-out-of-bounds in dbAdjTree
Currently there is a bound check missing in the dbAdjTree while accessing the dmt_stree. To add the required check added the bool is_ctl which is required to determine the size as suggest in the following commit. https://lore.kernel.org/linux-kernel-mentees/f9475918-2186-49b8-b801-6f0f9e75f4fa@oracle.com/
From the CVE record · Linux
The Linux kernel’s jfs dbAdjTree function lacks a bounds check when accessing dmt_stree. This can cause an out-of-bounds array access; the input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with jfs should check their versions; affected versions are not specified.