{"id":"CVE-2026-97556","aliases":["CVE-2026-97556"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: avoid leaking refcount when cifs_sb_tlink() fails","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: avoid leaking refcount when cifs_sb_tlink() fails\n\ncifs_oplock_break() takes over the reference that\ncifs_queue_oplock_break() acquired when it queued the work, and drops it\nwith _cifsFileInfo_put() once the break has been processed.\n\nOnly in setups with \"-o multiuser\", cifs_sb_tlink() may fail, at which\npoint cifs_oplock_break() returns without putting the file reference,\nmirroring the reference leak we already fixed in the companion patch to\ncifs_queue_oplock_break().\n\nThis would trigger a crash due to busy inodes on the next unmount:\n\n  BUG: Dentry ... still in use (1) [unmount of cifs cifs]\n  VFS: Busy inodes after unmount of cifs (cifs)\n\nDrop the reference on that path as well. Doing so before the out label\nmirrors the normal path, which also puts the reference before\ncifs_done_oplock_break().\n\nFound by Sashiko code review. The failure path was not exercised at\nruntime.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: avoid leaking refcount when cifs_sb_tlink() fails\n\ncifs_oplock_break() takes over the reference that\ncifs_queue_oplock_break() acquired when it queued the work, and drops it\nwith _cifsFileInfo_put() once the break has been processed.\n\nOnly in setups with \"-o multiuser\", cifs_sb_tlink() may fail, at which\npoint cifs_oplock_break() returns without putting the file reference,\nmirroring the reference leak we already fixed in the companion patch to\ncifs_queue_oplock_break().\n\nThis would trigger a crash due to busy inodes on the next unmount:\n\n  BUG: Dentry ... still in use (1) [unmount of cifs cifs]\n  VFS: Busy inodes after unmount of cifs (cifs)\n\nDrop the reference on that path as well. Doing so before the out label\nmirrors the normal path, which also puts the reference before\ncifs_done_oplock_break().\n\nFound by Sashiko code review. The failure path was not exercised at\nruntime.","source":"cvelist"}],"published":"2026-09-25T10:21:47.078Z","modified":"2026-10-30T13:21:07.670Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b99f490ea87ebcca3a429fd8837067feb56a4c7c","fixed":"f1fd8a84181b3af03c508e0b02b4877945dd070a","status":"affected"},{"type":"git","introduced":"5ee28bcfbaacf289eb25c662a2862542ea6ce6a7","fixed":"55c5f095d4df14271b238f826e1392fda7b6e60e","status":"affected"},{"type":"git","introduced":"e8f5f849ffce24490eb9449e98312b66c0dba76f","fixed":"e9c5bcc88b8337157e480c85a6d2f326bc265012","status":"affected"},{"type":"git","introduced":"e8f5f849ffce24490eb9449e98312b66c0dba76f","fixed":"9ec991e148368e3207e98134c509a625097f7693","status":"affected"},{"type":"git","introduced":"e8f5f849ffce24490eb9449e98312b66c0dba76f","fixed":"dd03fd658ea59821505e0e643b6b7cbdf51c4e1d","status":"affected"},{"type":"git","introduced":"e8f5f849ffce24490eb9449e98312b66c0dba76f","fixed":"1d1b0f1d812a4011a57bc6c70492c34a2e46c6dd","status":"affected"},{"type":"git","introduced":"e8f5f849ffce24490eb9449e98312b66c0dba76f","fixed":"23b26f4408ac3f35a482d2e5cf6fc865d4201b71","status":"affected"},{"type":"git","version":"6b67a6d2e50634fe127e656147c81915955e9f5e","status":"affected"},{"type":"semver","introduced":"5.15.128","fixed":"5.15.224","status":"affected"},{"type":"semver","introduced":"6.1.47","fixed":"6.1.189","status":"affected"},{"type":"semver","introduced":"6.4.12","fixed":"6.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/f1fd8a84181b3af03c508e0b02b4877945dd070a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55c5f095d4df14271b238f826e1392fda7b6e60e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e9c5bcc88b8337157e480c85a6d2f326bc265012","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ec991e148368e3207e98134c509a625097f7693","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd03fd658ea59821505e0e643b6b7cbdf51c4e1d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d1b0f1d812a4011a57bc6c70492c34a2e46c6dd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23b26f4408ac3f35a482d2e5cf6fc865d4201b71","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97556","url":"https://www.cve.org/CVERecord?id=CVE-2026-97556","licence":"CVE Terms of Use","modified":"2026-10-30T12:37:21.053Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97556","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97556","licence":"Public domain","modified":"2026-10-30T13:21:07.670Z"}],"updatedAt":"2026-11-25T22:59:40.955Z","epss":{"score":0.00211,"percentile":0.12099,"date":"2026-12-01T12:00:22.000Z"}}