{"id":"CVE-2026-45972","summary":"smb: client: fix potential UAF and double free in smb2_open_file()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix potential UAF and double free in smb2_open_file()\n\nZero out @err_iov and @err_buftype before retrying SMB2_open() to\nprevent an UAF bug if @data != NULL, otherwise a double free.","modified":"2026-07-08T08:13:41.709918171Z","published":"2026-05-27T12:18:31.500Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45972.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151"},{"type":"WEB","url":"https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45972.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-45972"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45972.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45972"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2481973"},{"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":"743f70406264348c0830f38409eb6c40a42fb2db"},{"fixed":"96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3a6d6b332f92990958602c1e35ce0173e2dd62e9"},{"fixed":"7425453ea16dbc3bbb0f6cac4d60b537e5e4d151"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b64e3b5d8d759dd4333992e4ba4dadf9359952c8"},{"fixed":"4d339b219004869e96c4ce56b8891f83a38da4c0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5"},{"fixed":"e66dcf7bb9c4df5582c82bc3582725abcbfbea73"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e3a43633023e3cacaca60d4b8972d084a2b06236"},{"fixed":"639deb962986ef2f5e2a6d5a600c66f922471e81"},{"fixed":"ebbbc4bfad4cb355d17c671223d0814ee3ef4eda"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.1.163"},{"fixed":"6.1.165"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.6.124"},{"fixed":"6.6.128"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.12.70"},{"fixed":"6.12.75"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.18.10"},{"fixed":"6.18.14"}]}],"versions":["v6.1.164","v6.1.163","v6.6.127","v6.6.126","v6.6.125","v6.6.124","v6.12.74","v6.12.73","v6.12.72","v6.12.71","v6.12.70","v6.18.13","v6.18.12","v6.18.11","v6.18.10"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45972.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.165"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.128"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45972.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}