CVE-2022-49858 octeontx2-pf: Fix SQE threshold checking

High 7.8 Published Updated

A race condition in the OcteonTX2 driver can cause memory leaks and potential denial of service by losing SKB pointers during packet transmission.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-49858?

CVE-2022-49858 is a high-severity memory corruption vulnerability in Linux kernel, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

octeontx2-pf: Fix SQE threshold checking

Current way of checking available SQE count which is based on HW updated SQB count could result in driver submitting an SQE even before CQE for the previously transmitted SQE at the same index is processed in NAPI resulting losing SKB pointers, hence a leak. Fix this by checking a consumer index which is updated once CQE is processed.

Which versions are affected by CVE-2022-49858?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49858?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-49858 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49858, GHSA-6chx-4cx4-vrw4, ROOT-OS-DEBIAN-11-CVE-2022-49858, ROOT-OS-UBUNTU-2204-CVE-2022-49858, UBUNTU-CVE-2022-49858.

Is CVE-2022-49858 in your software?

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

Check your SBOMs for free