{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c"
            },
            {
              "fixed": "bed1bba433a5ba23463e204833a8b1506ffb7f55"
            },
            {
              "fixed": "61ea257fec4085dbd4795f759eedf01ac1166fff"
            },
            {
              "fixed": "61807c07ab2baec1e238d53b5bcf0f67cf1adec4"
            },
            {
              "fixed": "016d555ff77ff6c82a4bbb31f4cde337bda46d31"
            },
            {
              "fixed": "4187e08612650fbb597a998bc5889b46d887425c"
            },
            {
              "fixed": "847fa880a3e1b2fdbbf72d89e830566108457637"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.15.0"
            },
            {
              "fixed": "5.10.276"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.227"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142977.json"
  },
  "details": "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.",
  "id": "CVE-2026-142977",
  "modified": "2026-12-03T10:45:22.387507107Z",
  "published": "2026-12-03T09:17:07.872Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/016d555ff77ff6c82a4bbb31f4cde337bda46d31"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4187e08612650fbb597a998bc5889b46d887425c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/61807c07ab2baec1e238d53b5bcf0f67cf1adec4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/61ea257fec4085dbd4795f759eedf01ac1166fff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/847fa880a3e1b2fdbbf72d89e830566108457637"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bed1bba433a5ba23463e204833a8b1506ffb7f55"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142977.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142977"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "w1: netlink: drop the slave after the bus is unlocked"
}