{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142977",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.341Z",
        "datePublished": "2026-12-03T09:17:07.872Z",
        "dateUpdated": "2026-12-03T09:17:07.872Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:17:07.872Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nw1: netlink: drop the slave after the bus is unlocked\n\nw1_process_cb() executes the commands of a netlink message with bus_mutex\nheld, and drops the reference to the slave which the message was\naddressed to before it unlocks the mutex.  If the slave has been detached\nin the meantime, this is the last reference, and w1_unref_slave() tears\nthe slave down on the spot.  That waits\n\n- in device_unregister(), for the sysfs callbacks of the slave which are\n  running, and\n\n- in w1_therm_remove_slave(), for the readers which have taken a\n  reference to the family data,\n\nand both kinds take bus_mutex to talk to the slave.  Whoever is waiting\nfor the mutex at that moment is never going to finish, and neither is the\nthread of the bus master.\n\nUnlock the bus first.  The reference keeps the slave, and with it the\nmaster, alive until then."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/w1/w1_netlink.c"
                    ],
                    "versions": [
                        {
                            "version": "d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c",
                            "lessThan": "bed1bba433a5ba23463e204833a8b1506ffb7f55",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c",
                            "lessThan": "61ea257fec4085dbd4795f759eedf01ac1166fff",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c",
                            "lessThan": "61807c07ab2baec1e238d53b5bcf0f67cf1adec4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c",
                            "lessThan": "016d555ff77ff6c82a4bbb31f4cde337bda46d31",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c",
                            "lessThan": "4187e08612650fbb597a998bc5889b46d887425c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c",
                            "lessThan": "847fa880a3e1b2fdbbf72d89e830566108457637",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/w1/w1_netlink.c"
                    ],
                    "versions": [
                        {
                            "version": "3.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "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-rc4",
                            "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": "3.15",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.15",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.15",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.15",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.15",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.15",
                                    "versionEndExcluding": "7.4-rc4"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/bed1bba433a5ba23463e204833a8b1506ffb7f55"
                },
                {
                    "url": "https://git.kernel.org/stable/c/61ea257fec4085dbd4795f759eedf01ac1166fff"
                },
                {
                    "url": "https://git.kernel.org/stable/c/61807c07ab2baec1e238d53b5bcf0f67cf1adec4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/016d555ff77ff6c82a4bbb31f4cde337bda46d31"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4187e08612650fbb597a998bc5889b46d887425c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/847fa880a3e1b2fdbbf72d89e830566108457637"
                }
            ],
            "title": "w1: netlink: drop the slave after the bus is unlocked",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}