{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-71111",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-71111",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2026-01-14T15:05:58.649Z",
    "updatedAt": "2026-10-19T18:15:13.644Z",
    "importedAt": "2026-10-24T01:57:44.935Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "hwmon: (w83791d) Convert macros to functions to avoid TOCTOU",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (w83791d) Convert macros to functions to avoid TOCTOU\n\nThe macro FAN_FROM_REG evaluates its arguments multiple times. When used\nin lockless contexts involving shared driver data, this leads to\nTime-of-Check to Time-of-Use (TOCTOU) race conditions, potentially\ncausing divide-by-zero errors.\n\nConvert the macro to a static function. This guarantees that arguments\nare evaluated only once (pass-by-value), preventing the race\nconditions.\n\nAdditionally, in store_fan_div, move the calculation of the minimum\nlimit inside the update lock. This ensures that the read-modify-write\nsequence operates on consistent data.\n\nAdhere to the principle of minimal changes by only converting macros\nthat evaluate arguments multiple times and are used in lockless\ncontexts.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "9873964d6eb24bd0205394f9b791de9eddbcb855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3dceb68f6ad33156032ef4da21a93d84059cca6d"
            },
            {
              "version": "9873964d6eb24bd0205394f9b791de9eddbcb855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bf5b03227f2e6d4360004886d268f9df8993ef8f"
            },
            {
              "version": "9873964d6eb24bd0205394f9b791de9eddbcb855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f2b579a0c37c0df19603d719894a942a295f634a"
            },
            {
              "version": "9873964d6eb24bd0205394f9b791de9eddbcb855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f94800fbc26ccf7c81eb791707b038a57aa39a18"
            },
            {
              "version": "9873964d6eb24bd0205394f9b791de9eddbcb855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a9fb6e8835a22f5796c1182ed612daed3fd273af"
            },
            {
              "version": "9873964d6eb24bd0205394f9b791de9eddbcb855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c8cf0c2bdcccc6634b6915ff793b844e12436680"
            },
            {
              "version": "9873964d6eb24bd0205394f9b791de9eddbcb855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "670d7ef945d3a84683594429aea6ab2cdfa5ceb4"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.18",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.18"
            },
            {
              "version": "5.10.248",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.198",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.160",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.120",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.64",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}