CVE-2024-49999 afs: Fix the setting of the server responding flag

High 7.5 Published Updated

A null pointer dereference in the Linux kernel AFS module can cause a system crash when a server response is discarded during an operation.

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

CVE-2024-49999 is a high-severity vulnerability in Linux kernel, published on 21 Oct 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:

afs: Fix the setting of the server responding flag

In afs_wait_for_operation(), we set transcribe the call responded flag to the server record that we used after doing the fileserver iteration loop - but it's possible to exit the loop having had a response from the server that we've discarded (e.g. it returned an abort or we started receiving data, but the call didn't complete).

This means that op->server might be NULL, but we don't check that before attempting to set the server flag.

Which versions are affected by CVE-2024-49999?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-49999?

Apply the vendor's patch.

Is CVE-2024-49999 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-49999, DEBIAN-CVE-2024-49999, GHSA-5mqf-fxgc-8r6w, UBUNTU-CVE-2024-49999.

Is CVE-2024-49999 in your software?

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

Check your SBOMs for free