CVE-2024-50204 fs: don't try and remove empty rbtree node
A null pointer dereference in the Linux kernel filesystem namespace handling can cause a system crash during namespace copying.
- 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-50204?
CVE-2024-50204 is a medium-severity vulnerability in Linux kernel, published on 8 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:
fs: don't try and remove empty rbtree node
When copying a namespace we won't have added the new copy into the namespace rbtree until after the copy succeeded. Calling free_mnt_ns() will try to remove the copy from the rbtree which is invalid. Simply free the namespace skeleton directly.
Which versions are affected by CVE-2024-50204?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-50204?
Apply the vendor's patch.
Is CVE-2024-50204 being exploited?
There is no known exploitation of CVE-2024-50204 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-50204, DEBIAN-CVE-2024-50204, GHSA-pp64-vq4m-47h3, UBUNTU-CVE-2024-50204.