CVE-2022-48934

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
22/08/2024
Last modified:
22/08/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()<br /> <br /> ida_simple_get() returns an id between min (0) and max (NFP_MAX_MAC_INDEX)<br /> inclusive.<br /> So NFP_MAX_MAC_INDEX (0xff) is a valid id.<br /> <br /> In order for the error handling path to work correctly, the &amp;#39;invalid&amp;#39;<br /> value for &amp;#39;ida_idx&amp;#39; should not be in the 0..NFP_MAX_MAC_INDEX range,<br /> inclusive.<br /> <br /> So set it to -1.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.1 (including) 5.4.182 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.103 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.26 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.16.12 (excluding)