{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142939",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.338Z",
        "datePublished": "2026-12-03T03:26:09.880Z",
        "dateUpdated": "2026-12-03T03:26:09.880Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:26:09.880Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-fc: don't drop the last assoc reference in nvmet_fc_delete_ctrl()\n\nsyzbot hit a recursive locking report on subsys->lock when a subsystem\nis unlinked from an FC port.\n\nnvmet_port_del_ctrls() holds subsys->lock while it calls ->delete_ctrl()\nfor each controller. nvmet_fc_delete_ctrl() grabs a reference on the\nassociation, queues del_work and then drops the reference. If del_work\ngets to run to completion before that put, ours is the last reference.\nFreeing the assoc tears down the queues, the last nvmet_cq_put() drops\nthe last ctrl reference, and nvmet_ctrl_free() goes for subsys->lock\nagain:\n\n  WARNING: possible recursive locking detected\n  ...\n   nvmet_ctrl_free+0xa6/0x8e0 drivers/nvme/target/core.c:1766\n   nvmet_cq_put+0x158/0x200 drivers/nvme/target/core.c:848\n   nvmet_fc_target_assoc_free+0x418/0x2220 drivers/nvme/target/fc.c:1173\n   nvmet_fc_delete_ctrl+0x717/0x7e0 drivers/nvme/target/fc.c:1581\n   nvmet_port_del_ctrls+0xfb/0x150 drivers/nvme/target/core.c:311\n   nvmet_port_subsys_drop_link+0x1e8/0x310 drivers/nvme/target/configfs.c:1119\n\nIt's a real hang, not only a lockdep warning. I reproduced it with\nfcloop by putting an msleep() before the put: rm on the configfs link\ngets stuck in D state for good.\n\nI don't think we need that reference at all. del_work does\nlist_del_rcu() and synchronize_rcu() before it drops the initial\nreference, so an assoc we find on assoc_list can't go away before\nrcu_read_unlock(). nvmet_fc_schedule_delete_assoc() doesn't sleep, so\njust call it inside the RCU section and get rid of the get/put. If the\nassoc is already being deleted, terminating is set and the call is a\nno-op, which matches what happened before when the get failed.\n\nWith the same msleep() in place the patched kernel unlinks cleanly and\nthe assoc is freed from the workqueue."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/target/fc.c"
                    ],
                    "versions": [
                        {
                            "version": "8fd604d4b0d7e6cef59b7fa8f43d07314e522097",
                            "lessThan": "e813b4a80292ea70aebdcb0b1b4f30b68bc0b266",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b8338116689a5b541738a8bb89457e0c6c4d497e",
                            "lessThan": "1d8ff6495673462f58b4b0352620fc6db89bd10f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ccd49adde0547bd6b6c857909d1c4a3ad6ab93c0",
                            "lessThan": "0b373291c7b56a2807c9260da163649728ccfb65",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4049dc96b8de7aeb3addcea039446e464726a525",
                            "lessThan": "b5bfeef31d29972178726ad04721f75731a3284f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4049dc96b8de7aeb3addcea039446e464726a525",
                            "lessThan": "01b4359d57b76c23c0762f8231e1676ed9f87f7b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4049dc96b8de7aeb3addcea039446e464726a525",
                            "lessThan": "c2cc01c130494e39e61775817d8053b31e471cb7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4049dc96b8de7aeb3addcea039446e464726a525",
                            "lessThan": "165301b5e2fd765fa05ea1044bbca8ba79820197",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "71803b10926e32738ede382b6ef4da345d35a2ab",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.15.150",
                            "lessThan": "5.15.226",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.80",
                            "lessThan": "6.1.193",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.19",
                            "lessThan": "6.6.163",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.7.7",
                            "lessThan": "6.8",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/target/fc.c"
                    ],
                    "versions": [
                        {
                            "version": "6.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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.15.150",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.80",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.19",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7.7"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/e813b4a80292ea70aebdcb0b1b4f30b68bc0b266"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1d8ff6495673462f58b4b0352620fc6db89bd10f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0b373291c7b56a2807c9260da163649728ccfb65"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b5bfeef31d29972178726ad04721f75731a3284f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/01b4359d57b76c23c0762f8231e1676ed9f87f7b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c2cc01c130494e39e61775817d8053b31e471cb7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/165301b5e2fd765fa05ea1044bbca8ba79820197"
                }
            ],
            "title": "nvmet-fc: don't drop the last assoc reference in nvmet_fc_delete_ctrl()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}