{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143041",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.344Z",
        "datePublished": "2026-12-03T09:18:17.168Z",
        "dateUpdated": "2026-12-04T03:27:30.502Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:27:30.502Z"
            },
            "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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - cifs_demultiplex_thread() reads an unsolicited SMB2 OPLOCK_BREAK or lease-break PDU (StructureSize 44; or SMB1 LOCKING_ANDX with LOCKING_ANDX_OPLOCK_RELEASE). On a find_mid() miss, smb2_is_valid_oplock_break()/smb2_tcon_has_lease()/is_valid_oplock_break() match the FID or lease key and cifs_queue_oplock_break() queues cifs_oplock_break(), which is the function the fix patched.\nAC:L - The attacker opens the file, then opens it from a second SMB session so the server sends the break and cifs_queue_oplock_break() takes a ref. Before cifs_oplock_break() reaches _cifsFileInfo_put(), the attacker unlink()s (vfs d_delete() drops the busy dentry) and close()s. close() sees a non-zero count and returns without cancel_work_sync(), so the break ref is the last pin on the unhashed dentry. The attacker does both sides and can retry.\nPR:L - The open, unlink, and close run as an unprivileged user on an already-mounted share; cifs_fs_type does not grant FS_USERNS_MOUNT, and this attack does not call mount. The second session uses that user's existing share credentials. No CAP_SYS_ADMIN or init-namespace capability is required.\nUI:N - The attacker opens, unlinks, and closes their own file and induces the SMB2 lease/oplock break with their own second session. Nobody else has to mount the share or touch the file.\nS:U - The freed object is the client cifsInodeInfo (cifs_inode_cache) in the same kernel that owns the mount. The use-after-free does not cross a guest/host, IOMMU, or sandbox boundary.\nC:H - cifsFileInfo_put_final() dput()s the unhashed dentry and iput() evicts the inode, then cifs_oplock_break() still spin_lock()s cinode->open_file_lock and list_empty()s openFileList. If that head is reused so the list looks non-empty, smb2_oplock_response() reads cinode->lease_key and CIFS_SB(cinode) and sends them in SMB2_lease_break. cifs_done_oplock_break() also reads the freed flags word.\nI:H - After that eviction, cifs_done_oplock_break() clear_bit()s CIFS_INODE_PENDING_OPLOCK_BREAK in the freed cinode->flags, and the handler spin_lock()s open_file_lock. A reclaimed cifs_inode_cache object makes those writes land on the replacement, and smb2_oplock_response() dereferences the dead inode's i_sb.\nA:H - The inode is evicted in iput() from that dput() and cifs_free_inode() is only RCU-deferred, while the handler keeps using cinode. A poisoned openFileList, a non-zero open_file_lock word, or clear_bit/wake_up_bit on the reused slot oopses cifsoplockd and can panic the client."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/file.c"
                    ],
                    "versions": [
                        {
                            "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
                            "lessThan": "f8df9baf35045c3189ae204310dcb2e3aab56ea2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
                            "lessThan": "800f206086ad962450ccbfbe1de8c90bd29db70a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
                            "lessThan": "fd56b0cb4d71e3679214dc28f7d70bf740279478",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
                            "lessThan": "fce78321f1b59531cf6fc94860550db1db8dec55",
                            "status": "affected",
                            "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",
                            "lessThan": "3.17",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.9.171",
                            "lessThan": "4.10",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.114",
                            "lessThan": "4.15",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.37",
                            "lessThan": "4.20",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.0.10",
                            "lessThan": "5.1",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/file.c"
                    ],
                    "versions": [
                        {
                            "version": "5.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
                }
            ],
            "title": "smb: client: hold the inode across cifs_oplock_break()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}