{"id":"CVE-2022-48754","summary":"phylib: fix potential use-after-free","details":"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().","modified":"2026-04-02T08:26:58.116676Z","published":"2024-06-20T11:13:34.561Z","related":["ALSA-2024:7000","ALSA-2024:7001","SUSE-SU-2024:2360-1","SUSE-SU-2024:2362-1","SUSE-SU-2024:2372-1","SUSE-SU-2024:2381-1","SUSE-SU-2024:2384-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48754.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/67d271760b037ce0806d687ee6057edc8afd4205"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aefaccd19379d6c4620269a162bfb88ff687f289"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd024e36f68174b1793906c39ca16cee0c9295c2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cbda1b16687580d5beee38273f6241ae3725960c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f39027cbada43b33566c312e6be3db654ca3ad17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48754.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48754"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bafbdd527d569c8200521f2f7579f65a044271be"},{"fixed":"67d271760b037ce0806d687ee6057edc8afd4205"},{"fixed":"f39027cbada43b33566c312e6be3db654ca3ad17"},{"fixed":"bd024e36f68174b1793906c39ca16cee0c9295c2"},{"fixed":"aefaccd19379d6c4620269a162bfb88ff687f289"},{"fixed":"cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af"},{"fixed":"cbda1b16687580d5beee38273f6241ae3725960c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48754.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}