{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142975",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.340Z",
        "datePublished": "2026-12-03T09:17:05.669Z",
        "dateUpdated": "2026-12-03T09:17:05.669Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:17:05.669Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nw1: use the bus mutex for the \"rw\" file\n\nCommit b02f8bede217 (\"W1: split master mutex to avoid deadlocks.\") gave\nthe bus a mutex of its own, because the lock which protects the list of\nslaves is held while a slave is removed, which waits for the sysfs\ncallbacks of the slave, so these must not take it.  It converted all the\nslave drivers, but not the \"rw\" file of the default family in w1.c,\nwhich still takes the mutex of the master to talk on the bus.  That has\ntwo consequences:\n\n- A deadlock.  w1_process() holds the mutex of the master while it\n  searches the bus and detaches the slaves which have gone:\n\n    w1_process()                        read() of .../rw\n      mutex_lock(&dev->mutex)             kernfs active reference\n      w1_search_process()                 rw_read()\n        w1_slave_detach()                   mutex_lock(&master->mutex)\n          w1_unref_slave()                    waits\n            device_unregister()\n              waits for the reference\n\n  The file is readable for everybody.\n\n- The accesses through this file are not serialised with those of the\n  slave drivers, which take bus_mutex, so that two transactions can get\n  mixed up on the wire.\n\nTake bus_mutex here as well.  It also excludes the search, which takes it\nfor every pass."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/w1/w1.c"
                    ],
                    "versions": [
                        {
                            "version": "b02f8bede217a4b145ecc16d3940c78d83941147",
                            "lessThan": "d0548cc2d0c28739623a73f2de542914153ad32f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b02f8bede217a4b145ecc16d3940c78d83941147",
                            "lessThan": "6f9fc6db4e225e4b6d5c5c3959e6417984259047",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b02f8bede217a4b145ecc16d3940c78d83941147",
                            "lessThan": "e91eecae227be8febe053cb71437e7850ddcced2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b02f8bede217a4b145ecc16d3940c78d83941147",
                            "lessThan": "7109d4e308d6d7415b7e58866fdd294edd7f4385",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b02f8bede217a4b145ecc16d3940c78d83941147",
                            "lessThan": "715c04b8f07dda99e68f382e61ff31a4ae2edfb3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b02f8bede217a4b145ecc16d3940c78d83941147",
                            "lessThan": "8599e08648c0b4913ea7b202511f1294d176e793",
                            "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.c"
                    ],
                    "versions": [
                        {
                            "version": "3.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.6",
                            "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.6",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "7.4-rc4"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d0548cc2d0c28739623a73f2de542914153ad32f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6f9fc6db4e225e4b6d5c5c3959e6417984259047"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e91eecae227be8febe053cb71437e7850ddcced2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7109d4e308d6d7415b7e58866fdd294edd7f4385"
                },
                {
                    "url": "https://git.kernel.org/stable/c/715c04b8f07dda99e68f382e61ff31a4ae2edfb3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8599e08648c0b4913ea7b202511f1294d176e793"
                }
            ],
            "title": "w1: use the bus mutex for the \"rw\" file",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}