# CVE-2025-40103: smb: client: Fix refcount leak for cifs_sb_tlink

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-10-30T09:48:08.421Z
- Modified: 2026-10-19T21:10:00.160Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/d3c8ea197055c260119a13360e8202a27e53e1e4>
- <https://git.kernel.org/stable/c/790282abe9d805f08618c1c24ea2529e7259b692>
- <https://git.kernel.org/stable/c/d7dd034c14928306db1b46be277ae439b84dacf9>
- <https://git.kernel.org/stable/c/e15605b68b490186da2ad8029c0351a9cfb0b9af>
- <https://git.kernel.org/stable/c/896bb31e1416f582503db1350cf1bd10dc64e5a6>
- <https://git.kernel.org/stable/c/c2b77f42205ef485a647f62082c442c1cd69d3fc>

## Sources

- CVE List: [CVE-2025-40103](https://www.cve.org/CVERecord?id=CVE-2025-40103), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40103](https://nvd.nist.gov/vuln/detail/CVE-2025-40103), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40103 · Whole record: https://cve.day/CVE-2025-40103.json · Rebuilt by cve.day 2026-11-25T22:59:07.038Z
