{"id":"CVE-2024-38603","published":"2024-06-19T13:48:14Z","modified":"2026-05-11T20:19:55Z","title":"drivers/perf: hisi: hns3: Actually use devm_add_action_or_reset()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers/perf: hisi: hns3: Actually use devm_add_action_or_reset()\n\npci_alloc_irq_vectors() allocates an irq vector. When devm_add_action()\nfails, the irq vector is not freed, which leads to a memory leak.\n\nReplace the devm_add_action with devm_add_action_or_reset to ensure\nthe irq vector can be destroyed when it fails.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00308,"percentile":0.16075,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1491a01ef5a98149048b12e208f6ed8e86ad10b9","tags":[]},{"url":"https://git.kernel.org/stable/c/a7678a16c25b6ece1667ac681e3e783ff3de7a6f","tags":[]},{"url":"https://git.kernel.org/stable/c/2fcffaaf529d5fe3fdc6c0ee65a6f266b74de782","tags":[]},{"url":"https://git.kernel.org/stable/c/b1e86f1ef8fa796f8935be392457639f3a907d91","tags":[]},{"url":"https://git.kernel.org/stable/c/582c1aeee0a9e73010cf1c4cef338709860deeb0","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":3.21}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 66637ab137b44914356a9dc7a9b3f8ebcf0b0695, < 1491a01ef5a98149048b12e208f6ed8e86ad10b9",">= 66637ab137b44914356a9dc7a9b3f8ebcf0b0695, < a7678a16c25b6ece1667ac681e3e783ff3de7a6f",">= 66637ab137b44914356a9dc7a9b3f8ebcf0b0695, < 2fcffaaf529d5fe3fdc6c0ee65a6f266b74de782",">= 66637ab137b44914356a9dc7a9b3f8ebcf0b0695, < b1e86f1ef8fa796f8935be392457639f3a907d91",">= 66637ab137b44914356a9dc7a9b3f8ebcf0b0695, < 582c1aeee0a9e73010cf1c4cef338709860deeb0"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:13:15.047370Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37466","exploited":false,"provenance":"source"}}