{"id":"CVE-2024-35796","published":"2024-05-17T13:23:07Z","modified":"2026-05-23T15:43:05Z","title":"net: ll_temac: platform_get_resource replaced by wrong function","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ll_temac: platform_get_resource replaced by wrong function\n\nThe function platform_get_resource was replaced with\ndevm_platform_ioremap_resource_byname and is called using 0 as name.\n\nThis eventually ends up in platform_get_resource_byname in the call\nstack, where it causes a null pointer in strcmp.\n\n\tif (type == resource_type(r) && !strcmp(r->name, name))\n\nIt should have been replaced with devm_platform_ioremap_resource.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00228,"percentile":0.13818,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6d9395ba7f85bdb7af0b93272e537484ecbeff48","tags":[]},{"url":"https://git.kernel.org/stable/c/553d294db94b5f139378022df480a9fb6c3ae39e","tags":[]},{"url":"https://git.kernel.org/stable/c/46efbdbc95a30951c2579caf97b6df2ee2b3bef3","tags":[]},{"url":"https://git.kernel.org/stable/c/476eed5f1c22034774902a980aa48dc4662cb39a","tags":[]},{"url":"https://git.kernel.org/stable/c/7e9edb569fd9f688d887e36db8170f6e22bafbc8","tags":[]},{"url":"https://git.kernel.org/stable/c/92c0c29f667870f17c0b764544bdf22ce0e886a1","tags":[]},{"url":"https://git.kernel.org/stable/c/3a38a829c8bc27d78552c28e582eb1d885d07d11","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":2.76},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bd69058f50d5ffa659423bcfa6fe6280ce9c760a, < 6d9395ba7f85bdb7af0b93272e537484ecbeff48",">= bd69058f50d5ffa659423bcfa6fe6280ce9c760a, < 553d294db94b5f139378022df480a9fb6c3ae39e",">= bd69058f50d5ffa659423bcfa6fe6280ce9c760a, < 46efbdbc95a30951c2579caf97b6df2ee2b3bef3",">= bd69058f50d5ffa659423bcfa6fe6280ce9c760a, < 476eed5f1c22034774902a980aa48dc4662cb39a",">= bd69058f50d5ffa659423bcfa6fe6280ce9c760a, < 7e9edb569fd9f688d887e36db8170f6e22bafbc8",">= bd69058f50d5ffa659423bcfa6fe6280ce9c760a, < 92c0c29f667870f17c0b764544bdf22ce0e886a1",">= bd69058f50d5ffa659423bcfa6fe6280ce9c760a, < 3a38a829c8bc27d78552c28e582eb1d885d07d11","77c8cfdf808410be84be56aff7e0e186b8c5a879",">= 5.8.2, < 5.9"]},{"vendor":"Linux","product":"Linux","versions":["5.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-31T18:39:44.232878Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35789","exploited":false,"provenance":"source"}}