# CVE-2022-49029: hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2024-10-21T20:06:33.918Z
- Modified: 2026-08-05T08:53:33.547Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails

Smatch report warning as follows:

drivers/hwmon/ibmpex.c:509 ibmpex_register_bmc() warn:
  '&data->list' not removed from list

If ibmpex_find_sensors() fails in ibmpex_register_bmc(), data will
be freed, but data->list will not be removed from driver_data.bmc_data,
then list traversal may cause UAF.

Fix by removeing it from driver_data.bmc_data before free().

(As written by CVE List.)

## Affected

- Linux Linux: from 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab before f2a13196ad41c6c2ab058279dffe6c97292e753a; from 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab before 798198273bf86673b970b51acdb35e57f42b3fcb; from 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab before 24b9633f7db7f4809be7053df1d2e117e7c2de10; from 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab before 7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3; from 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab before 90907cd4d11351ff76c9a447bcb5db0e264c47cd; from 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab before 45f6e81863747c0d7bc6a95ec51129900e71467a; from 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab before e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863; from 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab before e2a87785aab0dac190ac89be6a9ba955e2c634f2; 2.6.24 (not affected: before 2.6.24; from 4.9.335 up to 4.9.*; from 4.14.301 up to 4.14.*; from 4.19.268 up to 4.19.*; from 5.4.226 up to 5.4.*; from 5.10.158 up to 5.10.*; from 5.15.82 up to 5.15.*; from 6.0.12 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 2.6.24 before 4.9.335; from 4.10 before 4.14.301; from 4.15 before 4.19.268; from 4.20 before 5.4.226; from 5.5 before 5.10.158; from 5.11 before 5.15.82; from 5.16 before 6.0.12; 6.1

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/f2a13196ad41c6c2ab058279dffe6c97292e753a> (patch)
- <https://git.kernel.org/stable/c/798198273bf86673b970b51acdb35e57f42b3fcb> (patch)
- <https://git.kernel.org/stable/c/24b9633f7db7f4809be7053df1d2e117e7c2de10> (patch)
- <https://git.kernel.org/stable/c/7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3> (patch)
- <https://git.kernel.org/stable/c/90907cd4d11351ff76c9a447bcb5db0e264c47cd> (patch)
- <https://git.kernel.org/stable/c/45f6e81863747c0d7bc6a95ec51129900e71467a> (patch)
- <https://git.kernel.org/stable/c/e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863> (patch)
- <https://git.kernel.org/stable/c/e2a87785aab0dac190ac89be6a9ba955e2c634f2> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-49029 · Whole record: https://cve.day/CVE-2022-49029.json · Rebuilt by cve.day 2026-11-25T22:58:20.041Z
