CVE-2025-68789

Source
https://cve.org/CVERecord?id=CVE-2025-68789
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68789.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-68789
Downstream
Related
Published
2026-01-13T15:29:02.079Z
Modified
2026-03-12T04:31:57.917593Z
Summary
hwmon: (ibmpex) fix use-after-free in high/low store
Details

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (ibmpex) fix use-after-free in high/low store

The ibmpexhighlowstore() function retrieves driver data using devget_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 devgetdrvdata(), and reordering operations in the deletion path to prevent TOCTOU.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68789.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab
Fixed
3ce9b7ae9d4d148672b35147aaf7987a4f82bb94
Fixed
533ead425f8109b02fecc7e72d612b8898ec347a
Fixed
fa37adcf1d564ef58b9dfb01b6c36d35c5294bad
Fixed
68d62e5bebbd118b763e8bb210d5cf2198ef450c
Fixed
5aa2139201667c1f644601e4529c4acd6bf8db5a
Fixed
6946c726c3f4c36f0f049e6f97e88c510b15f65d

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68789.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.24
Fixed
5.10.248
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
6.1.160
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.120
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.64
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68789.json"