CVE-2025-40103
JSON

Not scored

smb: client: Fix refcount leak for cifs_sb_tlink

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix refcount leak for cifs_sb_tlink Fix three refcount inconsistency issues related to `cifs_sb_tlink`. Comments for `cifs_sb_tlink` state that `cifs_put_tlink()` needs to be called after successful calls to `cifs_sb_tlink()`. Three calls fail to update refcount accordingly, leading to possible resource leaks.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 8ceb984379462f94bdebef3288d569c6e1f912ea before d3c8ea197055c260119a13360e8202a27e53e1e4, from 8ceb984379462f94bdebef3288d569c6e1f912ea before 790282abe9d805f08618c1c24ea2529e7259b692, from 8ceb984379462f94bdebef3288d569c6e1f912ea before d7dd034c14928306db1b46be277ae439b84dacf9, from 8ceb984379462f94bdebef3288d569c6e1f912ea before e15605b68b490186da2ad8029c0351a9cfb0b9af, from 8ceb984379462f94bdebef3288d569c6e1f912ea before 896bb31e1416f582503db1350cf1bd10dc64e5a6, from 8ceb984379462f94bdebef3288d569c6e1f912ea before c2b77f42205ef485a647f62082c442c1cd69d3fc, 3.7
Not affected: before 3.7, from 5.15.203 up to 5.15.*, from 6.1.158 up to 6.1.*, from 6.6.114 up to 6.6.*, from 6.12.55 up to 6.12.*, from 6.17.5 up to 6.17.*
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix refcount leak for cifs_sb_tlink Fix three refcount inconsistency issues related to `cifs_sb_tlink`. Comments for `cifs_sb_tlink` state that `cifs_put_tlink()` needs to be called after successful calls to `cifs_sb_tlink()`. Three calls fail to update refcount accordingly, leading to possible resource leaks.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: smb: cliente: Corrección de fuga de contador de referencias para cifs_sb_tlink Corrige tres problemas de inconsistencia del contador de referencias relacionados con 'cifs_sb_tlink'. Los 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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40103 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-40103 changed 2026-10-19Public domain