# CVE-2024-26945: crypto: iaa - Fix nr_cpus < nr_iaa case

- Severity: High 8.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 19% of CVEs (2026-11-30)
- Published: 2024-05-01T05:18:09.112Z
- Modified: 2026-06-17T07:18:45.477Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

crypto: iaa - Fix nr_cpus < nr_iaa case

If nr_cpus < nr_iaa, the calculated cpus_per_iaa will be 0, which
causes a divide-by-0 in rebalance_wq_table().

Make sure cpus_per_iaa is 1 in that case, and also in the nr_iaa == 0
case, even though cpus_per_iaa is never used if nr_iaa == 0, for
paranoia.

(As written by CVE List.)

## Affected

- Linux Linux: from ea7a5cbb43696cfacf73e61916d1860ac30b5b2f before a5ca1be7f9817de4e93085778b3ee2219bdc2664; from ea7a5cbb43696cfacf73e61916d1860ac30b5b2f before 5a7e89d3315d1be86aff8a8bf849023cda6547f7; 6.8 (not affected: before 6.8; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: 1da177e4c3f4; before 6.8.3; 6.9 (not affected: 6.8.3; 6.9)

## References

- <https://git.kernel.org/stable/c/a5ca1be7f9817de4e93085778b3ee2219bdc2664> (patch)
- <https://git.kernel.org/stable/c/5a7e89d3315d1be86aff8a8bf849023cda6547f7> (patch)

## Sources

- CVE List: [CVE-2024-26945](https://www.cve.org/CVERecord?id=CVE-2024-26945), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26945](https://nvd.nist.gov/vuln/detail/CVE-2024-26945), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26945 · Whole record: https://cve.day/CVE-2024-26945.json · Rebuilt by cve.day 2026-11-25T22:58:39.729Z
