CVE-2024-50294 rxrpc: Fix missing locking causing hanging calls

High 7.8 Published Updated

A race condition in the Linux kernel's rxrpc module can cause hanging calls and potential denial of service due to missing locking.

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-2024-50294?

CVE-2024-50294 is a high-severity vulnerability in Linux kernel, published on 19 Nov 2024. 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:

rxrpc: Fix missing locking causing hanging calls

If a call gets aborted (e.g. because kafs saw a signal) between it being queued for connection and the I/O thread picking up the call, the abort will be prioritised over the connection and it will be removed from local->new_client_calls by rxrpc_disconnect_client_call() without a lock being held. This may cause other calls on the list to disappear if a race occurs.

Fix this by taking the client_call_lock when removing a call from whatever list its ->wait_link happens to be on.

Weakness: CWE-667

Which versions are affected by CVE-2024-50294?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50294?

Apply the vendor's patch.

Is CVE-2024-50294 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-50294, DEBIAN-CVE-2024-50294, GHSA-gcxj-24rj-3795, UBUNTU-CVE-2024-50294.

Is CVE-2024-50294 in your software?

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

Check your SBOMs for free