In the Linux kernel, the following vulnerability has been resolved:
net: lltemac: platformget_resource replaced by wrong function
The function platformgetresource was replaced with devmplatformioremapresourcebyname and is called using 0 as name.
This eventually ends up in platformgetresource_byname in the call stack, where it causes a null pointer in strcmp.
if (type == resource_type(r) && !strcmp(r->name, name))
It should have been replaced with devmplatformioremap_resource.
[ { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46efbdbc95a30951c2579caf97b6df2ee2b3bef3", "signature_version": "v1", "target": { "file": "drivers/net/ethernet/xilinx/ll_temac_main.c" }, "digest": { "line_hashes": [ "17820440176295008358399593995743110797", "304573917795166090343792905495738913614", "274012312523718380737763092934911832461", "286497040856294849636912211930805554701" ], "threshold": 0.9 }, "deprecated": false, "signature_type": "Line", "id": "CVE-2024-35796-26af4454" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d9395ba7f85bdb7af0b93272e537484ecbeff48", "signature_version": "v1", "target": { "file": "drivers/net/ethernet/xilinx/ll_temac_main.c" }, "digest": { "line_hashes": [ "17820440176295008358399593995743110797", "304573917795166090343792905495738913614", "274012312523718380737763092934911832461", "286497040856294849636912211930805554701" ], "threshold": 0.9 }, "deprecated": false, "signature_type": "Line", "id": "CVE-2024-35796-3262998f" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a38a829c8bc27d78552c28e582eb1d885d07d11", "signature_version": "v1", "target": { "file": "drivers/net/ethernet/xilinx/ll_temac_main.c" }, "digest": { "line_hashes": [ "17820440176295008358399593995743110797", "304573917795166090343792905495738913614", "274012312523718380737763092934911832461", "286497040856294849636912211930805554701" ], "threshold": 0.9 }, "deprecated": false, "signature_type": "Line", "id": "CVE-2024-35796-3ced7627" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@476eed5f1c22034774902a980aa48dc4662cb39a", "signature_version": "v1", "target": { "file": "drivers/net/ethernet/xilinx/ll_temac_main.c" }, "digest": { "line_hashes": [ "17820440176295008358399593995743110797", "304573917795166090343792905495738913614", "274012312523718380737763092934911832461", "286497040856294849636912211930805554701" ], "threshold": 0.9 }, "deprecated": false, "signature_type": "Line", "id": "CVE-2024-35796-a6d9bd8e" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92c0c29f667870f17c0b764544bdf22ce0e886a1", "signature_version": "v1", "target": { "file": "drivers/net/ethernet/xilinx/ll_temac_main.c" }, "digest": { "line_hashes": [ "17820440176295008358399593995743110797", "304573917795166090343792905495738913614", "274012312523718380737763092934911832461", "286497040856294849636912211930805554701" ], "threshold": 0.9 }, "deprecated": false, "signature_type": "Line", "id": "CVE-2024-35796-aa02aaf4" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e9edb569fd9f688d887e36db8170f6e22bafbc8", "signature_version": "v1", "target": { "file": "drivers/net/ethernet/xilinx/ll_temac_main.c" }, "digest": { "line_hashes": [ "17820440176295008358399593995743110797", "304573917795166090343792905495738913614", "274012312523718380737763092934911832461", "286497040856294849636912211930805554701" ], "threshold": 0.9 }, "deprecated": false, "signature_type": "Line", "id": "CVE-2024-35796-b80c0c48" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@553d294db94b5f139378022df480a9fb6c3ae39e", "signature_version": "v1", "target": { "file": "drivers/net/ethernet/xilinx/ll_temac_main.c" }, "digest": { "line_hashes": [ "17820440176295008358399593995743110797", "304573917795166090343792905495738913614", "274012312523718380737763092934911832461", "286497040856294849636912211930805554701" ], "threshold": 0.9 }, "deprecated": false, "signature_type": "Line", "id": "CVE-2024-35796-e7012903" } ]