jfs: check if leafidx greater than num leaves per dmap tree
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 7fff9a9f866e99931cf6fa260288e55d01626582| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
jfs: check if leafidx greater than num leaves per dmap tree
syzbot report a out of bounds in dbSplit, it because dmt_leafidx greater than num leaves per dmap tree, add a checking for dmt_leafidx in dbFindLeaf.
Shaggy: Modified sanity check to apply to control pages as well as leaf pages.
From the CVE record · Linux
The Linux kernel's JFS code can access memory out of bounds in dbSplit when a leaf index exceeds the number of leaves in a dmap tree. The input does not specify how an attacker could trigger this issue or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with JFS should check their deployments; affected versions are not specified.