Segmentation Fault in Linux Kernel's Ethernet Module: CVE-2022-49847

linux Updated 02 Oct 2025

Summary

01/05/2025
N/A
Yes i
Unrated
Not published

CVE-2022-49847: In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw: Fix segmentation fault at module unload Move am65_cpsw_nuss_phylink_cleanup() call to after am65_cpsw_nuss_cleanup_ndev()... Affects linux versions < 6.0.10-1. Fixed in 6.0.10-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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is the core component of a Linux operating system, managing hardware resources and providing essential services for applications. The kernel supports various functionalities, including process management, memory management, and device control. The vulnerability CVE-2022-49847 affects the Ethernet module, specifically the TI AM65 CPSW driver, which is responsible for handling network communication in devices using this chipset. This vulnerability can lead to a segmentation fault during module unloading, potentially causing system instability.

Vulnerability Detail

CVE-2022-49847 is a vulnerability in the Linux kernel's Ethernet module, specifically in the TI AM65 CPSW driver. The issue arises when the function am65_cpsw_nuss_phylink_cleanup() is called before am65_cpsw_nuss_cleanup_ndev(), leading to a segmentation fault if the first slave link is active during module removal. This can result in a kernel panic, causing the system to become unresponsive and potentially leading to data loss or corruption. The vulnerability is characterized by a memory access violation, as indicated by the kernel's error logs.

How To Fix

Minimum fixed version

6.0.10-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 mentioned for this vulnerability. It is recommended to avoid unloading the affected module while the first slave link is active until the patch is applied.

Conclusion

CVE-2022-49847 is a significant vulnerability in the Linux kernel's Ethernet module that can lead to system instability. It is crucial to update to the patched version to mitigate the risks associated with this issue. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49847 is a vulnerability in the Linux kernel's Ethernet module that can cause a segmentation fault during module unloading.

This vulnerability can lead to a kernel panic, causing system instability and potential data loss if the affected module is unloaded while in use.

The vulnerability affects the Linux kernel versions prior to 6.0.10-1 on Debian 12 and 13.

You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If you cannot update immediately, avoid unloading the affected module while the first slave link is active to prevent triggering the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

6.0.10-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