{"id":"CVE-2025-38536","published":"2025-08-16T11:12:28Z","modified":"2026-08-05T12:02:44Z","title":"net: airoha: fix potential use-after-free in airoha_npu_get()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: airoha: fix potential use-after-free in airoha_npu_get()\n\nnp->name was being used after calling of_node_put(np), which\nreleases the node and can lead to a use-after-free bug.\nPreviously, of_node_put(np) was called unconditionally after\nof_find_device_by_node(np), which could result in a use-after-free if\npdev is NULL.\n\nThis patch moves of_node_put(np) after the error check to ensure\nthe node is only released after both the error and success cases\nare handled appropriately, preventing potential resource issues.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00168,"percentile":0.06183,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/df6bf96b41e547e350667bc4c143be53646d070d","tags":[]},{"url":"https://git.kernel.org/stable/c/3cd582e7d0787506990ef0180405eb6224fa90a6","tags":[]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":1.24},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 23290c7bc190def4e1ca61610992d9b7c32e33f3, < df6bf96b41e547e350667bc4c143be53646d070d",">= 23290c7bc190def4e1ca61610992d9b7c32e33f3, < 3cd582e7d0787506990ef0180405eb6224fa90a6"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"euvd":{"id":"EUVD-2025-27890","exploited":false,"provenance":"source"}}