What’s Vulnerable › Vulnerabilities
CVE-2024-50204: fs: don't try and remove empty rbtree node
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-08 · updated 2026-06-17
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.
Affected products
- Linux kernel: from 6.11 before 6.11.6; 6.12-rc1, 6.12-rc2, 6.12-rc3, 6.12-rc4 — fixed in 6.11.6
How to fix
Upgrade to a fixed version: Linux kernel 6.11.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/229fd15908fe1f99b1de4cde3326e62d1e892611
- https://git.kernel.org/stable/c/a8b155a2c30dc9a5ba837aa5fcba9a47cc031a9b
Get alerted when CVE-2024-50204 or the next vulnerability affects your stack