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.
[
{
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "fs/jfs/jfs_dmap.c",
"function": "dbAdjTree"
},
"id": "CVE-2024-56595-35178650",
"deprecated": false,
"digest": {
"function_hash": "233256549871905289025661669738613335215",
"length": 633.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b15000bcbecf27e0f7c0f149a409e5b865e28ca2"
},
{
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "fs/jfs/jfs_dmap.c"
},
"id": "CVE-2024-56595-3a2de94d",
"deprecated": false,
"digest": {
"line_hashes": [
"327216181307083960171478665513359790359",
"62760965540235956515935815958253702813",
"245006601459911004077662767578752937725",
"49486029077440631072371486109617982931"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8a4311bbde702362fe7412045d06ab6767235dac"
},
{
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "fs/jfs/jfs_dmap.c"
},
"id": "CVE-2024-56595-3cbd9e88",
"deprecated": false,
"digest": {
"line_hashes": [
"327216181307083960171478665513359790359",
"62760965540235956515935815958253702813",
"245006601459911004077662767578752937725",
"49486029077440631072371486109617982931"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b15000bcbecf27e0f7c0f149a409e5b865e28ca2"
},
{
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "fs/jfs/jfs_dmap.c"
},
"id": "CVE-2024-56595-4df65f83",
"deprecated": false,
"digest": {
"line_hashes": [
"327216181307083960171478665513359790359",
"62760965540235956515935815958253702813",
"245006601459911004077662767578752937725",
"49486029077440631072371486109617982931"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@368a533152220b0a6f1142327d96c6b6361f3002"
},
{
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "fs/jfs/jfs_dmap.c",
"function": "dbAdjTree"
},
"id": "CVE-2024-56595-57d42564",
"deprecated": false,
"digest": {
"function_hash": "233256549871905289025661669738613335215",
"length": 633.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b5d21b56c3774bc84eab0a93aaac22a4475e2c4"
},
{
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "fs/jfs/jfs_dmap.c",
"function": "dbAdjTree"
},
"id": "CVE-2024-56595-71d70518",
"deprecated": false,
"digest": {
"function_hash": "233256549871905289025661669738613335215",
"length": 633.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a174706ba4dad895c40b1d2277bade16dfacdcd9"
},
{
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "fs/jfs/jfs_dmap.c",
"function": "dbAdjTree"
},
"id": "CVE-2024-56595-71fbd42d",
"deprecated": false,
"digest": {
"function_hash": "233256549871905289025661669738613335215",
"length": 633.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@368a533152220b0a6f1142327d96c6b6361f3002"
},
{
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "fs/jfs/jfs_dmap.c"
},
"id": "CVE-2024-56595-72842a82",
"deprecated": false,
"digest": {
"line_hashes": [
"327216181307083960171478665513359790359",
"62760965540235956515935815958253702813",
"245006601459911004077662767578752937725",
"49486029077440631072371486109617982931"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3d408870bc19b794646871bc4c3a5daa66f91c5"
},
{
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "fs/jfs/jfs_dmap.c",
"function": "dbAdjTree"
},
"id": "CVE-2024-56595-793b43e4",
"deprecated": false,
"digest": {
"function_hash": "233256549871905289025661669738613335215",
"length": 633.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@491487eeddccc4bb49f2e59d8c8f35bec89c15ca"
},
{
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "fs/jfs/jfs_dmap.c"
},
"id": "CVE-2024-56595-95432312",
"deprecated": false,
"digest": {
"line_hashes": [
"327216181307083960171478665513359790359",
"62760965540235956515935815958253702813",
"245006601459911004077662767578752937725",
"49486029077440631072371486109617982931"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@491487eeddccc4bb49f2e59d8c8f35bec89c15ca"
},
{
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "fs/jfs/jfs_dmap.c",
"function": "dbAdjTree"
},
"id": "CVE-2024-56595-9b494158",
"deprecated": false,
"digest": {
"function_hash": "233256549871905289025661669738613335215",
"length": 633.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3d408870bc19b794646871bc4c3a5daa66f91c5"
},
{
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "fs/jfs/jfs_dmap.c"
},
"id": "CVE-2024-56595-a3a8f074",
"deprecated": false,
"digest": {
"line_hashes": [
"327216181307083960171478665513359790359",
"62760965540235956515935815958253702813",
"245006601459911004077662767578752937725",
"49486029077440631072371486109617982931"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a174706ba4dad895c40b1d2277bade16dfacdcd9"
},
{
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "fs/jfs/jfs_dmap.c",
"function": "dbAdjTree"
},
"id": "CVE-2024-56595-c3a802a8",
"deprecated": false,
"digest": {
"function_hash": "233256549871905289025661669738613335215",
"length": 633.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8a4311bbde702362fe7412045d06ab6767235dac"
},
{
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "fs/jfs/jfs_dmap.c"
},
"id": "CVE-2024-56595-f66592fc",
"deprecated": false,
"digest": {
"line_hashes": [
"327216181307083960171478665513359790359",
"62760965540235956515935815958253702813",
"245006601459911004077662767578752937725",
"49486029077440631072371486109617982931"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b5d21b56c3774bc84eab0a93aaac22a4475e2c4"
}
]