# CVE-2022-48641: netfilter: ebtables: fix memory leak when blob is malformed

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-04-28T12:59:53.047Z
- Modified: 2026-06-17T05:15:47.933Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from afd01382594d643e1adeb16826423b418cdf8b8b before 754e8b74281dd54a324698803483f47cf3355ae1; from 358765beb836f5fc2ed26b5df4140d5d3548ac11 before 1e98318af2f163eadaff815abcef38d27ca92c1e; from 160c4eb47db03b96c0c425358e7595ebefe8094d before 11ebf32fde46572b0aaf3c2bdd97d923ef5a03ab; from 624c30521233e110cf50ba01980a591e045036ae before ebd97dbe3c55d68346b9c5fb00634a7f5b10bbee; from 1b2c5428f773d60c116c7b1e390432e0cfb63cd6 before d5917b7af7cae0e2804f9d127a03268035098b7f; from e53cfa017bf4575d0b948a8f45313ef66d897136 before 38cf372b17f0a5f35c1b716a100532d539f0eb33; from 7997eff82828304b780dc0a39707e1946d6f1ebf before 62ce44c4fff947eebdf10bb582267e686e6835c9; 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; and 1 more
- linux 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

## References

- <https://git.kernel.org/stable/c/754e8b74281dd54a324698803483f47cf3355ae1> (patch)
- <https://git.kernel.org/stable/c/1e98318af2f163eadaff815abcef38d27ca92c1e> (patch)
- <https://git.kernel.org/stable/c/11ebf32fde46572b0aaf3c2bdd97d923ef5a03ab> (patch)
- <https://git.kernel.org/stable/c/ebd97dbe3c55d68346b9c5fb00634a7f5b10bbee> (patch)
- <https://git.kernel.org/stable/c/d5917b7af7cae0e2804f9d127a03268035098b7f> (patch)
- <https://git.kernel.org/stable/c/38cf372b17f0a5f35c1b716a100532d539f0eb33> (patch)
- <https://git.kernel.org/stable/c/62ce44c4fff947eebdf10bb582267e686e6835c9> (patch)

## Sources

- CVE List: [CVE-2022-48641](https://www.cve.org/CVERecord?id=CVE-2022-48641), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48641](https://nvd.nist.gov/vuln/detail/CVE-2022-48641), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48641 · Whole record: https://cve.day/CVE-2022-48641.json · Rebuilt by cve.day 2026-11-25T22:58:19.779Z
