# CVE-2022-49997: net: lantiq_xrx200: restore buffer if memory allocation failed

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-06-18T11:00:57.072Z
- Modified: 2026-08-05T08:57:05.467Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

net: lantiq_xrx200: restore buffer if memory allocation failed

In a situation where memory allocation fails, an invalid buffer address
is stored. When this descriptor is used again, the system panics in the
build_skb() function when accessing memory.

(As written by CVE List.)

## Affected

- Linux Linux: from 7ea6cd16f1599c1eac6018751eadbc5fc736b99a before 3ef2786e32d93e562cd40601248a14ae090de873; from 7ea6cd16f1599c1eac6018751eadbc5fc736b99a before c9c3b1775f80fa21f5bff874027d2ccb10f5d90c; 217395c5ab15e92a4fd84fe77fab6b0b1bb4e456; 70c8418469fb22a679fe5015ebe60fe15011ea43; 5e006cdb9b759f604c4fc69b410aab37cf45f5b4; from 5.4.128 before 5.5; from 5.10.46 before 5.11; from 5.12.13 before 5.13; 5.13 (not affected: before 5.13; from 5.19.6 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.4.128 before 5.5; from 5.10.46 before 5.11; from 5.12.13 before 5.13; from 5.13.1 before 5.19.6; 5.13; 6.0

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3ef2786e32d93e562cd40601248a14ae090de873> (patch)
- <https://git.kernel.org/stable/c/c9c3b1775f80fa21f5bff874027d2ccb10f5d90c> (patch)

## Sources

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

---

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