CVE-2022-49629 nexthop: Fix data-races around nexthop_compat_mode.

Medium 4.7 Published Updated

A data race in the Linux kernel's nexthop module could lead to inconsistent state during concurrent access, requiring a patch to ensure thread safety.

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-49629?

CVE-2022-49629 is a medium-severity vulnerability in Linux kernel, published on 26 Feb 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:

nexthop: Fix data-races around nexthop_compat_mode.

While reading nexthop_compat_mode, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers.

Weakness: CWE-362

Which versions are affected by CVE-2022-49629?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49629?

Apply the vendor's patch.

Is CVE-2022-49629 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49629, GHSA-3hp7-rrvf-6j8r, UBUNTU-CVE-2022-49629.

Is CVE-2022-49629 in your software?

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

Check your SBOMs for free