# CVE-2022-48934: nfp: flower: Fix a potential leak in nfp\_tunnel\_add\_shared\_mac()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-08-22T03:31:28.388Z
- **Modified:** 2026-06-17T05:16:39.273Z

## Who should check

- Anyone running Linux \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 5ad5886f85b6bd893e3ed19013765fb0c243c069; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< af4bc921d39dffdb83076e0a7eed1321242b7d87; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 9d8097caa73200710d52b9f4d9f430548f46a900; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 4086d2433576baf85f0e538511df97c8101e0a10; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 3a14d0888eb4b0045884126acc69abfb7b87814d
- Anyone running Linux 5.1

## Description

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

nfp: flower: Fix a potential leak in nfp\_tunnel\_add\_shared\_mac()

ida\_simple\_get() returns an id between min (0) and max (NFP\_MAX\_MAC\_INDEX)
inclusive.
So NFP\_MAX\_MAC\_INDEX (0xff) is a valid id.

In order for the error handling path to work correctly, the 'invalid'
value for 'ida\_idx' should not be in the 0..NFP\_MAX\_MAC\_INDEX range,
inclusive.

So set it to -1.

## Affected and fixed versions

- Linux: \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 5ad5886f85b6bd893e3ed19013765fb0c243c069; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< af4bc921d39dffdb83076e0a7eed1321242b7d87; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 9d8097caa73200710d52b9f4d9f430548f46a900; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 4086d2433576baf85f0e538511df97c8101e0a10; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 3a14d0888eb4b0045884126acc69abfb7b87814d (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 3a14d0888eb4b0045884126acc69abfb7b87814d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48934. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48934.md
Affected: Linux >= 20cce88650981ec504d328dbbdd004d991eb8535, < 5ad5886f85b6bd893e3ed19013765fb0c243c069; >= 20cce88650981ec504d328dbbdd004d991eb8535, < af4bc921d39dffdb83076e0a7eed1321242b7d87; >= 20cce88650981ec504d328dbbdd004d991eb8535, < 9d8097caa73200710d52b9f4d9f430548f46a900; >= 20cce88650981ec504d328d…
Fixed in: Linux 5ad5886f85b6bd893e3ed19013765fb0c243c069, Linux 9d8097caa73200710d52b9f4d9f430548f46a900, Linux 4086d2433576baf85f0e538511df97c8101e0a10, Linux 3a14d0888eb4b0045884126acc69abfb7b87814d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48934 being exploited?

There is no confirmed exploitation: CVE-2022-48934 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48934?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48934?

Linux \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 5ad5886f85b6bd893e3ed19013765fb0c243c069; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< af4bc921d39dffdb83076e0a7eed1321242b7d87; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 9d8097caa73200710d52b9f4d9f430548f46a900; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 4086d2433576baf85f0e538511df97c8101e0a10; \>= 20cce88650981ec504d328dbbdd004d991eb8535, \< 3a14d0888eb4b0045884126acc69abfb7b87814d; Linux 5.1.

### Is there a fix for CVE-2022-48934?

Yes. Fixed in Linux 5ad5886f85b6bd893e3ed19013765fb0c243c069, Linux 9d8097caa73200710d52b9f4d9f430548f46a900, Linux 4086d2433576baf85f0e538511df97c8101e0a10, Linux 3a14d0888eb4b0045884126acc69abfb7b87814d. Upgrade Linux to 3a14d0888eb4b0045884126acc69abfb7b87814d or later.

### How do I check if I'm affected by CVE-2022-48934?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5ad5886f85b6bd893e3ed19013765fb0c243c069>
- patch: <https://git.kernel.org/stable/c/af4bc921d39dffdb83076e0a7eed1321242b7d87>
- patch: <https://git.kernel.org/stable/c/9d8097caa73200710d52b9f4d9f430548f46a900>
- patch: <https://git.kernel.org/stable/c/4086d2433576baf85f0e538511df97c8101e0a10>
- patch: <https://git.kernel.org/stable/c/3a14d0888eb4b0045884126acc69abfb7b87814d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48934>

HTML: <https://flawdb.com/CVE-2022-48934> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48934>
