{"id":"CVE-2022-48934","aliases":["CVE-2022-48934"],"related":[],"kind":"vulnerability","state":"published","title":"nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()\n\nida_simple_get() returns an id between min (0) and max (NFP_MAX_MAC_INDEX)\ninclusive.\nSo NFP_MAX_MAC_INDEX (0xff) is a valid id.\n\nIn order for the error handling path to work correctly, the 'invalid'\nvalue for 'ida_idx' should not be in the 0..NFP_MAX_MAC_INDEX range,\ninclusive.\n\nSo set it to -1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()\n\nida_simple_get() returns an id between min (0) and max (NFP_MAX_MAC_INDEX)\ninclusive.\nSo NFP_MAX_MAC_INDEX (0xff) is a valid id.\n\nIn order for the error handling path to work correctly, the 'invalid'\nvalue for 'ida_idx' should not be in the 0..NFP_MAX_MAC_INDEX range,\ninclusive.\n\nSo set it to -1.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfp: flower: corrige una fuga potencial en nfp_tunnel_add_shared_mac() ida_simple_get() devuelve una identificación entre min (0) y max (NFP_MAX_MAC_INDEX) incluida. Entonces NFP_MAX_MAC_INDEX (0xff) es una identificación válida. Para que la ruta de manejo de errores funcione correctamente, el valor 'no válido' para 'ida_idx' no debe estar en el rango 0..NFP_MAX_MAC_INDEX, incluida. Así que configúrelo en -1.","source":"nvd"}],"published":"2024-08-22T03:31:28.388Z","modified":"2026-06-17T05:16:39.273Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"20cce88650981ec504d328dbbdd004d991eb8535","fixed":"5ad5886f85b6bd893e3ed19013765fb0c243c069","status":"affected"},{"type":"git","introduced":"20cce88650981ec504d328dbbdd004d991eb8535","fixed":"af4bc921d39dffdb83076e0a7eed1321242b7d87","status":"affected"},{"type":"git","introduced":"20cce88650981ec504d328dbbdd004d991eb8535","fixed":"9d8097caa73200710d52b9f4d9f430548f46a900","status":"affected"},{"type":"git","introduced":"20cce88650981ec504d328dbbdd004d991eb8535","fixed":"4086d2433576baf85f0e538511df97c8101e0a10","status":"affected"},{"type":"git","introduced":"20cce88650981ec504d328dbbdd004d991eb8535","fixed":"3a14d0888eb4b0045884126acc69abfb7b87814d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"5.4.182","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.103","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.26","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.12","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.1","fixed":"5.4.182"},{"status":"affected","introduced":"5.5","fixed":"5.10.103"},{"status":"affected","introduced":"5.11","fixed":"5.15.26"},{"status":"affected","introduced":"5.16","fixed":"5.16.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5ad5886f85b6bd893e3ed19013765fb0c243c069","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af4bc921d39dffdb83076e0a7eed1321242b7d87","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d8097caa73200710d52b9f4d9f430548f46a900","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4086d2433576baf85f0e538511df97c8101e0a10","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a14d0888eb4b0045884126acc69abfb7b87814d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:32:40.321Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48934","url":"https://www.cve.org/CVERecord?id=CVE-2022-48934","licence":"CVE Terms of Use","modified":"2026-05-11T18:49:58.834Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48934","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48934","licence":"Public domain","modified":"2026-06-17T05:16:39.273Z"}],"updatedAt":"2026-11-25T22:58:19.970Z","epss":{"score":0.0021,"percentile":0.11794,"date":"2026-12-01T12:00:22.000Z"}}