title: jfs: fix array-index-out-of-bounds in dbAdjTree
description: 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/
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 1da177e4c3f4, lessThan: 3d3898b4d72c, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 3f8217c323fd, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 2037cb9d95f1, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 8393c80cce45, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 70780914cb57, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 2e16a1389b5a, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: fc67a2e18f4c, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 74ecdda68242, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4.19.307, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.269, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.210, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.149, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 6.1.77, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.6.16, lessThanOrEqual: 6.6.*, status: unaffected, versionType: custom
version: 6.7.4, lessThanOrEqual: 6.7.*, status: unaffected, versionType: custom
version: 6.8, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
