lib/crypto: mpi: Fix integer underflow in mpi_read_raw_from_sgl()
CVE-2026-43492 is fixed in 70 products on 1 platform, first by ALAS2023-2026-1753, released May 25, 2026. It is not reported as exploited. Patch Radar priority: Routine.
In the Linux kernel, the following vulnerability has been resolved: lib/crypto: mpi: Fix integer underflow in mpi_read_raw_from_sgl() Yiming reports an integer underflow in mpi_read_raw_from_sgl() when subtracting "lzeros" from the unsigned "nbytes". For this to happen, the scatterlist "sgl" needs to occupy more bytes than the "nbytes" parameter and the first "nbytes + 1" bytes of the scatterlist must be zero. Under these conditions, the while loop iterating over the scatterlist will count more zeroes than "nbytes", subtract the number of zeroes from "nbytes" and cause the underflow. When commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") originally introduced the bug, it couldn't be triggered because all callers of mpi_read_raw_from_sgl() passed a scatterlist whose length was equal to "nbytes". However since commit 63ba4d67594a ("KEYS: asymmetric: Use new crypto interface without scatterlists"), the underflow can now actually be triggered. When invoking a KEYCTL_PKEY_ENCRYPT system call with a larger "out_len" than "in_len" and filling the "in" buffer with zeroes, crypto_akcipher_sync_prep() will create an all-zero scatterlist used for both the "src" and "dst" member of struct akcipher_request and thereby fulfil the conditions to trigger the bug: sys_keyctl() keyctl_pkey_e_d_s() asymmetric_key_eds_op() software_key_eds_op() crypto_akcipher_sync_encrypt() crypto_akcipher_sync_prep() crypto_akcipher_encrypt() rsa_enc() mpi_read_raw_from_sgl() To the user this will be visible as a DoS as the kernel spins forever, causing soft lockup splats as a side effect. Fix it.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| bpftool · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| bpftool-debuginfo · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| bpftool6.12 · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| bpftool6.12-debuginfo · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| bpftool6.18 · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| bpftool6.18-debuginfo · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| dtb-aarch64 · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-64kb · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-64kb · sles 15.7 | 6.4.0-150700.53.66.1 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-64kb · sles 16.0 | 6.12.0-160000.36.1 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel-azure · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-azure · sles 15.7 | 6.4.0-150700.53.66.1 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-azure · sles 16.0 | 6.12.0-160000.36.1 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel-debuginfo · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-debuginfo-common-aarch64 · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-debuginfo-common-x86_64 · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-default · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-default · sles 15.7 | 6.4.0-150700.53.66.1 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-default · sles 16.0 | 6.12.0-160000.36.1 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel-default-base · opensuse-leap 16.0 | 6.12.0-160000.36.1.160000.2.17 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-default-base · sles 15.7 | 6.4.0-150700.53.66.1.150700.17.39.1 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-default-base · sles 16.0 | 6.12.0-160000.36.1.160000.2.17 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel-devel · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-docs · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-docs · sles 15.7 | 6.4.0-150700.53.66.2 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-docs · sles 16.0 | 6.12.0-160000.36.1 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel-headers · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-kvmsmall · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-kvmsmall · sles 16.0 | 6.12.0-160000.36.1 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel-livepatch-6.1.176-220.358 · amzn 2023 | 1:1.0-0.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-livepatch-6.12.88-119.157 · amzn 2023 | 1:1.0-0.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel-livepatch-6.18.30-61.116 · amzn 2023 | 1:1.0-0.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel-livepatch-SLE15-SP7-RT_Update_17 · sles 15.7 | 1-150700.1.3.1 | SUSE-SU-2026:2799-1 | Jul 8, 2026 |
| kernel-livepatch-SLE15-SP7_Update_18 · sles 15.7 | 1-150700.15.3.1 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-modules-extra · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-modules-extra-common · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-obs-build · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-obs-build · sles 15.7 | 6.4.0-150700.53.66.1 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-obs-qa · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-obs-qa · sles 16.0 | 6.12.0-160000.36.1 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel-rt · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-source · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-source · sles 15.7 | 6.4.0-150700.53.66.1 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-source · sles 16.0 | 6.12.0-160000.36.1 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel-syms · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-syms · sles 15.7 | 6.4.0-150700.53.66.1 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-syms · sles 16.0 | 6.12.0-160000.36.1 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel-tools · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-tools-debuginfo · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-tools-devel · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| kernel-zfcpdump · opensuse-leap 16.0 | 6.12.0-160000.36.1 | OPENSUSE-SU-2026:21388-1 | Jul 21, 2026 |
| kernel-zfcpdump · sles 15.7 | 6.4.0-150700.53.66.1 | SUSE-SU-2026:2800-1 | Jul 8, 2026 |
| kernel-zfcpdump · sles 16.0 | 6.12.0-160000.36.1 | SUSE-SU-2026:22835-1 | Jul 21, 2026 |
| kernel6.12 · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-debuginfo · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-debuginfo-common-aarch64 · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-debuginfo-common-x86_64 · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-devel · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-headers · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-modules-extra · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-modules-extra-common · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-tools · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-tools-debuginfo · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.12-tools-devel · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| kernel6.18 · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-debuginfo · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-debuginfo-common-aarch64 · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-debuginfo-common-x86_64 · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-devel · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-headers · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-modules-extra · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-modules-extra-common · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-tools · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-tools-debuginfo · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| kernel6.18-tools-devel · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| linux · Debian 12.15 (bookworm) | 6.1.176-1 | DEBIAN-CVE-2026-43492 | May 27, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.88-1 | DEBIAN-CVE-2026-43492 | May 27, 2026 |
| linux · Debian 14 | 7.0.7-1 | DEBIAN-CVE-2026-43492 | May 27, 2026 |
| perf · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| perf-debuginfo · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| perf6.12 · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| perf6.12-debuginfo · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| perf6.18 · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| perf6.18-debuginfo · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| python3-perf · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| python3-perf-debuginfo · amzn 2023 | 1:6.1.176-220.358.amzn2023 | ALAS2023-2026-1924 | Jul 6, 2026 |
| python3-perf6.12 · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| python3-perf6.12-debuginfo · amzn 2023 | 1:6.12.88-119.157.amzn2023 | ALAS2023-2026-1753 | May 25, 2026 |
| python3-perf6.18 · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
| python3-perf6.18-debuginfo · amzn 2023 | 1:6.18.30-61.116.amzn2023 | ALAS2023-2026-1754 | May 25, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.