Memory Management Vulnerability in Linux Kernel: CVE-2022-49047

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Unrated
Not published

CVE-2022-49047: In the Linux kernel, the following vulnerability has been resolved: ep93xx: clock: Fix UAF in ep93xx_clk_register_gate() arch/arm/mach-ep93xx/clock.c:154:2: warning: Use of memory after it is freed [clang-analyzer-unix.M... Affects linux versions < 5.17.6-1. Fixed in 5.17.6-1. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It is widely used across various platforms, including servers, desktops, and embedded systems. The kernel's functionality includes process management, memory management, device management, and system calls. This vulnerability specifically affects the ep93xx clock management within the kernel, which is crucial for handling clock signals in ARM architecture.

Vulnerability Detail

CVE-2022-49047 is a use-after-free vulnerability found in the ep93xx_clk_register_gate() function of the Linux kernel. This issue arises when memory is accessed after it has been freed, potentially leading to system instability or arbitrary code execution. The vulnerability was identified in the clock.c file of the ARM architecture's ep93xx machine, where a pointer to freed memory is returned, allowing for unintended behavior. This flaw can be exploited by an attacker to manipulate system operations or crash the kernel, posing significant security risks.

How To Fix

Minimum fixed version

5.17.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the available patch by updating the kernel package as mentioned above.

Conclusion

CVE-2022-49047 represents a significant vulnerability in the Linux kernel that can lead to severe security implications. Users are strongly encouraged to update their systems to the patched version to mitigate risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49047 is a use-after-free vulnerability in the Linux kernel's ep93xx clock management, which can lead to system instability or arbitrary code execution.

You can use Vulert, a tool that monitors open-source vulnerabilities in your software. By using the manifest file like package-lock.json, Vulert can alert you in real-time about vulnerabilities.

The risks include potential system crashes, unauthorized access to system resources, and the possibility of arbitrary code execution by attackers.

Yes, the vulnerability has been patched in version 5.17.6-1 of the Linux kernel. Users are advised to update their systems to this version.

You can update your Linux kernel on Debian-based systems by running the command: sudo apt-get update && sudo apt-get install linux.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.17.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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