{"id":"CVE-2025-38437","summary":"ksmbd: fix potential use-after-free in oplock/lease break ack","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix potential use-after-free in oplock/lease break ack\n\nIf ksmbd_iov_pin_rsp return error, use-after-free can happen by\naccessing opinfo-\u003estate and opinfo_put and ksmbd_fd_put could\ncalled twice.","modified":"2026-04-16T00:12:15.130465241Z","published":"2025-07-25T15:27:16.995Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38437.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/50f930db22365738d9387c974416f38a06e8057e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8106adc21a2270c16abf69cd74ccd7c79c6e7acd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477"},{"type":"WEB","url":"https://git.kernel.org/stable/c/97c355989928a5f60b228ef5266c1be67a46cdf9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e38ec88a2b42c494601b1213816d75f0b54d9bf0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38437.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38437"},{"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":"0626e6641f6b467447c81dd7678a69c66f7746cf"},{"fixed":"e38ec88a2b42c494601b1213816d75f0b54d9bf0"},{"fixed":"97c355989928a5f60b228ef5266c1be67a46cdf9"},{"fixed":"815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477"},{"fixed":"8106adc21a2270c16abf69cd74ccd7c79c6e7acd"},{"fixed":"50f930db22365738d9387c974416f38a06e8057e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38437.json"}}],"schema_version":"1.7.5"}