CVE-2023-53391Published Sep 18, 2025 · Sep 18Updated Oct 28
shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's ramfs-based tmpfs can leak memory because its filesystem cleanup method does not free allocated filesystem information. The input does not specify how the issue can be triggered, whether authentication or user interaction is needed, or what an attacker could accomplish.
Engineers running the Linux kernel should check their versions; affected versions are not specified.