{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143406","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.373Z","datePublished":"2026-12-05T01:20:32.065Z","dateUpdated":"2026-12-05T01:20:32.065Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-05T01:20:32.065Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: jcore: fix divide-by-zero when speed_hz is zero\n\njcore_spi_baudrate() computes hw->clock_freq / 2 / speed without\nvalidating speed. The SPI core fills transfer.speed_hz from\nspi->max_speed_hz when it is zero, and jcore_spi_probe() never sets\nhost->max_speed_hz, so the clamp in __spi_setup() is skipped. A\nspi_device created via the sysfs new_device interface (or a DT node\nwithout spi-max-frequency) therefore has max_speed_hz == 0, and any\nSPI_IOC_MESSAGE transfer reaches jcore_spi_baudrate() with speed == 0,\ncausing a division by zero and a kernel panic.\n\nClamp speed to a minimum of 1 Hz before the division so the divisor is\nnever zero. The computed divider then truncates to the register field\nwidth and the transfer simply runs at the slowest supported rate.\n\nVerified by inspection of the __spi_setup() clamp and\n__spi_validate()'s speed_hz handling; the division-by-zero path\nrequires the J-Core controller, which was not available."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-jcore.c"],"versions":[{"version":"2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273","lessThan":"10982e43876212fe06ec00cff936b0569e5ab7ee","status":"affected","versionType":"git"},{"version":"2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273","lessThan":"9345692144d3645809a3cb9cede27a56ba52af11","status":"affected","versionType":"git"},{"version":"2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273","lessThan":"da62913b94dbd804426c420ec9305e3d13da86fd","status":"affected","versionType":"git"},{"version":"2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273","lessThan":"d1e2ec9dc7f7ef3a6beedcdc150537423c717a49","status":"affected","versionType":"git"},{"version":"2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273","lessThan":"fd745ddad8f94cc9b28c4ac3a86ec9b803ec2996","status":"affected","versionType":"git"},{"version":"2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273","lessThan":"9c9bbb6a878056447dac471bbe73b4aa93085b01","status":"affected","versionType":"git"},{"version":"2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273","lessThan":"1b8f9d14d2961f894035e3246307cf32fca52c30","status":"affected","versionType":"git"},{"version":"2cb1b3b3ac0ac86b70eb1ecd65585c0d024fe273","lessThan":"7db773075501248893c22b11bedc6745d6d0be45","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-jcore.c"],"versions":[{"version":"4.9","status":"affected"},{"version":"0","lessThan":"4.9","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/10982e43876212fe06ec00cff936b0569e5ab7ee"},{"url":"https://git.kernel.org/stable/c/9345692144d3645809a3cb9cede27a56ba52af11"},{"url":"https://git.kernel.org/stable/c/da62913b94dbd804426c420ec9305e3d13da86fd"},{"url":"https://git.kernel.org/stable/c/d1e2ec9dc7f7ef3a6beedcdc150537423c717a49"},{"url":"https://git.kernel.org/stable/c/fd745ddad8f94cc9b28c4ac3a86ec9b803ec2996"},{"url":"https://git.kernel.org/stable/c/9c9bbb6a878056447dac471bbe73b4aa93085b01"},{"url":"https://git.kernel.org/stable/c/1b8f9d14d2961f894035e3246307cf32fca52c30"},{"url":"https://git.kernel.org/stable/c/7db773075501248893c22b11bedc6745d6d0be45"}],"title":"spi: jcore: fix divide-by-zero when speed_hz is zero","x_generator":{"engine":"bippy-1.2.0"}}}}