{"id":"CVE-2022-48754","published":"2024-06-20T11:13:34Z","modified":"2026-08-05T08:52:08Z","title":"phylib: fix potential use-after-free","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nphylib: fix potential use-after-free\n\nCommit bafbdd527d56 (\"phylib: Add device reset GPIO support\") added call\nto phy_device_reset(phydev) after the put_device() call in phy_detach().\n\nThe comment before the put_device() call says that the phydev might go\naway with put_device().\n\nFix potential use-after-free by calling phy_device_reset() before\nput_device().","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.00227,"percentile":0.13673,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/67d271760b037ce0806d687ee6057edc8afd4205","tags":[]},{"url":"https://git.kernel.org/stable/c/f39027cbada43b33566c312e6be3db654ca3ad17","tags":[]},{"url":"https://git.kernel.org/stable/c/bd024e36f68174b1793906c39ca16cee0c9295c2","tags":[]},{"url":"https://git.kernel.org/stable/c/aefaccd19379d6c4620269a162bfb88ff687f289","tags":[]},{"url":"https://git.kernel.org/stable/c/cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af","tags":[]},{"url":"https://git.kernel.org/stable/c/cbda1b16687580d5beee38273f6241ae3725960c","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":2.73},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bafbdd527d569c8200521f2f7579f65a044271be, < 67d271760b037ce0806d687ee6057edc8afd4205",">= bafbdd527d569c8200521f2f7579f65a044271be, < f39027cbada43b33566c312e6be3db654ca3ad17",">= bafbdd527d569c8200521f2f7579f65a044271be, < bd024e36f68174b1793906c39ca16cee0c9295c2",">= bafbdd527d569c8200521f2f7579f65a044271be, < aefaccd19379d6c4620269a162bfb88ff687f289",">= bafbdd527d569c8200521f2f7579f65a044271be, < cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af",">= bafbdd527d569c8200521f2f7579f65a044271be, < cbda1b16687580d5beee38273f6241ae3725960c"]},{"vendor":"Linux","product":"Linux","versions":["4.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-06-25T15:12:03.815461Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53633","exploited":false,"provenance":"source"}}