{"id":"CVE-2025-40103","summary":"smb: client: Fix refcount leak for cifs_sb_tlink","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: Fix refcount leak for cifs_sb_tlink\n\nFix three refcount inconsistency issues related to `cifs_sb_tlink`.\n\nComments for `cifs_sb_tlink` state that `cifs_put_tlink()` needs to be\ncalled after successful calls to `cifs_sb_tlink()`. Three calls fail to\nupdate refcount accordingly, leading to possible resource leaks.","modified":"2026-04-02T17:30:34.850397477Z","published":"2025-10-30T09:48:08.421Z","related":["MGASA-2025-0309","MGASA-2025-0310","SUSE-SU-2026:0962-1","SUSE-SU-2026:1041-1","SUSE-SU-2026:1078-1","SUSE-SU-2026:1081-1","SUSE-SU-2026:20667-1","SUSE-SU-2026:20720-1","SUSE-SU-2026:20838-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","SUSE-SU-2026:20931-1","openSUSE-SU-2025:15702-1","openSUSE-SU-2026:10301-1","openSUSE-SU-2026:20416-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40103.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/790282abe9d805f08618c1c24ea2529e7259b692"},{"type":"WEB","url":"https://git.kernel.org/stable/c/896bb31e1416f582503db1350cf1bd10dc64e5a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2b77f42205ef485a647f62082c442c1cd69d3fc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7dd034c14928306db1b46be277ae439b84dacf9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e15605b68b490186da2ad8029c0351a9cfb0b9af"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40103.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40103"},{"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":"8ceb984379462f94bdebef3288d569c6e1f912ea"},{"fixed":"790282abe9d805f08618c1c24ea2529e7259b692"},{"fixed":"d7dd034c14928306db1b46be277ae439b84dacf9"},{"fixed":"e15605b68b490186da2ad8029c0351a9cfb0b9af"},{"fixed":"896bb31e1416f582503db1350cf1bd10dc64e5a6"},{"fixed":"c2b77f42205ef485a647f62082c442c1cd69d3fc"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40103.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0"},{"fixed":"6.1.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40103.json"}}],"schema_version":"1.7.5"}