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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-02)
- Published: 2025-09-18T13:33:33.602Z
- Modified: 2026-06-17T06:45:11.623Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from c3b1b1cbf002e65a3cabd479e68b5f35886a26db before 5fada375113767b3b57f1b04f7a4fe64ffaa626f; from c3b1b1cbf002e65a3cabd479e68b5f35886a26db before 487f229efea80c00dd7397547ec4f25fb8999d99; from c3b1b1cbf002e65a3cabd479e68b5f35886a26db before 1f34bf8b442c6d720e7fa6f15e8702427e48aea9; from c3b1b1cbf002e65a3cabd479e68b5f35886a26db before ebe07db840992a3886694ac3d303b06f4b70ce00; from c3b1b1cbf002e65a3cabd479e68b5f35886a26db before 36ce9d76b0a93bae799e27e4f5ac35478c676592; 2.6.30 (not affected: before 2.6.30; from 5.10.188 up to 5.10.*; from 5.15.121 up to 5.15.*; from 6.1.39 up to 6.1.*; from 6.4.4 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 2.6.30 before 5.10.188; from 5.11 before 5.15.121; from 5.16 before 6.1.39; from 6.2 before 6.4.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/5fada375113767b3b57f1b04f7a4fe64ffaa626f> (patch)
- <https://git.kernel.org/stable/c/487f229efea80c00dd7397547ec4f25fb8999d99> (patch)
- <https://git.kernel.org/stable/c/1f34bf8b442c6d720e7fa6f15e8702427e48aea9> (patch)
- <https://git.kernel.org/stable/c/ebe07db840992a3886694ac3d303b06f4b70ce00> (patch)
- <https://git.kernel.org/stable/c/36ce9d76b0a93bae799e27e4f5ac35478c676592> (patch)

## Sources

- CVE List: [CVE-2023-53391](https://www.cve.org/CVERecord?id=CVE-2023-53391), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53391](https://nvd.nist.gov/vuln/detail/CVE-2023-53391), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53391 · Whole record: https://cve.day/CVE-2023-53391.json · Rebuilt by cve.day 2026-11-25T22:58:34.863Z
