{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48754","id":"CVE-2022-48754","title":"phylib: fix potential use-after-free","description":"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","descriptionLong":"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().","published":"2024-06-20T11:13:34.561Z","updated":"2026-10-28T02:30:48.346550376Z","reserved":"2024-06-20T11:09:39.057Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bafbdd527d569c8200521f2f7579f65a044271be","lessThan":"67d271760b037ce0806d687ee6057edc8afd4205","status":"affected","versionType":"git"},{"version":"bafbdd527d569c8200521f2f7579f65a044271be","lessThan":"f39027cbada43b33566c312e6be3db654ca3ad17","status":"affected","versionType":"git"},{"version":"bafbdd527d569c8200521f2f7579f65a044271be","lessThan":"bd024e36f68174b1793906c39ca16cee0c9295c2","status":"affected","versionType":"git"},{"version":"bafbdd527d569c8200521f2f7579f65a044271be","lessThan":"aefaccd19379d6c4620269a162bfb88ff687f289","status":"affected","versionType":"git"},{"version":"bafbdd527d569c8200521f2f7579f65a044271be","lessThan":"cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af","status":"affected","versionType":"git"},{"version":"bafbdd527d569c8200521f2f7579f65a044271be","lessThan":"cbda1b16687580d5beee38273f6241ae3725960c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","lessThan":"4.16","status":"unaffected","versionType":"semver"},{"version":"4.19.228","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.176","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.96","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.19","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.5","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/67d271760b037ce0806d687ee6057edc8afd4205","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f39027cbada43b33566c312e6be3db654ca3ad17","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/bd024e36f68174b1793906c39ca16cee0c9295c2","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/aefaccd19379d6c4620269a162bfb88ff687f289","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/cbda1b16687580d5beee38273f6241ae3725960c","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48754.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48754","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00227,"epssPercentile":0.13513,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48754","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48754","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48754","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48754","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}