{"id":"CVE-2022-49029","summary":"hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails","details":"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-\u003elist' not removed from list\n\nIf ibmpex_find_sensors() fails in ibmpex_register_bmc(), data will\nbe freed, but data-\u003elist 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().","modified":"2026-04-11T12:43:27.716304Z","published":"2024-10-21T20:06:33.918Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:4082-1","SUSE-SU-2024:4100-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4313-1","SUSE-SU-2024:4317-1","SUSE-SU-2024:4364-1","SUSE-SU-2025:0034-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49029.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/24b9633f7db7f4809be7053df1d2e117e7c2de10"},{"type":"WEB","url":"https://git.kernel.org/stable/c/45f6e81863747c0d7bc6a95ec51129900e71467a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/798198273bf86673b970b51acdb35e57f42b3fcb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90907cd4d11351ff76c9a447bcb5db0e264c47cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e2a87785aab0dac190ac89be6a9ba955e2c634f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2a13196ad41c6c2ab058279dffe6c97292e753a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49029.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49029"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab"},{"fixed":"f2a13196ad41c6c2ab058279dffe6c97292e753a"},{"fixed":"798198273bf86673b970b51acdb35e57f42b3fcb"},{"fixed":"24b9633f7db7f4809be7053df1d2e117e7c2de10"},{"fixed":"7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3"},{"fixed":"90907cd4d11351ff76c9a447bcb5db0e264c47cd"},{"fixed":"45f6e81863747c0d7bc6a95ec51129900e71467a"},{"fixed":"e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863"},{"fixed":"e2a87785aab0dac190ac89be6a9ba955e2c634f2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49029.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.24"},{"fixed":"4.9.335"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.301"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.268"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.82"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49029.json"}}],"schema_version":"1.7.5"}