CVE-2022-48754

phylib: fix potential use-after-free

HIGH
7.8
CVSS Score
Published: June 20, 2024 at 11:13 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: phylib: fix potential use-after-free Commit bafbdd527d56 ("phylib: Add device reset GPIO support") added call to phy_device_reset(phydev) after the put_device() call in phy_detach(). The comment before the put_device() call says that the phydev might go away with put_device(). Fix potential use-after-free by calling phy_device_reset() before put_device().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.16 ≤ v < 4.19.2284.16 ≤ v < 5.10.964.16 ≤ v < 5.15.194.16 ≤ v < 5.16.54.16 ≤ v < 5.174.16 ≤ v < 5.4.1764.20 ≤ v < 5.4.1765.11 ≤ v < 5.15.195.16 ≤ v < 5.16.55.5 ≤ v < 5.10.965.17 rc1bafbdd527d56bafbdd527d569c8200521f2f7579f65a044271be
Vendor states this is fixed in 67d271760b03 (fixed)
Vendor states this is fixed in 67d271760b037ce0806d687ee6057edc8afd4205 (fixed)
Vendor states this is fixed in aefaccd19379 (fixed)
Vendor states this is fixed in aefaccd19379d6c4620269a162bfb88ff687f289 (fixed)
Vendor states this is fixed in bd024e36f681 (fixed)
Vendor states this is fixed in bd024e36f68174b1793906c39ca16cee0c9295c2 (fixed)
Vendor states this is fixed in cb2fab10fc5e (fixed)
Vendor states this is fixed in cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af (fixed)
Vendor states this is fixed in cbda1b166875 (fixed)
Vendor states this is fixed in cbda1b16687580d5beee38273f6241ae3725960c (fixed)
Vendor states this is fixed in f39027cbada4 (fixed)
Vendor states this is fixed in f39027cbada43b33566c312e6be3db654ca3ad17 (fixed)
Vendor states this is fixed in 4.16 (unaffected)
Vendor states this is fixed in 4.19.228 (unaffected)
Vendor states this is fixed in 5.10.96 (unaffected)
Vendor states this is fixed in 5.15.19 (unaffected)
Vendor states this is fixed in 5.16.5 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 5.4.176 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/67d271760b037ce0806d687ee6057edc8afd4205
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aefaccd19379d6c4620269a162bfb88ff687f289
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bd024e36f68174b1793906c39ca16cee0c9295c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cbda1b16687580d5beee38273f6241ae3725960c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f39027cbada43b33566c312e6be3db654ca3ad17

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card