Skip to content
7.8 High

CVE-2022-48754 In the Linux kernel, the following vulnerability has been resolved: phylib: fix potential use-after-free Commit…

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 products and versions

Product Affected versions Fixed in
Linux 5.17 earliest → < 5.17 5.17
Linux 5.16 earliest → < 5.16.5 5.16.5
Linux 5.15 earliest → < 5.15.19 5.15.19
Linux 5.10 earliest → < 5.10.96 5.10.96
Linux 5.4 earliest → < 5.4.176 5.4.176
Linux 4.19 earliest → < 4.19.228 4.19.228
Linux 4.16 No fix stated
linux_kernel 5.17 earliest → < 5.17 5.17

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE