
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-48934 is a vulnerability in the Linux kernel affecting the nfp (Netronome Flow Processor) flower subsystem. The issue was discovered in the nfp_tunnel_add_shared_mac() function where a potential memory leak could occur. The vulnerability affects Linux kernel versions from 5.1 through 5.16.12 (NVD).
The vulnerability stems from an incorrect handling of the ida_idx variable in the nfp_tunnel_add_shared_mac() function. The issue occurs because ida_simple_get() returns an id between min (0) and max (NFP_MAX_MAC_INDEX) inclusive, where NFP_MAX_MAC_INDEX (0xff) is a valid id. The error handling path was not working correctly because the 'invalid' value for 'ida_idx' was within the valid range (0..NFP_MAX_MAC_INDEX). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability could lead to memory leaks in the Linux kernel's network subsystem, specifically in the Netronome Flow Processor (NFP) flower component. This could potentially result in system resource exhaustion and affect system availability (NVD).
The vulnerability has been fixed by changing the initial value of ida_idx from NFP_MAX_MAC_INDEX to -1, ensuring proper error handling. The fix has been implemented through patches in various kernel versions. The solution involves modifying the nfp_tunnel_add_shared_mac() function to use a proper invalid value for ida_idx (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."