CVE-2022-49029
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab < f2a13196ad41c6c2ab058279dffe6c97292e753a | affected |
| Linux | Linux | 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab < 798198273bf86673b970b51acdb35e57f42b3fcb | affected |
| Linux | Linux | 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab < 24b9633f7db7f4809be7053df1d2e117e7c2de10 | affected |
| Linux | Linux | 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab < 7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3 | affected |
| Linux | Linux | 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab < 90907cd4d11351ff76c9a447bcb5db0e264c47cd | affected |
| Linux | Linux | 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab < 45f6e81863747c0d7bc6a95ec51129900e71467a | affected |
| Linux | Linux | 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab < e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863 | affected |
| Linux | Linux | 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab < e2a87785aab0dac190ac89be6a9ba955e2c634f2 | affected |
| Linux | Linux | 2.6.24 | affected |
| Linux | Linux | 0 < 2.6.24 | unaffected |
| Linux | Linux | 4.9.335 <= 4.9.* | unaffected |
| Linux | Linux | 4.14.301 <= 4.14.* | unaffected |
| Linux | Linux | 4.19.268 <= 4.19.* | unaffected |
| Linux | Linux | 5.4.226 <= 5.4.* | unaffected |
| Linux | Linux | 5.10.158 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.82 <= 5.15.* | unaffected |
| Linux | Linux | 6.0.12 <= 6.0.* | unaffected |
| Linux | Linux | 6.1 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://git.kernel.org/stable/c/f2a13196ad41c6c2ab058279dffe6c97292e753a
- https://git.kernel.org/stable/c/798198273bf86673b970b51acdb35e57f42b3fcb
- https://git.kernel.org/stable/c/24b9633f7db7f4809be7053df1d2e117e7c2de10
- https://git.kernel.org/stable/c/7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3
- https://git.kernel.org/stable/c/90907cd4d11351ff76c9a447bcb5db0e264c47cd
- https://git.kernel.org/stable/c/45f6e81863747c0d7bc6a95ec51129900e71467a
- https://git.kernel.org/stable/c/e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863
- https://git.kernel.org/stable/c/e2a87785aab0dac190ac89be6a9ba955e2c634f2
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.