In the Linux kernel, the following vulnerability has been resolved:
phy: marvell: a3700-comphy: Fix out of bounds read
There is an out of bounds read access of 'gbephyinitfix[fixidx].addr' every iteration after 'fixidx' reaches 'ARRAYSIZE(gbephyinit_fix)'.
Make sure 'gbephyinit[addr]' is used when all elements of 'gbephyinit_fix' array are handled.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[
{
"id": "CVE-2024-35992-0273a910",
"signature_version": "v1",
"digest": {
"function_hash": "175647109965766558630677138686388073856",
"length": 371.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@40406dfbc060503d2e0a9e637e98493c54997b3d",
"target": {
"file": "drivers/phy/marvell/phy-mvebu-a3700-comphy.c",
"function": "comphy_gbe_phy_init"
}
},
{
"id": "CVE-2024-35992-1a30d784",
"signature_version": "v1",
"digest": {
"function_hash": "175647109965766558630677138686388073856",
"length": 371.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@610f175d2e16fb2436ba7974b990563002c20d07",
"target": {
"file": "drivers/phy/marvell/phy-mvebu-a3700-comphy.c",
"function": "comphy_gbe_phy_init"
}
},
{
"id": "CVE-2024-35992-3f40e225",
"signature_version": "v1",
"digest": {
"function_hash": "175647109965766558630677138686388073856",
"length": 371.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e4308bc22b9d46cf33165c9dfaeebcf29cd56f04",
"target": {
"file": "drivers/phy/marvell/phy-mvebu-a3700-comphy.c",
"function": "comphy_gbe_phy_init"
}
},
{
"id": "CVE-2024-35992-517f43b7",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"213695758818304325947118274792859228738",
"32344410646996576467224006054230008957",
"227097042767863948965648200662263610867",
"42962018484905294233132014562800442108",
"292701465886569654987107284166100498325",
"12115273304162274516304963350326177535",
"1885872106547095646317610320600937901"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@976df695f579bbb2914114b4e9974fe4ed1eb813",
"target": {
"file": "drivers/phy/marvell/phy-mvebu-a3700-comphy.c"
}
},
{
"id": "CVE-2024-35992-5484da97",
"signature_version": "v1",
"digest": {
"function_hash": "175647109965766558630677138686388073856",
"length": 371.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@976df695f579bbb2914114b4e9974fe4ed1eb813",
"target": {
"file": "drivers/phy/marvell/phy-mvebu-a3700-comphy.c",
"function": "comphy_gbe_phy_init"
}
},
{
"id": "CVE-2024-35992-737a0ed1",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"213695758818304325947118274792859228738",
"32344410646996576467224006054230008957",
"227097042767863948965648200662263610867",
"42962018484905294233132014562800442108",
"292701465886569654987107284166100498325",
"12115273304162274516304963350326177535",
"1885872106547095646317610320600937901"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e4308bc22b9d46cf33165c9dfaeebcf29cd56f04",
"target": {
"file": "drivers/phy/marvell/phy-mvebu-a3700-comphy.c"
}
},
{
"id": "CVE-2024-35992-7de8dadf",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"213695758818304325947118274792859228738",
"32344410646996576467224006054230008957",
"227097042767863948965648200662263610867",
"42962018484905294233132014562800442108",
"292701465886569654987107284166100498325",
"12115273304162274516304963350326177535",
"1885872106547095646317610320600937901"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@40406dfbc060503d2e0a9e637e98493c54997b3d",
"target": {
"file": "drivers/phy/marvell/phy-mvebu-a3700-comphy.c"
}
},
{
"id": "CVE-2024-35992-bb52509a",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"213695758818304325947118274792859228738",
"32344410646996576467224006054230008957",
"227097042767863948965648200662263610867",
"42962018484905294233132014562800442108",
"292701465886569654987107284166100498325",
"12115273304162274516304963350326177535",
"1885872106547095646317610320600937901"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@610f175d2e16fb2436ba7974b990563002c20d07",
"target": {
"file": "drivers/phy/marvell/phy-mvebu-a3700-comphy.c"
}
}
]