Skip to main content

CVE-2022-49867: Vulnerability in Linux Linux

Medium
VulnerabilityCVE-2022-49867cvecve-2022-49867
Published: Thu May 01 2025 (05/01/2025, 14:10:19 UTC)
Source: CVE
Vendor/Project: Linux
Product: Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net: wwan: iosm: fix memory leak in ipc_wwan_dellink IOSM driver registers network device without setting the needs_free_netdev flag, and does NOT call free_netdev() when unregisters network device, which causes a memory leak. This patch sets needs_free_netdev to true when registers network device, which makes netdev subsystem call free_netdev() automatically after unregister_netdevice().

AI-Powered Analysis

AILast updated: 06/30/2025, 02:41:52 UTC

Technical Analysis

CVE-2022-49867 is a vulnerability identified in the Linux kernel's IOSM (IP Multimedia Subsystem Operating System Module) driver, specifically within the wwan (Wireless Wide Area Network) networking component. The issue arises because the IOSM driver registers a network device without setting the 'needs_free_netdev' flag. Consequently, when the network device is unregistered, the kernel does not invoke the 'free_netdev()' function to free the allocated memory. This leads to a memory leak within the kernel's networking subsystem. The vulnerability was addressed by modifying the IOSM driver to set the 'needs_free_netdev' flag to true during network device registration. This change ensures that the kernel's network device subsystem automatically calls 'free_netdev()' after 'unregister_netdevice()', thereby properly releasing the allocated memory and preventing the leak. While the vulnerability does not directly allow code execution or privilege escalation, the memory leak can degrade system stability over time, potentially leading to resource exhaustion and denial of service (DoS) conditions on affected systems. The affected versions appear to be specific Linux kernel commits or builds, indicating that this is a low-level kernel bug rather than an issue in user-space applications. No known exploits are reported in the wild, and no CVSS score has been assigned yet.

Potential Impact

For European organizations relying on Linux-based systems, especially those using cellular or wireless WAN interfaces managed by the IOSM driver, this vulnerability could lead to gradual memory exhaustion on critical infrastructure devices such as routers, gateways, or embedded systems. Over time, this may cause system instability, degraded network performance, or unexpected reboots, impacting availability of network services. Organizations with large-scale deployments of Linux-based network equipment or IoT devices that utilize the affected driver are at higher risk. Although the vulnerability does not directly compromise confidentiality or integrity, the availability impact can disrupt business operations, particularly in sectors dependent on continuous network connectivity such as telecommunications, finance, healthcare, and manufacturing. The absence of known exploits reduces immediate risk, but unpatched systems remain vulnerable to potential future exploitation or accidental resource depletion.

Mitigation Recommendations

To mitigate this vulnerability, European organizations should promptly apply the official Linux kernel patches that set the 'needs_free_netdev' flag correctly in the IOSM driver. Kernel updates should be prioritized on devices that utilize the wwan IOSM driver, including embedded systems and network appliances. Network administrators should audit their environments to identify systems running affected kernel versions and plan for timely patch deployment. Additionally, monitoring system memory usage and kernel logs for anomalies related to network device registration and unregistration can help detect potential exploitation or memory leaks. For environments where immediate patching is not feasible, implementing resource limits or watchdog timers to automatically recover from system instability may reduce downtime. Vendors providing Linux-based network equipment should be engaged to ensure firmware updates incorporate the fix. Finally, maintaining an up-to-date inventory of Linux kernel versions in use and subscribing to security advisories will aid in proactive vulnerability management.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Linux
Date Reserved
2025-05-01T14:05:17.237Z
Cisa Enriched
false
Cvss Version
null
State
PUBLISHED

Threat ID: 682d982cc4522896dcbe4ead

Added to database: 5/21/2025, 9:09:00 AM

Last enriched: 6/30/2025, 2:41:52 AM

Last updated: 7/31/2025, 7:42:29 AM

Views: 10

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats