CVE-2022-48934

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48934
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48934.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48934
Downstream
Related
Published
2024-08-22T04:15:16Z
Modified
2025-08-09T19:01:28Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

nfp: flower: Fix a potential leak in nfptunneladdsharedmac()

idasimpleget() returns an id between min (0) and max (NFPMAXMACINDEX) inclusive. So NFPMAXMACINDEX (0xff) is a valid id.

In order for the error handling path to work correctly, the 'invalid' value for 'idaidx' should not be in the 0..NFPMAXMACINDEX range, inclusive.

So set it to -1.

References

Affected packages