A flaw was found in the NILFS2 file system implementation in the Linux kernel. If nilfs_attach_log_writer() failed to create a log writer thread, it frees a data structure of the log writer without any cleanup, causing a leak of struct nilfs_root. A user permitted to mount arbitrary file system images could use this flaw to cause a denial of service (resource exhaustion). Upstream patch & commit: https://lore.kernel.org/all/20221007085226.57667-1-konishi.ryusuke@gmail.com/T/#u https://github.com/torvalds/linux/commit/d0d51a97063db4704a5ef6bc978dddab1636a306