CVE-2026-43492
lib/crypto: mpi: Fix integer underflow in mpi_read_raw_from_sgl()
Mitigation
- Upgrade Linux to 8c2f1288250a90a4b5cabed5d888d7e3aeed4035 or later.
Who should check
- Anyone running Linux >= 2d4d1eea540b27c72488fd1914674c42473d53df, < a1793a48881ec8d26e9c79b0ee65753f1c6846a4; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 1abd50fc3cfa16fc2074a3c8c2729c50fd9d7043; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 6d63615c796c085b4984e3031b9fa77fffb47360; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 2aa77a18dc7f2670497fe3ee5acbeda0b57659e5; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 26d3a97ad46c7a9226ec04d4bf35bd4998a97d16; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 8637dfb4c1d8a7026ef681f2477c6de8b71c4003; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 30e513e755bb381afce6fb57cdc8694136193f22; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 8c2f1288250a90a4b5cabed5d888d7e3aeed4035
- Anyone running Linux 4.4
Vulnerability facts
- Affected
- Linux >= 2d4d1eea540b27c72488fd1914674c42473d53df, < a1793a48881ec8d26e9c79b0ee65753f1c6846a4; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 1abd50fc3cfa16fc2074a3c8c2729c50fd9d7043; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 6d63615c796c085b4984e3031b9fa77fffb47360; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 2aa77a18dc7f2670497fe3ee5acbeda0b57659e5; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 26d3a97ad46c7a9226ec04d4bf35bd4998a97d16; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 8637dfb4c1d8a7026ef681f2477c6de8b71c4003; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 30e513e755bb381afce6fb57cdc8694136193f22; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 8c2f1288250a90a4b5cabed5d888d7e3aeed4035; Linux 4.4
- Fixed in
- Linux 1abd50fc3cfa16fc2074a3c8c2729c50fd9d7043, Linux 6d63615c796c085b4984e3031b9fa77fffb47360, Linux 2aa77a18dc7f2670497fe3ee5acbeda0b57659e5, Linux 26d3a97ad46c7a9226ec04d4bf35bd4998a97d16, Linux 8637dfb4c1d8a7026ef681f2477c6de8b71c4003, Linux 30e513e755bb381afce6fb57cdc8694136193f22, Linux 8c2f1288250a90a4b5cabed5d888d7e3aeed4035
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-190
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2d4d1eea540b27c72488fd1914674c42473d53df, < a1793a48881ec8d26e9c79b0ee65753f1c6846a4; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 1abd50fc3cfa16fc2074a3c8c2729c50fd9d7043; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 6d63615c796c085b4984e3031b9fa77fffb47360; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 2aa77a18dc7f2670497fe3ee5acbeda0b57659e5; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 26d3a97ad46c7a9226ec04d4bf35bd4998a97d16; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 8637dfb4c1d8a7026ef681f2477c6de8b71c4003; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 30e513e755bb381afce6fb57cdc8694136193f22; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 8c2f1288250a90a4b5cabed5d888d7e3aeed4035 | — | cvelist |
| Linux | 4.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-43492. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-43492.md Affected: Linux >= 2d4d1eea540b27c72488fd1914674c42473d53df, < a1793a48881ec8d26e9c79b0ee65753f1c6846a4; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 1abd50fc3cfa16fc2074a3c8c2729c50fd9d7043; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 6d63615c796c085b4984e3031b9fa77fffb47360; >= 2d4d1eea540b27c72488fd1… Fixed in: Linux 1abd50fc3cfa16fc2074a3c8c2729c50fd9d7043, Linux 6d63615c796c085b4984e3031b9fa77fffb47360, Linux 2aa77a18dc7f2670497fe3ee5acbeda0b57659e5, Linux 26d3a97ad46c7a9226ec04d4bf35bd4998a97d16, Linux 8637dfb4c1d8a7026ef681f2477c6de8b71c4003, Linux 30e513e755bb381afce6fb57cdc8694136193f22, Linux 8c2f1… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/a1793a48881ec8d26e9c79b0ee65753f1c6846a4
- https://git.kernel.org/stable/c/1abd50fc3cfa16fc2074a3c8c2729c50fd9d7043
- https://git.kernel.org/stable/c/6d63615c796c085b4984e3031b9fa77fffb47360
- https://git.kernel.org/stable/c/2aa77a18dc7f2670497fe3ee5acbeda0b57659e5
- https://git.kernel.org/stable/c/26d3a97ad46c7a9226ec04d4bf35bd4998a97d16
- https://git.kernel.org/stable/c/8637dfb4c1d8a7026ef681f2477c6de8b71c4003
- https://git.kernel.org/stable/c/30e513e755bb381afce6fb57cdc8694136193f22
- https://git.kernel.org/stable/c/8c2f1288250a90a4b5cabed5d888d7e3aeed4035
FAQ
Is CVE-2026-43492 being exploited?
There is no confirmed exploitation: CVE-2026-43492 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-43492?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-43492?
Linux >= 2d4d1eea540b27c72488fd1914674c42473d53df, < a1793a48881ec8d26e9c79b0ee65753f1c6846a4; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 1abd50fc3cfa16fc2074a3c8c2729c50fd9d7043; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 6d63615c796c085b4984e3031b9fa77fffb47360; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 2aa77a18dc7f2670497fe3ee5acbeda0b57659e5; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 26d3a97ad46c7a9226ec04d4bf35bd4998a97d16; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 8637dfb4c1d8a7026ef681f2477c6de8b71c4003; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 30e513e755bb381afce6fb57cdc8694136193f22; >= 2d4d1eea540b27c72488fd1914674c42473d53df, < 8c2f1288250a90a4b5cabed5d888d7e3aeed4035; Linux 4.4.
Is there a fix for CVE-2026-43492?
Yes. Fixed in Linux 1abd50fc3cfa16fc2074a3c8c2729c50fd9d7043, Linux 6d63615c796c085b4984e3031b9fa77fffb47360, Linux 2aa77a18dc7f2670497fe3ee5acbeda0b57659e5, Linux 26d3a97ad46c7a9226ec04d4bf35bd4998a97d16, Linux 8637dfb4c1d8a7026ef681f2477c6de8b71c4003, Linux 30e513e755bb381afce6fb57cdc8694136193f22, Linux 8c2f1288250a90a4b5cabed5d888d7e3aeed4035. Upgrade Linux to 8c2f1288250a90a4b5cabed5d888d7e3aeed4035 or later.
How do I check if I'm affected by CVE-2026-43492?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.