CVE-2024-46833

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46833
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46833.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46833
Downstream
Published
2024-09-27T12:39:30Z
Modified
2025-10-17T12:15:45.923186Z
Summary
net: hns3: void array out of bound when loop tnl_num
Details

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

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8a4bda8cb9e43e1fae96c4c4aa94069f49dc3a68
Fixed
c33a9806dc806bcb4a31dc71fb06979219181ad4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8a4bda8cb9e43e1fae96c4c4aa94069f49dc3a68
Fixed
86db7bfb06704ef17340eeae71c832f21cfce35c

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.2
v6.10.3
v6.10.4
v6.10.5
v6.10.6
v6.10.7
v6.10.8
v6.10.9
v6.11-rc1
v6.11-rc2
v6.9
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "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"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.10