CVE-2024-36945 net/smc: fix neighbour and rtable leak in smc_ib_find_route()

High 7.5 Published Updated

A memory leak in the Linux kernel's SMC module can lead to resource exhaustion and 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-2024-36945?

CVE-2024-36945 is a high-severity denial of service vulnerability in Linux kernel, published on 30 May 2024. 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/smc: fix neighbour and rtable leak in smc_ib_find_route()

In smc_ib_find_route(), the neighbour found by neigh_lookup() and rtable resolved by ip_route_output_flow() are not released or put before return. It may cause the refcount leak, so fix it.

Weakness: CWE-401

Which versions are affected by CVE-2024-36945?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-36945?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-36945 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-36945, DEBIAN-CVE-2024-36945, ROOT-OS-UBUNTU-2204-CVE-2024-36945, UBUNTU-CVE-2024-36945.

Is CVE-2024-36945 in your software?

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

Check your SBOMs for free