{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49029","id":"CVE-2022-49029","title":"hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails","description":"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_da","descriptionLong":"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().","published":"2024-10-21T20:06:33.918Z","updated":"2026-10-28T02:31:06.875440727Z","reserved":"2024-08-22T01:27:53.651Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","lessThan":"f2a13196ad41c6c2ab058279dffe6c97292e753a","status":"affected","versionType":"git"},{"version":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","lessThan":"798198273bf86673b970b51acdb35e57f42b3fcb","status":"affected","versionType":"git"},{"version":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","lessThan":"24b9633f7db7f4809be7053df1d2e117e7c2de10","status":"affected","versionType":"git"},{"version":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","lessThan":"7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3","status":"affected","versionType":"git"},{"version":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","lessThan":"90907cd4d11351ff76c9a447bcb5db0e264c47cd","status":"affected","versionType":"git"},{"version":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","lessThan":"45f6e81863747c0d7bc6a95ec51129900e71467a","status":"affected","versionType":"git"},{"version":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","lessThan":"e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863","status":"affected","versionType":"git"},{"version":"57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab","lessThan":"e2a87785aab0dac190ac89be6a9ba955e2c634f2","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.24","status":"affected"},{"version":"0","lessThan":"2.6.24","status":"unaffected","versionType":"semver"},{"version":"4.9.335","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.301","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.268","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.226","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.158","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.82","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.12","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f2a13196ad41c6c2ab058279dffe6c97292e753a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/798198273bf86673b970b51acdb35e57f42b3fcb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/24b9633f7db7f4809be7053df1d2e117e7c2de10","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/90907cd4d11351ff76c9a447bcb5db0e264c47cd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/45f6e81863747c0d7bc6a95ec51129900e71467a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e2a87785aab0dac190ac89be6a9ba955e2c634f2","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49029.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49029","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00245,"epssPercentile":0.15903,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49029","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49029","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49029","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49029","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}