In the Linux kernel, the following vulnerability has been resolved:
net: hns3: void array out of bound when loop tnl_num
When query reg inf of SSU, it loops tnlnum times. However, tnlnum comes from hardware and the length of array is a fixed value. To void array out of bound, make sure the loop time is not greater than the length of array
[
{
"digest": {
"length": 530.0,
"function_hash": "128416512161906648324400803325406563429"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c33a9806dc806bcb4a31dc71fb06979219181ad4",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c",
"function": "hclge_query_reg_info_of_ssu"
},
"id": "CVE-2024-46833-1c646222"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69836608715796138328315077329553280683",
"239295723673677665656351913112776199712",
"265288376541216235387616051166395712475",
"75036004779666626834690653359859902044",
"327726411192971868782988678176175888708",
"282653881199826927171346330051610703625",
"318447445048894348647247221391270816876",
"195978538242034619150559472986066909738",
"18749986903662838769205012816574605814"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86db7bfb06704ef17340eeae71c832f21cfce35c",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c"
},
"id": "CVE-2024-46833-52fc989b"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69836608715796138328315077329553280683",
"239295723673677665656351913112776199712",
"265288376541216235387616051166395712475",
"75036004779666626834690653359859902044",
"327726411192971868782988678176175888708",
"282653881199826927171346330051610703625",
"318447445048894348647247221391270816876",
"195978538242034619150559472986066909738",
"18749986903662838769205012816574605814"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c33a9806dc806bcb4a31dc71fb06979219181ad4",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c"
},
"id": "CVE-2024-46833-73a83aba"
},
{
"digest": {
"length": 530.0,
"function_hash": "128416512161906648324400803325406563429"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86db7bfb06704ef17340eeae71c832f21cfce35c",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c",
"function": "hclge_query_reg_info_of_ssu"
},
"id": "CVE-2024-46833-7a1db072"
}
]