CVE-2024-50204

fs: don't try and remove empty rbtree node

State
Published
Severity
5.5 Medium
Published
Nov 8, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1901c92497bd90caf608a474f1bf4d8795b372a2 to before a8b155a2c30dc9a5ba837aa5fcba9a47cc031a9bAffected
  • 1901c92497bd90caf608a474f1bf4d8795b372a2 to before 229fd15908fe1f99b1de4cde3326e62d1e892611Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.11.6 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.