Memory Safety Issue in Linux Kernel: CVE-2022-49743

linux Updated 02 Oct 2025

Summary

27/03/2025
N/A
No i
Unrated
Not published

CVE-2022-49743: In the Linux kernel, the following vulnerability has been resolved: ovl: Use "buf" flexible array for memcpy() destination The "buf" flexible array needs to be the memcpy() destination to avoid false positive run-time wa... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Devnack Penetration testing for web, API and mobile 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 many operating systems, providing essential services for hardware and software interaction. It is known for its robustness, flexibility, and extensive support for various hardware architectures. However, vulnerabilities can arise due to complex interactions within its codebase, leading to potential security risks. CVE-2022-49743 specifically addresses a memory safety issue related to the overlay filesystem, which could impact systems relying on this feature.

Vulnerability Detail

CVE-2022-49743 is a vulnerability in the Linux kernel's overlay filesystem implementation. It arises from the improper use of a flexible array member in the memcpy() function, which can lead to false positive runtime warnings due to field-spanning writes. This issue was identified in the export.c file of the overlay filesystem, where the destination buffer for memcpy() was not correctly defined, potentially leading to memory corruption or unexpected behavior in the kernel. The vulnerability was resolved in later versions of the Linux kernel, ensuring that the flexible array is used correctly to prevent such warnings.

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

Currently, no specific workaround is provided for this vulnerability. The best course of action is to apply the available patch by updating the package to the latest version.

Conclusion

CVE-2022-49743 is a significant vulnerability in the Linux kernel that affects the overlay filesystem. It is crucial for users and administrators to update their systems to the patched version to mitigate potential 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-49743 is a vulnerability in the Linux kernel related to the overlay filesystem, specifically concerning memory safety due to improper use of memcpy().

If your system uses the overlay filesystem, this vulnerability could lead to memory corruption or unexpected behavior, potentially compromising system stability.

Versions of the Linux kernel prior to 6.1.11-1 are affected. Check your kernel version using 'uname -r' in the terminal.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by CVE-2022-49743 without requiring signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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