{"id":"CVE-2023-54162","summary":"ksmbd: fix possible memory leak in smb2_lock()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix possible memory leak in smb2_lock()\n\nargv needs to be free when setup_async_work fails or when the current\nprocess is woken up.","modified":"2026-08-12T03:51:27.102217621Z","published":"2025-12-30T12:03:23.583Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54162.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/11d38f8a0c19763e34d2093b5ecb640e012cb2d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6bf555ed8938444466c3d7f3252eb874a518f293"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bfe8372ef2dbdce97f13b21d76e2080ddeef5a79"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3ca9f7aeba793d74361d88a8800b2f205c9236b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54162.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54162"},{"type":"PACKAGE","url":"https://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":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"},{"fixed":"bfe8372ef2dbdce97f13b21d76e2080ddeef5a79"},{"fixed":"6bf555ed8938444466c3d7f3252eb874a518f293"},{"fixed":"11d38f8a0c19763e34d2093b5ecb640e012cb2d2"},{"fixed":"d3ca9f7aeba793d74361d88a8800b2f205c9236b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54162.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54162.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}