CVE-2022-49029CWE-416

CVE-2022-49029

High · published October 22, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
14.9
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00245 · 14.9th percentile
Weakness
CWE-416 · Use After Free
Published
2024-10-22T00:15Z
Affected products (14)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.24, < 4.9.3354.9.335
linux/linux_kernel≥ 4.10, < 4.14.3014.14.301
linux/linux_kernel≥ 4.15, < 4.19.2684.19.268
linux/linux_kernel≥ 4.20, < 5.4.2265.4.226
linux/linux_kernel≥ 5.5, < 5.10.1585.10.158
linux/linux_kernel≥ 5.11, < 5.15.825.15.82
linux/linux_kernel≥ 5.16, < 6.0.126.0.12
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 21 OCT 20:06Z
    hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails
    cvelistv5