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

High 7.5 Published Updated

A memory allocation failure in the Lantiq XRX200 network driver causes a system panic, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-49997?

CVE-2022-49997 is a high-severity vulnerability in Linux kernel, published on 18 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-401

Which versions are affected by CVE-2022-49997?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49997?

Apply the vendor's patch.

Is CVE-2022-49997 being exploited?

There is no known exploitation of CVE-2022-49997 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49997, GHSA-5v59-j8mr-j2wp, ROOT-OS-DEBIAN-11-CVE-2022-49997, ROOT-OS-UBUNTU-2204-CVE-2022-49997, UBUNTU-CVE-2022-49997.

Is CVE-2022-49997 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free