{"id":"CVE-2025-40103","aliases":["CVE-2025-40103"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: Fix refcount leak for cifs_sb_tlink","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nsmb: cliente: Corrección de fuga de contador de referencias para cifs_sb_tlink\n\nCorrige tres problemas de inconsistencia del contador de referencias relacionados con 'cifs_sb_tlink'.\n\nLos comentarios para 'cifs_sb_tlink' indican que se debe llamar a 'cifs_put_tlink()' después de llamadas exitosas a 'cifs_sb_tlink()'. Tres llamadas no actualizan el contador de referencias en consecuencia, lo que lleva a posibles fugas de recursos.","source":"nvd"}],"published":"2025-10-30T09:48:08.421Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8ceb984379462f94bdebef3288d569c6e1f912ea","fixed":"d3c8ea197055c260119a13360e8202a27e53e1e4","status":"affected"},{"type":"git","introduced":"8ceb984379462f94bdebef3288d569c6e1f912ea","fixed":"790282abe9d805f08618c1c24ea2529e7259b692","status":"affected"},{"type":"git","introduced":"8ceb984379462f94bdebef3288d569c6e1f912ea","fixed":"d7dd034c14928306db1b46be277ae439b84dacf9","status":"affected"},{"type":"git","introduced":"8ceb984379462f94bdebef3288d569c6e1f912ea","fixed":"e15605b68b490186da2ad8029c0351a9cfb0b9af","status":"affected"},{"type":"git","introduced":"8ceb984379462f94bdebef3288d569c6e1f912ea","fixed":"896bb31e1416f582503db1350cf1bd10dc64e5a6","status":"affected"},{"type":"git","introduced":"8ceb984379462f94bdebef3288d569c6e1f912ea","fixed":"c2b77f42205ef485a647f62082c442c1cd69d3fc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.7","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.158","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.114","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.55","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.5","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d3c8ea197055c260119a13360e8202a27e53e1e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/790282abe9d805f08618c1c24ea2529e7259b692","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7dd034c14928306db1b46be277ae439b84dacf9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e15605b68b490186da2ad8029c0351a9cfb0b9af","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/896bb31e1416f582503db1350cf1bd10dc64e5a6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2b77f42205ef485a647f62082c442c1cd69d3fc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40103","url":"https://www.cve.org/CVERecord?id=CVE-2025-40103","licence":"CVE Terms of Use","modified":"2026-05-11T21:42:34.498Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40103","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40103","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.038Z","epss":{"score":0.00206,"percentile":0.11347,"date":"2026-12-01T12:00:22.000Z"}}