CVE-2022-48934
published 2024-08-22CVE-2022-48934: 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…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.21%
11.2th percentile
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
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.16.12-1 (bookworm) | linux 5.16.12-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 20cce88650981ec504d328dbbdd004d991eb8535 < 5ad5886f85b6bd893e3ed19013765fb0c243c069 | 5ad5886f85b6bd893e3ed19013765fb0c243c069 |
| linux | linux | >= 20cce88650981ec504d328dbbdd004d991eb8535 < af4bc921d39dffdb83076e0a7eed1321242b7d87 | af4bc921d39dffdb83076e0a7eed1321242b7d87 |
| linux | linux | >= 20cce88650981ec504d328dbbdd004d991eb8535 < 9d8097caa73200710d52b9f4d9f430548f46a900 | 9d8097caa73200710d52b9f4d9f430548f46a900 |
| linux | linux | >= 20cce88650981ec504d328dbbdd004d991eb8535 < 4086d2433576baf85f0e538511df97c8101e0a10 | 4086d2433576baf85f0e538511df97c8101e0a10 |
| linux | linux | >= 20cce88650981ec504d328dbbdd004d991eb8535 < 3a14d0888eb4b0045884126acc69abfb7b87814d | 3a14d0888eb4b0045884126acc69abfb7b87814d |
| linux | linux_kernel | >= 0 < 5.10.103-1 | 5.10.103-1 |
| linux | linux_kernel | >= 0 < 5.16.12-1 | 5.16.12-1 |
| linux | linux_kernel | >= 0 < 5.16.12-1 | 5.16.12-1 |
| linux | linux_kernel | >= 0 < 5.16.12-1 | 5.16.12-1 |
| linux | linux_kernel | >= 5.1 < 5.4.182 | 5.4.182 |
| linux | linux_kernel | >= 5.11 < 5.15.26 | 5.15.26 |
| linux | linux_kernel | >= 5.16 < 5.16.12 | 5.16.12 |
| linux | linux_kernel | >= 5.5 < 5.10.103 | 5.10.103 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-g72g-w36f-8rf4: 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(
ghsa_unreviewed·2024-08-22
CVE-2022-48934 [MEDIUM] CWE-401 GHSA-g72g-w36f-8rf4: 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(
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.
OSV
CVE-2022-48934: 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()
osv·2024-08-22·CVSS 5.5
CVE-2022-48934 [MEDIUM] CVE-2022-48934: 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()
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.
Red Hat
kernel: nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
vendor_redhat·2024-08-22·CVSS 5.5
CVE-2022-48934 [MEDIUM] CWE-401 kernel: nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
kernel: nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
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.
Statement: This issue is fixed in RHEL-9.2 and above:
~~~
in (rhel-9.2, rhel-9.3, rhel-9.4, rhel-9.5) nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
~~~
Please note that while RHEL-9 kernel-rt still appears as affected, it has been fixed in the same RHSA as RHEL-9 kernel. This
Debian
CVE-2022-48934: linux - In the Linux kernel, the following vulnerability has been resolved: nfp: flower...
vendor_debian·2022·CVSS 5.5
CVE-2022-48934 [MEDIUM] CVE-2022-48934: linux - In the Linux kernel, the following vulnerability has been resolved: nfp: flower...
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.
Scope: local
bookworm: resolved (fixed in 5.16.12-1)
bullseye: resolved (fixed in 5.10.103-1)
forky: resolved (fixed in 5.16.12-1)
sid: resolved (fixed in 5.16.12-1)
trixie: resolved (fixed in 5.16.12-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/3a14d0888eb4b0045884126acc69abfb7b87814dhttps://git.kernel.org/stable/c/4086d2433576baf85f0e538511df97c8101e0a10https://git.kernel.org/stable/c/5ad5886f85b6bd893e3ed19013765fb0c243c069https://git.kernel.org/stable/c/9d8097caa73200710d52b9f4d9f430548f46a900https://git.kernel.org/stable/c/af4bc921d39dffdb83076e0a7eed1321242b7d87
2024-08-22
Published