CVE-2023-52783

Source
https://cve.org/CVERecord?id=CVE-2023-52783
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52783.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52783
Downstream
Related
Published
2024-05-21T15:31:01.598Z
Modified
2026-02-20T05:04:21.930881Z
Summary
net: wangxun: fix kernel panic due to null pointer
Details

In the Linux kernel, the following vulnerability has been resolved:

net: wangxun: fix kernel panic due to null pointer

When the device uses a custom subsystem vendor ID, the function wxswinit() returns before the memory of 'wx->mac_table' is allocated. The null pointer will causes the kernel panic.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52783.json"
}
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
79625f45ca73ef37c18a6e4b5b6ce7daa1e92683
Fixed
61a55071653974dab172d4c5d699bb365cfd13c9
Fixed
8ba2c459668cfe2aaacc5ebcd35b4b9ef8643013

Affected versions

v6.*
v6.2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.6.1
v6.6.2
v6.6.3
v6.7-rc1

Database specific

vanir_signatures
[
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "263731670559191784413012575560604913859",
                "240692316206117502142656267596369300906",
                "152331737088073310810135377796739595582",
                "311604166682301131295417024230410203756",
                "298868896534971407794047421272588140365",
                "64797497344357376222353716709355087356",
                "95953671615028828393942722440044873128"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/net/ethernet/wangxun/ngbe/ngbe_main.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ba2c459668cfe2aaacc5ebcd35b4b9ef8643013",
        "id": "CVE-2023-52783-189a7a24",
        "deprecated": false
    },
    {
        "signature_type": "Function",
        "digest": {
            "length": 929.0,
            "function_hash": "41682805436217366492416687359642130341"
        },
        "signature_version": "v1",
        "target": {
            "function": "wx_sw_init",
            "file": "drivers/net/ethernet/wangxun/libwx/wx_hw.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61a55071653974dab172d4c5d699bb365cfd13c9",
        "id": "CVE-2023-52783-21cc44b7",
        "deprecated": false
    },
    {
        "signature_type": "Function",
        "digest": {
            "length": 1110.0,
            "function_hash": "202028438787446138815160449004183504992"
        },
        "signature_version": "v1",
        "target": {
            "function": "ngbe_sw_init",
            "file": "drivers/net/ethernet/wangxun/ngbe/ngbe_main.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ba2c459668cfe2aaacc5ebcd35b4b9ef8643013",
        "id": "CVE-2023-52783-47c81f5d",
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "85309729180136836805774134675364062429",
                "278901867600066487499421765860395044255",
                "66381057217679320782589557839455253234",
                "246952649490208557481857453462744293988",
                "269982010092425885045786799182585785487",
                "260630668973627960133503229768505354465"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/net/ethernet/wangxun/libwx/wx_hw.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ba2c459668cfe2aaacc5ebcd35b4b9ef8643013",
        "id": "CVE-2023-52783-69873738",
        "deprecated": false
    },
    {
        "signature_type": "Function",
        "digest": {
            "length": 1110.0,
            "function_hash": "202028438787446138815160449004183504992"
        },
        "signature_version": "v1",
        "target": {
            "function": "ngbe_sw_init",
            "file": "drivers/net/ethernet/wangxun/ngbe/ngbe_main.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61a55071653974dab172d4c5d699bb365cfd13c9",
        "id": "CVE-2023-52783-6ecbe8c5",
        "deprecated": false
    },
    {
        "signature_type": "Function",
        "digest": {
            "length": 1057.0,
            "function_hash": "336716226724313436057537076669831132954"
        },
        "signature_version": "v1",
        "target": {
            "function": "txgbe_sw_init",
            "file": "drivers/net/ethernet/wangxun/txgbe/txgbe_main.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ba2c459668cfe2aaacc5ebcd35b4b9ef8643013",
        "id": "CVE-2023-52783-759dfcc7",
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "263731670559191784413012575560604913859",
                "240692316206117502142656267596369300906",
                "152331737088073310810135377796739595582",
                "311604166682301131295417024230410203756",
                "298868896534971407794047421272588140365",
                "64797497344357376222353716709355087356",
                "95953671615028828393942722440044873128"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/net/ethernet/wangxun/ngbe/ngbe_main.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61a55071653974dab172d4c5d699bb365cfd13c9",
        "id": "CVE-2023-52783-afe5e242",
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "85309729180136836805774134675364062429",
                "278901867600066487499421765860395044255",
                "66381057217679320782589557839455253234",
                "246952649490208557481857453462744293988",
                "269982010092425885045786799182585785487",
                "260630668973627960133503229768505354465"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/net/ethernet/wangxun/libwx/wx_hw.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61a55071653974dab172d4c5d699bb365cfd13c9",
        "id": "CVE-2023-52783-c4957569",
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "180089626515473932161291133484563651080",
                "8292588992095324648553873241126575463",
                "152331737088073310810135377796739595582",
                "311604166682301131295417024230410203756",
                "307157417121037232134328100792065124984",
                "205747542329498353510864762472531328606",
                "143650999754380512961303191554261526119"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/net/ethernet/wangxun/txgbe/txgbe_main.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ba2c459668cfe2aaacc5ebcd35b4b9ef8643013",
        "id": "CVE-2023-52783-d18aa0dd",
        "deprecated": false
    },
    {
        "signature_type": "Function",
        "digest": {
            "length": 1057.0,
            "function_hash": "336716226724313436057537076669831132954"
        },
        "signature_version": "v1",
        "target": {
            "function": "txgbe_sw_init",
            "file": "drivers/net/ethernet/wangxun/txgbe/txgbe_main.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61a55071653974dab172d4c5d699bb365cfd13c9",
        "id": "CVE-2023-52783-f1fe143c",
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "180089626515473932161291133484563651080",
                "8292588992095324648553873241126575463",
                "152331737088073310810135377796739595582",
                "311604166682301131295417024230410203756",
                "307157417121037232134328100792065124984",
                "205747542329498353510864762472531328606",
                "143650999754380512961303191554261526119"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "target": {
            "file": "drivers/net/ethernet/wangxun/txgbe/txgbe_main.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61a55071653974dab172d4c5d699bb365cfd13c9",
        "id": "CVE-2023-52783-f4f72b46",
        "deprecated": false
    },
    {
        "signature_type": "Function",
        "digest": {
            "length": 929.0,
            "function_hash": "41682805436217366492416687359642130341"
        },
        "signature_version": "v1",
        "target": {
            "function": "wx_sw_init",
            "file": "drivers/net/ethernet/wangxun/libwx/wx_hw.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ba2c459668cfe2aaacc5ebcd35b4b9ef8643013",
        "id": "CVE-2023-52783-f6db87af",
        "deprecated": false
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52783.json"

Git / github.com/gregkh/linux

Affected ranges

Type
GIT
Repo
https://github.com/gregkh/linux
Events

Affected versions

v6.*
v6.3
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.6.1
v6.6.2
v6.6.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52783.json"