{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "030a48b0f6ce393d78b8d33debb1e2043b8cc156"
            },
            {
              "fixed": "2434f4765da8ccd7ef31be88b86f1bfa2e95be11"
            },
            {
              "fixed": "b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366"
            },
            {
              "fixed": "999e573212d5f1debf073c68be35e55bbfad12fc"
            },
            {
              "fixed": "6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a"
            },
            {
              "fixed": "8d34019d1413629a434a7e8d9f91c76d256196a0"
            },
            {
              "fixed": "6b446d335ba16e93a266dd77adf1ba51abc82df4"
            },
            {
              "fixed": "ff8da20b6f47c48d46e47f93f7a59e2d56ee9107"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.216"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.183"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.152"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.104"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.45"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74604.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nRevert \"thermal/drivers/hwmon: Cleanup coding style a bit\"\n\nRevert commit 030a48b0f6ce (\"thermal/drivers/hwmon: Cleanup coding style\na bit\") that introduced a use-after-free into the error path of\nthermal_add_hwmon_sysfs() by removing a valid check from it.",
  "id": "CVE-2026-74604",
  "modified": "2026-08-27T11:31:01.254516890Z",
  "published": "2026-08-22T15:31:52.295Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2434f4765da8ccd7ef31be88b86f1bfa2e95be11"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6b446d335ba16e93a266dd77adf1ba51abc82df4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8d34019d1413629a434a7e8d9f91c76d256196a0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/999e573212d5f1debf073c68be35e55bbfad12fc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ff8da20b6f47c48d46e47f93f7a59e2d56ee9107"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74604.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74604"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Revert \"thermal/drivers/hwmon: Cleanup coding style a bit\""
}