CVE-2023-53391

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53391
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53391.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53391
Downstream
Related
Published
2025-09-18T13:33:33.602Z
Modified
2025-11-28T02:34:58.172419Z
Summary
shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
Details

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

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

As the ramfs-based tmpfs uses ramfsinitfscontext() for the initfscontext method, which allocates fc->sfsinfo, use ramfskill_sb() to free it and avoid a memory leak.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53391.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c3b1b1cbf002e65a3cabd479e68b5f35886a26db
Fixed
5fada375113767b3b57f1b04f7a4fe64ffaa626f
Fixed
487f229efea80c00dd7397547ec4f25fb8999d99
Fixed
1f34bf8b442c6d720e7fa6f15e8702427e48aea9
Fixed
ebe07db840992a3886694ac3d303b06f4b70ce00
Fixed
36ce9d76b0a93bae799e27e4f5ac35478c676592

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.30
Fixed
5.10.188
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.121
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.4