| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2022-49643: ima: Fix a potential integer overflow in ima_appraise_measurement |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| ima: Fix a potential integer overflow in ima_appraise_measurement |
| |
| When the ima-modsig is enabled, the rc passed to evm_verifyxattr() may be |
| negative, which may cause the integer overflow problem. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49643 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.4 with commit 39b07096364a42c516415d5f841069e885234e61 and fixed in 5.4.207 with commit 388f3df7c3c8b7f2a32b9ae0a9b2f9f6ad3b1b77 |
| Issue introduced in 5.4 with commit 39b07096364a42c516415d5f841069e885234e61 and fixed in 5.10.132 with commit 831e190175f10652be93b08436cc7bf2e62e4bb6 |
| Issue introduced in 5.4 with commit 39b07096364a42c516415d5f841069e885234e61 and fixed in 5.15.56 with commit c8d5d81940938b5f6c0f495ca9538e7740416f30 |
| Issue introduced in 5.4 with commit 39b07096364a42c516415d5f841069e885234e61 and fixed in 5.18.13 with commit 640cea4c2839a821adfbb703b590a5928abe9286 |
| Issue introduced in 5.4 with commit 39b07096364a42c516415d5f841069e885234e61 and fixed in 5.19 with commit d2ee2cfc4aa85ff6a2a3b198a3a524ec54e3d999 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2022-49643 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| security/integrity/ima/ima_appraise.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/388f3df7c3c8b7f2a32b9ae0a9b2f9f6ad3b1b77 |
| https://git.kernel.org/stable/c/831e190175f10652be93b08436cc7bf2e62e4bb6 |
| https://git.kernel.org/stable/c/c8d5d81940938b5f6c0f495ca9538e7740416f30 |
| https://git.kernel.org/stable/c/640cea4c2839a821adfbb703b590a5928abe9286 |
| https://git.kernel.org/stable/c/d2ee2cfc4aa85ff6a2a3b198a3a524ec54e3d999 |