CVE-2022-49029

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

HIGH
7.8
CVSS Score
Published: October 21, 2024 at 08:06 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.24 ≤ v < 4.14.3012.6.24 ≤ v < 4.19.2682.6.24 ≤ v < 4.9.3352.6.24 ≤ v < 5.10.1582.6.24 ≤ v < 5.15.822.6.24 ≤ v < 5.4.2262.6.24 ≤ v < 6.0.122.6.24 ≤ v < 6.14.10 ≤ v < 4.14.3014.15 ≤ v < 4.19.2684.20 ≤ v < 5.4.2265.11 ≤ v < 5.15.825.16 ≤ v < 6.0.125.5 ≤ v < 5.10.15857c7c3a0fdea95eddcaeba31e7ca7dfc917682ab6.1 rc16.1 rc26.1 rc36.1 rc46.1 rc56.1 rc66.1 rc7
Vendor states this is fixed in 24b9633f7db7f4809be7053df1d2e117e7c2de10 (fixed)
Vendor states this is fixed in 45f6e81863747c0d7bc6a95ec51129900e71467a (fixed)
Vendor states this is fixed in 798198273bf86673b970b51acdb35e57f42b3fcb (fixed)
Vendor states this is fixed in 7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3 (fixed)
Vendor states this is fixed in 90907cd4d11351ff76c9a447bcb5db0e264c47cd (fixed)
Vendor states this is fixed in e2a87785aab0dac190ac89be6a9ba955e2c634f2 (fixed)
Vendor states this is fixed in e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863 (fixed)
Vendor states this is fixed in f2a13196ad41c6c2ab058279dffe6c97292e753a (fixed)
Vendor states this is fixed in 2.6.24 (unaffected)
Vendor states this is fixed in 4.14.301 (unaffected)
Vendor states this is fixed in 4.19.268 (unaffected)
Vendor states this is fixed in 4.9.335 (unaffected)
Vendor states this is fixed in 5.10.158 (unaffected)
Vendor states this is fixed in 5.15.82 (unaffected)
Vendor states this is fixed in 5.4.226 (unaffected)
Vendor states this is fixed in 6.0.12 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24b9633f7db7f4809be7053df1d2e117e7c2de10
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/45f6e81863747c0d7bc6a95ec51129900e71467a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/798198273bf86673b970b51acdb35e57f42b3fcb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/90907cd4d11351ff76c9a447bcb5db0e264c47cd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e2a87785aab0dac190ac89be6a9ba955e2c634f2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f2a13196ad41c6c2ab058279dffe6c97292e753a

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card