# CVE-2026-45914: Revert "hwmon: (ibmpex) fix use-after-free in high/low store"

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-27T12:17:29.426Z
- Modified: 2026-06-24T14:55:01.837Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

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

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

This reverts commit 6946c726c3f4c36f0f049e6f97e88c510b15f65d.

Jean Delvare points out that the patch does not completely
fix the reported problem, that it in fact introduces a
(new) race condition, and that it may actually not be needed in
the first place.

Various AI reviews agree. Specific and relevant AI feedback:

"
This reordering sets the driver data to NULL before removing the sensor
attributes in the loop below.

ibmpex_show_sensor() retrieves this driver data via dev_get_drvdata() but
does not check if it is NULL before dereferencing it to access
data->sensors[].

If a userspace process reads a sensor file (like temp1_input) while this
delete function is running, could it race with the dev_set_drvdata(...,
NULL) call here and crash in ibmpex_show_sensor()?

Would it be safer to keep the original order where device_remove_file() is
called before clearing the driver data? device_remove_file() should wait
for any active sysfs callbacks to complete, which might already prevent the
use-after-free this patch intends to fix.
"

Revert the offending patch. If it can be shown that the originally reported
alleged race condition does indeed exist, it can always be re-introduced
with a complete fix.

(As written by CVE List.)

## Affected

- Linux Linux: from 3ce9b7ae9d4d148672b35147aaf7987a4f82bb94 before 05112ba67c824ab416cd54307c0b50aba9f0047a; from 533ead425f8109b02fecc7e72d612b8898ec347a before efd68429f23fb4015b0ebc2392334059e06fad18; from fa37adcf1d564ef58b9dfb01b6c36d35c5294bad before f448acd86835a650f9ea83460b9ca347d3aafba5; from 68d62e5bebbd118b763e8bb210d5cf2198ef450c before 914b47c9b824d3d74f31c764163edf93302100b1; from 5aa2139201667c1f644601e4529c4acd6bf8db5a before 14a38784e09aebc21207dc32fffa05247fc3dd64; from 6946c726c3f4c36f0f049e6f97e88c510b15f65d before 894d9c7aab68fd0c70c78b1d03c8fa589fb0f67d; from 6946c726c3f4c36f0f049e6f97e88c510b15f65d before 8bde3e395a85017f12af2b0ba5c3684f5af9c006; from 5.10.248 before 5.10.252; from 6.1.160 before 6.1.165; from 6.6.120 before 6.6.128; from 6.12.64 before 6.12.75; from 6.18.3 before 6.18.14; and 1 more (not affected: before 6.19; from 5.10.252 up to 5.10.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.10.248 before 5.10.252; from 6.1.160 before 6.1.165; from 6.6.120 before 6.6.128; from 6.12.64 before 6.12.75; from 6.18.3 before 6.18.14; from 6.19.1 before 6.19.4; 6.19

## References

- <https://git.kernel.org/stable/c/05112ba67c824ab416cd54307c0b50aba9f0047a> (patch)
- <https://git.kernel.org/stable/c/efd68429f23fb4015b0ebc2392334059e06fad18> (patch)
- <https://git.kernel.org/stable/c/f448acd86835a650f9ea83460b9ca347d3aafba5> (patch)
- <https://git.kernel.org/stable/c/914b47c9b824d3d74f31c764163edf93302100b1> (patch)
- <https://git.kernel.org/stable/c/14a38784e09aebc21207dc32fffa05247fc3dd64> (patch)
- <https://git.kernel.org/stable/c/894d9c7aab68fd0c70c78b1d03c8fa589fb0f67d> (patch)
- <https://git.kernel.org/stable/c/8bde3e395a85017f12af2b0ba5c3684f5af9c006> (patch)

## Sources

- CVE List: [CVE-2026-45914](https://www.cve.org/CVERecord?id=CVE-2026-45914), CVE Terms of Use, modified 2026-05-27
- NVD: [CVE-2026-45914](https://nvd.nist.gov/vuln/detail/CVE-2026-45914), Public domain, modified 2026-06-24

---

Page: https://cve.day/CVE-2026-45914 · Whole record: https://cve.day/CVE-2026-45914.json · Rebuilt by cve.day 2026-11-25T22:59:22.503Z
