{"id":"CVE-2022-49029","aliases":["CVE-2022-49029"],"related":[],"kind":"vulnerability","state":"published","title":"hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails\n\nSmatch report warning as follows:\n\ndrivers/hwmon/ibmpex.c:509 ibmpex_register_bmc() warn:\n  '&data->list' not removed from list\n\nIf ibmpex_find_sensors() fails in ibmpex_register_bmc(), data will\nbe freed, but data->list will not be removed from driver_data.bmc_data,\nthen list traversal may cause UAF.\n\nFix by removeing it from driver_data.bmc_data before free().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails\n\nSmatch report warning as follows:\n\ndrivers/hwmon/ibmpex.c:509 ibmpex_register_bmc() warn:\n  '&data->list' not removed from list\n\nIf ibmpex_find_sensors() fails in ibmpex_register_bmc(), data will\nbe freed, but data->list will not be removed from driver_data.bmc_data,\nthen list traversal may cause UAF.\n\nFix by removeing it from driver_data.bmc_data before free().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: hwmon: (ibmpex) Se corrige un posible UAF cuando fallo ibmpex_register_bmc() Advertencia de informe de Smatch de la siguiente manera: drivers/hwmon/ibmpex.c:509 ibmpex_register_bmc() warn: '&amp;data-&gt;list' no se eliminó de la lista Si ibmpex_find_sensors() fallo en ibmpex_register_bmc(), se liberarán los datos, pero data-&gt;list no se eliminará de driver_data.bmc_data, entonces el recorrido de la lista puede causar UAF. Se soluciona eliminándolo de driver_data.bmc_data antes de free().","source":"nvd"}],"published":"2024-10-21T20:06:33.918Z","modified":"2026-08-05T08:53:33.547Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","fixed":"f2a13196ad41c6c2ab058279dffe6c97292e753a","status":"affected"},{"type":"git","introduced":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","fixed":"798198273bf86673b970b51acdb35e57f42b3fcb","status":"affected"},{"type":"git","introduced":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","fixed":"24b9633f7db7f4809be7053df1d2e117e7c2de10","status":"affected"},{"type":"git","introduced":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","fixed":"7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3","status":"affected"},{"type":"git","introduced":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","fixed":"90907cd4d11351ff76c9a447bcb5db0e264c47cd","status":"affected"},{"type":"git","introduced":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","fixed":"45f6e81863747c0d7bc6a95ec51129900e71467a","status":"affected"},{"type":"git","introduced":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","fixed":"e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863","status":"affected"},{"type":"git","introduced":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","fixed":"e2a87785aab0dac190ac89be6a9ba955e2c634f2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.24","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.24","status":"unaffected"},{"type":"semver","introduced":"4.9.335","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.301","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.268","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.226","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.158","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.82","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.12","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.24","fixed":"4.9.335"},{"status":"affected","introduced":"4.10","fixed":"4.14.301"},{"status":"affected","introduced":"4.15","fixed":"4.19.268"},{"status":"affected","introduced":"4.20","fixed":"5.4.226"},{"status":"affected","introduced":"5.5","fixed":"5.10.158"},{"status":"affected","introduced":"5.11","fixed":"5.15.82"},{"status":"affected","introduced":"5.16","fixed":"6.0.12"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f2a13196ad41c6c2ab058279dffe6c97292e753a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/798198273bf86673b970b51acdb35e57f42b3fcb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24b9633f7db7f4809be7053df1d2e117e7c2de10","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90907cd4d11351ff76c9a447bcb5db0e264c47cd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45f6e81863747c0d7bc6a95ec51129900e71467a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2a87785aab0dac190ac89be6a9ba955e2c634f2","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:11:29.003Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49029","url":"https://www.cve.org/CVERecord?id=CVE-2022-49029","licence":"CVE Terms of Use","modified":"2026-08-05T08:53:33.547Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49029","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49029","licence":"Public domain","modified":"2026-08-04T10:17:31.873Z"}],"updatedAt":"2026-11-25T22:58:20.041Z","epss":{"score":0.00247,"percentile":0.17127,"date":"2026-12-02T12:00:21.000Z"}}