CVE-2024-49945 net/ncsi: Disable the ncsi work before freeing the associated structure
A use-after-free in the Linux kernel NCSI driver allows attackers to cause a kernel panic or potentially execute code.
- 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-49945?
CVE-2024-49945 is a medium-severity use after free vulnerability in Linux kernel, published on 21 Oct 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:
net/ncsi: Disable the ncsi work before freeing the associated structure
The work function can run after the ncsi device is freed, resulting in use-after-free bugs or kernel panic.
Weakness: CWE-416
Which versions are affected by CVE-2024-49945?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-49945?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-49945 being exploited?
There is no known exploitation of CVE-2024-49945 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-52048, AZL-52108, BELL-CVE-2024-49945, DEBIAN-CVE-2024-49945, GHSA-44g4-9qvp-9723, ROOT-OS-DEBIAN-11-CVE-2024-49945 and 3 more.