What’s Vulnerable › Vulnerabilities
CVE-2022-48641: netfilter: ebtables: fix memory leak when blob is malformed
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-28 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: ebtables: fix memory leak when blob is malformed The bug fix was incomplete, it "replaced" crash with a memory leak. The old code had an assignment to "ret" embedded into the conditional, restore this.
Affected products
- Linux kernel: from 4.14.292 before 4.14.295; from 4.19.257 before 4.19.260; from 5.4.212 before 5.4.215; from 5.10.140 before 5.10.146; from 5.15.64 before 5.15.71; from 5.19.6 before 5.19.12 — fixed in 4.14.295, 4.19.260, 5.10.146, 5.15.71, 5.19.12, 5.4.215
How to fix
Upgrade to a fixed version: Linux kernel 4.14.295, 4.19.260, 5.10.146, 5.15.71. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/11ebf32fde46572b0aaf3c2bdd97d923ef5a03ab
- https://git.kernel.org/stable/c/1e98318af2f163eadaff815abcef38d27ca92c1e
- https://git.kernel.org/stable/c/38cf372b17f0a5f35c1b716a100532d539f0eb33
- https://git.kernel.org/stable/c/62ce44c4fff947eebdf10bb582267e686e6835c9
- https://git.kernel.org/stable/c/754e8b74281dd54a324698803483f47cf3355ae1
- https://git.kernel.org/stable/c/d5917b7af7cae0e2804f9d127a03268035098b7f
- https://git.kernel.org/stable/c/ebd97dbe3c55d68346b9c5fb00634a7f5b10bbee
- https://git.kernel.org/stable/c/11ebf32fde46572b0aaf3c2bdd97d923ef5a03ab
- https://git.kernel.org/stable/c/1e98318af2f163eadaff815abcef38d27ca92c1e
- https://git.kernel.org/stable/c/38cf372b17f0a5f35c1b716a100532d539f0eb33
- https://git.kernel.org/stable/c/62ce44c4fff947eebdf10bb582267e686e6835c9
- https://git.kernel.org/stable/c/754e8b74281dd54a324698803483f47cf3355ae1
Get alerted when CVE-2022-48641 or the next vulnerability affects your stack