# CVE-2026-143406: spi: jcore: fix divide-by-zero when speed\_hz is zero

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-05T01:20:32.065Z
- **Modified:** 2026-12-05T03:19:50.840Z

> **AI summary (AI-generated, claude-haiku-5-5):** A local user can trigger a divide-by-zero kernel panic in the Linux kernel's J-Core SPI driver by issuing a transfer on an SPI device with zero max speed.

## Who should check

- Anyone running Linux \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 10982e43876212fe06ec00cff936b0569e5ab7ee; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 9345692144d3645809a3cb9cede27a56ba52af11; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< da62913b94dbd804426c420ec9305e3d13da86fd; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< d1e2ec9dc7f7ef3a6beedcdc150537423c717a49; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< fd745ddad8f94cc9b28c4ac3a86ec9b803ec2996; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 9c9bbb6a878056447dac471bbe73b4aa93085b01; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 1b8f9d14d2961f894035e3246307cf32fca52c30; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 7db773075501248893c22b11bedc6745d6d0be45
- Anyone running Linux 4.9

## Description

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

spi: jcore: fix divide-by-zero when speed\_hz is zero

jcore\_spi\_baudrate() computes hw-\>clock\_freq / 2 / speed without
validating speed. The SPI core fills transfer.speed\_hz from
spi-\>max\_speed\_hz when it is zero, and jcore\_spi\_probe() never sets
host-\>max\_speed\_hz, so the clamp in \_\_spi\_setup() is skipped. A
spi\_device created via the sysfs new\_device interface (or a DT node
without spi-max-frequency) therefore has max\_speed\_hz == 0, and any
SPI\_IOC\_MESSAGE transfer reaches jcore\_spi\_baudrate() with speed == 0,
causing a division by zero and a kernel panic.

Clamp speed to a minimum of 1 Hz before the division so the divisor is
never zero. The computed divider then truncates to the register field
width and the transfer simply runs at the slowest supported rate.

Verified by inspection of the \_\_spi\_setup() clamp and
\_\_spi\_validate()'s speed\_hz handling; the division-by-zero path
requires the J-Core controller, which was not available.

## Affected and fixed versions

- Linux: \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 10982e43876212fe06ec00cff936b0569e5ab7ee; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 9345692144d3645809a3cb9cede27a56ba52af11; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< da62913b94dbd804426c420ec9305e3d13da86fd; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< d1e2ec9dc7f7ef3a6beedcdc150537423c717a49; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< fd745ddad8f94cc9b28c4ac3a86ec9b803ec2996; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 9c9bbb6a878056447dac471bbe73b4aa93085b01; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 1b8f9d14d2961f894035e3246307cf32fca52c30; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 7db773075501248893c22b11bedc6745d6d0be45 (cvelist)
- Linux: 4.9 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 7db773075501248893c22b11bedc6745d6d0be45 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-143406. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-143406.md
Affected: Linux >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < 10982e43876212fe06ec00cff936b0569e5ab7ee; >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < 9345692144d3645809a3cb9cede27a56ba52af11; >= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, < da62913b94dbd804426c420ec9305e3d13da86fd; >= 2cb1b3b3ac0ac86b70eb1ec…
Fixed in: Linux 10982e43876212fe06ec00cff936b0569e5ab7ee, Linux 9345692144d3645809a3cb9cede27a56ba52af11, Linux 9c9bbb6a878056447dac471bbe73b4aa93085b01, Linux 1b8f9d14d2961f894035e3246307cf32fca52c30, Linux 7db773075501248893c22b11bedc6745d6d0be45

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.
```

## FAQ

### Is CVE-2026-143406 being exploited?

There is no confirmed exploitation: CVE-2026-143406 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-143406?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-143406?

Linux \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 10982e43876212fe06ec00cff936b0569e5ab7ee; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 9345692144d3645809a3cb9cede27a56ba52af11; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< da62913b94dbd804426c420ec9305e3d13da86fd; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< d1e2ec9dc7f7ef3a6beedcdc150537423c717a49; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< fd745ddad8f94cc9b28c4ac3a86ec9b803ec2996; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 9c9bbb6a878056447dac471bbe73b4aa93085b01; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 1b8f9d14d2961f894035e3246307cf32fca52c30; \>= 2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273, \< 7db773075501248893c22b11bedc6745d6d0be45; Linux 4.9.

### Is there a fix for CVE-2026-143406?

Yes. Fixed in Linux 10982e43876212fe06ec00cff936b0569e5ab7ee, Linux 9345692144d3645809a3cb9cede27a56ba52af11, Linux 9c9bbb6a878056447dac471bbe73b4aa93085b01, Linux 1b8f9d14d2961f894035e3246307cf32fca52c30, Linux 7db773075501248893c22b11bedc6745d6d0be45. Upgrade Linux to 7db773075501248893c22b11bedc6745d6d0be45 or later.

### How do I check if I'm affected by CVE-2026-143406?

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.

## References

- other: <https://git.kernel.org/stable/c/10982e43876212fe06ec00cff936b0569e5ab7ee>
- other: <https://git.kernel.org/stable/c/9345692144d3645809a3cb9cede27a56ba52af11>
- other: <https://git.kernel.org/stable/c/da62913b94dbd804426c420ec9305e3d13da86fd>
- other: <https://git.kernel.org/stable/c/d1e2ec9dc7f7ef3a6beedcdc150537423c717a49>
- other: <https://git.kernel.org/stable/c/fd745ddad8f94cc9b28c4ac3a86ec9b803ec2996>
- other: <https://git.kernel.org/stable/c/9c9bbb6a878056447dac471bbe73b4aa93085b01>
- other: <https://git.kernel.org/stable/c/1b8f9d14d2961f894035e3246307cf32fca52c30>
- other: <https://git.kernel.org/stable/c/7db773075501248893c22b11bedc6745d6d0be45>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-143406>

HTML: <https://flawdb.com/CVE-2026-143406> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-143406>
