{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "57e49a0bc4b3887d1e3db2d3073f2a6934f87e16"
            },
            {
              "fixed": "a752f0d93af0488f5151f60ae3369830225d8425"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "ee78b9360e14c276f5ceaa4a0d06f790f04ccdad"
            },
            {
              "fixed": "1ad96082583e58a8b8848129ff83d4bb74d7702d"
            },
            {
              "fixed": "721a8d471d288febdb35536e1ff30478b0d392b0"
            },
            {
              "fixed": "2e47c7d093080463eb46fafce7278baf2db5bcd2"
            },
            {
              "fixed": "3b5ca1a674e9b0145201e4b2b8b47ea174c47d27"
            },
            {
              "fixed": "63e6c760dab0a59772e55cd7268fdbf4b9025421"
            },
            {
              "fixed": "ae1b1eb10dcf4be87f859a38d1ec06d691308232"
            },
            {
              "fixed": "c73e9f04445f361d5f19ca2edfde742ce18348ef"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "185ff7decad5d050462de134d01a2796a2b71ec3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "2d9cb13c8ca644cedd377cab23404d05ce0335a1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "09f064fcadc7dad2ffc69232d58c8a29b2e5e430"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3189d9749317ef8ce36bcc7c4a1f1b74ea58ee9f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "e14c6d50b2d10a8f76ac601023061cccbb5e1287"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5b2499ec3fb022045a422df3b75338bb51384a13"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.9.276"
            },
            {
              "fixed": "4.10"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.14.240"
            },
            {
              "fixed": "4.15"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.19.198"
            },
            {
              "fixed": "4.20"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.4.132"
            },
            {
              "fixed": "5.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.10.50"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.12.17"
            },
            {
              "fixed": "5.13"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.13.2"
            },
            {
              "fixed": "5.14"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.14.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142857.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nleds: ktd2692: Pass context to regulator cleanup\n\nregulator_disable_action() retrieves the driver context from device\ndriver data.  However, ktd2692_parse_dt() registers the action before\nktd2692_probe() stores the context with platform_set_drvdata().\n\nIf devm_add_action_or_reset() cannot allocate the action, it invokes the\ncallback immediately.  A later probe failure also invokes it during\nmanaged-resource unwinding.  Both paths dereference a NULL context.\n\nPass the already allocated context directly to the action and retain the\ndevice pointer in it for error reporting.  The context is allocated before\nthe action is registered, so reverse-order devres unwinding keeps it alive\nthrough the callback.\n\nThis issue was identified during our ongoing static-analysis research while\nreviewing kernel code.",
  "id": "CVE-2026-142857",
  "modified": "2026-12-03T20:45:36.510822337Z",
  "published": "2026-12-03T03:21:01.300Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1ad96082583e58a8b8848129ff83d4bb74d7702d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2e47c7d093080463eb46fafce7278baf2db5bcd2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3b5ca1a674e9b0145201e4b2b8b47ea174c47d27"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/63e6c760dab0a59772e55cd7268fdbf4b9025421"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/721a8d471d288febdb35536e1ff30478b0d392b0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a752f0d93af0488f5151f60ae3369830225d8425"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ae1b1eb10dcf4be87f859a38d1ec06d691308232"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c73e9f04445f361d5f19ca2edfde742ce18348ef"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142857.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142857"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "leds: ktd2692: Pass context to regulator cleanup"
}