In the Linux kernel, the following vulnerability has been resolved: shmem: use ramfskillsb() for killsb method of ramfs-based tmpfs As the ramfs-based tmpfs uses ramfsinitfscontext() for the initfscontext method, which allocates fc->sfsinfo, use ramfskillsb() to free it and avoid a memory leak.