CVE-2025-68789 (GCVE-0-2025-68789)

Vulnerability from cvelistv5 – Published: 2026-01-13 15:29 – Updated: 2026-01-13 15:29
VLAI?
Title
hwmon: (ibmpex) fix use-after-free in high/low store
Summary
In the Linux kernel, the following vulnerability has been resolved: hwmon: (ibmpex) fix use-after-free in high/low store The ibmpex_high_low_store() function retrieves driver data using dev_get_drvdata() and uses it without validation. This creates a race condition where the sysfs callback can be invoked after the data structure is freed, leading to use-after-free. Fix by adding a NULL check after dev_get_drvdata(), and reordering operations in the deletion path to prevent TOCTOU.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab , < 533ead425f8109b02fecc7e72d612b8898ec347a (git)
Affected: 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab , < fa37adcf1d564ef58b9dfb01b6c36d35c5294bad (git)
Affected: 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab , < 68d62e5bebbd118b763e8bb210d5cf2198ef450c (git)
Affected: 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab , < 5aa2139201667c1f644601e4529c4acd6bf8db5a (git)
Affected: 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab , < 6946c726c3f4c36f0f049e6f97e88c510b15f65d (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.24
Unaffected: 0 , < 2.6.24 (semver)
Unaffected: 6.1.160 , ≤ 6.1.* (semver)
Unaffected: 6.6.120 , ≤ 6.6.* (semver)
Unaffected: 6.12.64 , ≤ 6.12.* (semver)
Unaffected: 6.18.3 , ≤ 6.18.* (semver)
Unaffected: 6.19-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hwmon/ibmpex.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "533ead425f8109b02fecc7e72d612b8898ec347a",
              "status": "affected",
              "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
              "versionType": "git"
            },
            {
              "lessThan": "fa37adcf1d564ef58b9dfb01b6c36d35c5294bad",
              "status": "affected",
              "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
              "versionType": "git"
            },
            {
              "lessThan": "68d62e5bebbd118b763e8bb210d5cf2198ef450c",
              "status": "affected",
              "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
              "versionType": "git"
            },
            {
              "lessThan": "5aa2139201667c1f644601e4529c4acd6bf8db5a",
              "status": "affected",
              "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
              "versionType": "git"
            },
            {
              "lessThan": "6946c726c3f4c36f0f049e6f97e88c510b15f65d",
              "status": "affected",
              "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hwmon/ibmpex.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.24"
            },
            {
              "lessThan": "2.6.24",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.160",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.120",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.64",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.3",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19-rc2",
                  "versionStartIncluding": "2.6.24",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (ibmpex) fix use-after-free in high/low store\n\nThe ibmpex_high_low_store() function retrieves driver data using\ndev_get_drvdata() and uses it without validation. This creates a race\ncondition where the sysfs callback can be invoked after the data\nstructure is freed, leading to use-after-free.\n\nFix by adding a NULL check after dev_get_drvdata(), and reordering\noperations in the deletion path to prevent TOCTOU."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-13T15:29:02.079Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/533ead425f8109b02fecc7e72d612b8898ec347a"
        },
        {
          "url": "https://git.kernel.org/stable/c/fa37adcf1d564ef58b9dfb01b6c36d35c5294bad"
        },
        {
          "url": "https://git.kernel.org/stable/c/68d62e5bebbd118b763e8bb210d5cf2198ef450c"
        },
        {
          "url": "https://git.kernel.org/stable/c/5aa2139201667c1f644601e4529c4acd6bf8db5a"
        },
        {
          "url": "https://git.kernel.org/stable/c/6946c726c3f4c36f0f049e6f97e88c510b15f65d"
        }
      ],
      "title": "hwmon: (ibmpex) fix use-after-free in high/low store",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-68789",
    "datePublished": "2026-01-13T15:29:02.079Z",
    "dateReserved": "2025-12-24T10:30:51.037Z",
    "dateUpdated": "2026-01-13T15:29:02.079Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-68789\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-01-13T16:15:58.750\",\"lastModified\":\"2026-01-13T16:15:58.750\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nhwmon: (ibmpex) fix use-after-free in high/low store\\n\\nThe ibmpex_high_low_store() function retrieves driver data using\\ndev_get_drvdata() and uses it without validation. This creates a race\\ncondition where the sysfs callback can be invoked after the data\\nstructure is freed, leading to use-after-free.\\n\\nFix by adding a NULL check after dev_get_drvdata(), and reordering\\noperations in the deletion path to prevent TOCTOU.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/533ead425f8109b02fecc7e72d612b8898ec347a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5aa2139201667c1f644601e4529c4acd6bf8db5a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/68d62e5bebbd118b763e8bb210d5cf2198ef450c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6946c726c3f4c36f0f049e6f97e88c510b15f65d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fa37adcf1d564ef58b9dfb01b6c36d35c5294bad\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…