shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
CVE-2023-53391

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
18 September 2025

What is CVE-2023-53391?

In the Linux kernel, the following vulnerability has been resolved:

shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs

As the ramfs-based tmpfs uses ramfs_init_fs_context() for the init_fs_context method, which allocates fc->s_fs_info, use ramfs_kill_sb() to free it and avoid a memory leak.

Affected Version(s)

Linux c3b1b1cbf002e65a3cabd479e68b5f35886a26db < 5fada375113767b3b57f1b04f7a4fe64ffaa626f

Linux c3b1b1cbf002e65a3cabd479e68b5f35886a26db < 487f229efea80c00dd7397547ec4f25fb8999d99

Linux c3b1b1cbf002e65a3cabd479e68b5f35886a26db < 1f34bf8b442c6d720e7fa6f15e8702427e48aea9

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2023-53391 : Memory Leak in Linux Kernel Affecting ramfs-based tmpfs