CVE-2024-50204Published Nov 8, 2024 · Nov 8Updated Oct 28
fs: don't try and remove empty rbtree node
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel can attempt to remove a namespace copy from an rbtree before it has been added. This occurs if copying the namespace fails; the input does not specify attacker access requirements or user interaction.
Engineers running the Linux kernel should check their version against the vendor advisory; affected versions are not specified in the input.