{"id":"CVE-2026-143041","state":"PUBLISHED","title":"smb: client: hold the inode across cifs_oplock_break()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: hold the inode across cifs_oplock_break()\n\ncifs_oplock_break() drops the handle reference in the middle of the\nhandler and keeps using cinode afterwards, to send the break\nacknowledgment and again in cifs_done_oplock_break().  The reference\ncifs_queue_oplock_break() takes is the only pin: the handle holds the\ndentry and the dentry is what keeps the inode alive.\n\nWhen that put is the last reference, the dput() in\ncifsFileInfo_put_final() kills an unhashed dentry, drops the last\ni_count and evicts the inode, so the rest of the handler runs on an\nobject whose free is only RCU-deferred.  An unhashed dentry that a\nhandle still references is an ordinary state: unlinking an open file\nleaves the dentry that way, and so does the dcache teardown at unmount.\n\nTake a reference on the inode for the lifetime of the handler and drop\nit once the break has been reported.  This also covers the\ncifs_get_tlink() failure path, where the put is followed directly by\nthe out label.","publishedAt":"2026-12-03T09:18:17.168Z","updatedAt":"2026-12-03T09:18:17.168Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b98749cac4a695f084a5ff076f4510b23e353ecd","status":"affected","lessThan":"f8df9baf35045c3189ae204310dcb2e3aab56ea2","versionType":"git"},{"version":"b98749cac4a695f084a5ff076f4510b23e353ecd","status":"affected","lessThan":"800f206086ad962450ccbfbe1de8c90bd29db70a","versionType":"git"},{"version":"b98749cac4a695f084a5ff076f4510b23e353ecd","status":"affected","lessThan":"fd56b0cb4d71e3679214dc28f7d70bf740279478","versionType":"git"},{"version":"b98749cac4a695f084a5ff076f4510b23e353ecd","status":"affected","lessThan":"fce78321f1b59531cf6fc94860550db1db8dec55","versionType":"git"},{"version":"2429fcf06d3cb962693868ab0a927c9038f12a2d","status":"affected","versionType":"git"},{"version":"1ee4f2d7cdcd4508cc3cbe3b2622d7177b89da12","status":"affected","versionType":"git"},{"version":"53fc31a4853e30d6e8f142b824f724da27ff3e40","status":"affected","versionType":"git"},{"version":"8092ecc306d81186a64cda42411121f4d35aaff4","status":"affected","versionType":"git"},{"version":"ebac4d0adf68f8962bd82fcf483936edd6ec095b","status":"affected","versionType":"git"},{"version":"3.16.72","status":"affected","lessThan":"3.17","versionType":"semver"},{"version":"4.9.171","status":"affected","lessThan":"4.10","versionType":"semver"},{"version":"4.14.114","status":"affected","lessThan":"4.15","versionType":"semver"},{"version":"4.19.37","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.0.10","status":"affected","lessThan":"5.1","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/file.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.1","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/file.c"]}],"references":["https://git.kernel.org/stable/c/f8df9baf35045c3189ae204310dcb2e3aab56ea2","https://git.kernel.org/stable/c/800f206086ad962450ccbfbe1de8c90bd29db70a","https://git.kernel.org/stable/c/fd56b0cb4d71e3679214dc28f7d70bf740279478","https://git.kernel.org/stable/c/fce78321f1b59531cf6fc94860550db1db8dec55"],"weaknesses":[],"ingestedAt":"2026-12-03T09:26:06.073Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143041.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143041","state":"PUBLISHED","datePublished":"2026-12-03T09:18:17.168Z","dateUpdated":"2026-12-03T09:18:17.168Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.344Z"},"containers":{"cna":{"title":"smb: client: hold the inode across cifs_oplock_break()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: hold the inode across cifs_oplock_break()\n\ncifs_oplock_break() drops the handle reference in the middle of the\nhandler and keeps using cinode afterwards, to send the break\nacknowledgment and again in cifs_done_oplock_break().  The reference\ncifs_queue_oplock_break() takes is the only pin: the handle holds the\ndentry and the dentry is what keeps the inode alive.\n\nWhen that put is the last reference, the dput() in\ncifsFileInfo_put_final() kills an unhashed dentry, drops the last\ni_count and evicts the inode, so the rest of the handler runs on an\nobject whose free is only RCU-deferred.  An unhashed dentry that a\nhandle still references is an ordinary state: unlinking an open file\nleaves the dentry that way, and so does the dcache teardown at unmount.\n\nTake a reference on the inode for the lifetime of the handler and drop\nit once the break has been reported.  This also covers the\ncifs_get_tlink() failure path, where the put is followed directly by\nthe out label."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b98749cac4a695f084a5ff076f4510b23e353ecd","status":"affected","lessThan":"f8df9baf35045c3189ae204310dcb2e3aab56ea2","versionType":"git"},{"version":"b98749cac4a695f084a5ff076f4510b23e353ecd","status":"affected","lessThan":"800f206086ad962450ccbfbe1de8c90bd29db70a","versionType":"git"},{"version":"b98749cac4a695f084a5ff076f4510b23e353ecd","status":"affected","lessThan":"fd56b0cb4d71e3679214dc28f7d70bf740279478","versionType":"git"},{"version":"b98749cac4a695f084a5ff076f4510b23e353ecd","status":"affected","lessThan":"fce78321f1b59531cf6fc94860550db1db8dec55","versionType":"git"},{"version":"2429fcf06d3cb962693868ab0a927c9038f12a2d","status":"affected","versionType":"git"},{"version":"1ee4f2d7cdcd4508cc3cbe3b2622d7177b89da12","status":"affected","versionType":"git"},{"version":"53fc31a4853e30d6e8f142b824f724da27ff3e40","status":"affected","versionType":"git"},{"version":"8092ecc306d81186a64cda42411121f4d35aaff4","status":"affected","versionType":"git"},{"version":"ebac4d0adf68f8962bd82fcf483936edd6ec095b","status":"affected","versionType":"git"},{"version":"3.16.72","status":"affected","lessThan":"3.17","versionType":"semver"},{"version":"4.9.171","status":"affected","lessThan":"4.10","versionType":"semver"},{"version":"4.14.114","status":"affected","lessThan":"4.15","versionType":"semver"},{"version":"4.19.37","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.0.10","status":"affected","lessThan":"5.1","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/file.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.1","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/file.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f8df9baf35045c3189ae204310dcb2e3aab56ea2"},{"url":"https://git.kernel.org/stable/c/800f206086ad962450ccbfbe1de8c90bd29db70a"},{"url":"https://git.kernel.org/stable/c/fd56b0cb4d71e3679214dc28f7d70bf740279478"},{"url":"https://git.kernel.org/stable/c/fce78321f1b59531cf6fc94860550db1db8dec55"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:18:17.168Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"7.4-rc3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16.72"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.171"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.37"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}