Use-after-free vulnerability in phylib package

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000262: phylib: fix potential use-after-free. Affects Kernel versions >= bafbdd527d569c8200521f2f7579f65a044271be, < aefaccd19379d6c4620269a162bfb88ff687f289. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The phylib package is a component of the Linux Kernel ecosystem. It provides a framework for managing physical layer devices, such as Ethernet PHYs. PHYs are responsible for transmitting and receiving data over physical media. The phylib package is widely used in Linux-based systems to handle PHY-related operations. However, a use-after-free vulnerability has been discovered in the phylib package, which could potentially lead to security breaches and system instability.

Vulnerability Detail

The use-after-free vulnerability in the phylib package arises from improper memory management. Specifically, there is a scenario where a pointer to a freed memory object is still being used, leading to unpredictable behavior. An attacker could potentially exploit this vulnerability to execute arbitrary code, escalate privileges, or cause denial-of-service conditions. The vulnerability was introduced in version v4.16 of the Linux Kernel and has been fixed in version v5.15.19.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can apply the patch manually to their existing Linux Kernel version. The patch can be obtained from the commit aefaccd19379d6c4620269a162bfb88ff687f289. It is recommended to follow the official documentation and guidelines provided by the Linux Kernel community for patching the kernel.

Conclusion

The use-after-free vulnerability in the phylib package of the Linux Kernel poses a significant risk to the security and stability of Linux-based systems. It is crucial to update the Linux Kernel to version v5.15.19 or later to mitigate this vulnerability. Users can also manually apply the provided patch as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The use-after-free vulnerability in the phylib package can potentially allow attackers to execute arbitrary code, escalate privileges, or cause denial-of-service conditions. It poses a significant risk to the security and stability of Linux-based systems.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this use-after-free vulnerability in the phylib package.

Yes, a workaround is available. Users can manually apply the patch provided in the commit https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=aefaccd19379d6c4620269a162bfb88ff687f289 to their existing Linux Kernel version. However, it is recommended to update to the latest version of the Linux Kernel to ensure comprehensive vulnerability mitigation.

At the time of this report, there are no known public exploits targeting this specific use-after-free vulnerability in the phylib package. However, it is crucial to promptly update the Linux Kernel to the fixed version to prevent any potential exploitation.

For more information about this vulnerability, including technical details and the fix, you can refer to the vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000262.json.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback