CVE-2025-37896
publishedspi: spi-mem: Add fix to avoid divide error
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux226d6cb3cb799aae46d0dd19a521133997d9db11 to < 1915dbd67dadc0bb35670c8e28229baa29368d17 · 226d6cb3cb799aae46d0dd19a521133997d9db11 to < 8e4d3d8a5e51e07bd0d6cdd81b5e4af79f796927 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.14.6 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-6.14 | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-aws-6.14-cloud-tools-6.14.0-1009 | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-aws-6.14-headers-6.14.0-1009 | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-aws-6.14-tools-6.14.0-1009 | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-buildinfo-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-buildinfo-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-cloud-tools-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-headers-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-headers-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-headers-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-image-unsigned-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-modules-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-modules-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-modules-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-modules-extra-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-modules-ipu6-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-modules-ipu7-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-modules-usbio-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-modules-vision-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-oem-6.14 | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-oem-6.14-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-oem-6.14-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-tools-6.14.0-1007-oem | Advisory build | 6.14.0-1007.7 | USN-7650-1 |
| Ubuntu | noble | linux-tools-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | noble | linux-tools-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu | plucky | bpftool | Advisory build | 7.6.0+6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-aws | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-aws-cloud-tools-6.14.0-1009 | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-aws-headers-6.14.0-1009 | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-aws-tools-6.14.0-1009 | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-azure | Advisory build | 6.14.0-1010.10 | USN-7721-1 |
| Ubuntu | plucky | linux-azure-cloud-tools-6.14.0-1010 | Advisory build | 6.14.0-1010.10 | USN-7721-1 |
| Ubuntu | plucky | linux-azure-headers-6.14.0-1010 | Advisory build | 6.14.0-1010.10 | USN-7721-1 |
| Ubuntu | plucky | linux-azure-tools-6.14.0-1010 | Advisory build | 6.14.0-1010.10 | USN-7721-1 |
| Ubuntu | plucky | linux-bpf-dev | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1006-realtime | Advisory build | 6.14.0-1006.6 | USN-7649-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1009-oracle | Advisory build | 6.14.0-1009.9 | USN-7665-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1009-oracle-64k | Advisory build | 6.14.0-1009.9 | USN-7665-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1009-raspi | Advisory build | 6.14.0-1009.9 | USN-7649-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1010-azure | Advisory build | 6.14.0-1010.10 | USN-7721-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1011-gcp | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1011-gcp-64k | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-24-generic | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-24-generic-64k | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1006-realtime | Advisory build | 6.14.0-1006.6 | USN-7649-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1010-azure | Advisory build | 6.14.0-1010.10 | USN-7721-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-24 | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-24-generic | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-cloud-tools-common | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-gcp | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-gcp-headers-6.14.0-1011 | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-gcp-tools-6.14.0-1011 | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1006-realtime | Advisory build | 6.14.0-1006.6 | USN-7649-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-headers-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-headers-6.14.0-1009-oracle | Advisory build | 6.14.0-1009.9 | USN-7665-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1009-oracle-64k | Advisory build | 6.14.0-1009.9 | USN-7665-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1009-raspi | Advisory build | 6.14.0-1009.9 | USN-7649-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1010-azure | Advisory build | 6.14.0-1010.10 | USN-7721-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1011-gcp | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1011-gcp-64k | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-headers-6.14.0-24 | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-headers-6.14.0-24-generic | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-headers-6.14.0-24-generic-64k | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-image-6.14.0-1009-raspi | Advisory build | 6.14.0-1009.9 | USN-7649-1 |
| Ubuntu | plucky | linux-image-6.14.0-24-generic | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1006-realtime | Advisory build | 6.14.0-1006.6 | USN-7649-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1009-oracle | Advisory build | 6.14.0-1009.9 | USN-7665-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1009-oracle-64k | Advisory build | 6.14.0-1009.9 | USN-7665-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1010-azure | Advisory build | 6.14.0-1010.10 | USN-7721-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1011-gcp | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1011-gcp-64k | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-24-generic | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-24-generic-64k | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-lib-rust-6.14.0-24-generic | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-libc-dev | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1006-realtime | Advisory build | 6.14.0-1006.6 | USN-7649-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1009-aws | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-modules-6.14.0-1009-aws-64k | Advisory build | 6.14.0-1009.9 | USN-7649-2 |
| Ubuntu | plucky | linux-modules-6.14.0-1009-oracle | Advisory build | 6.14.0-1009.9 | USN-7665-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1009-oracle-64k | Advisory build | 6.14.0-1009.9 | USN-7665-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1009-raspi | Advisory build | 6.14.0-1009.9 | USN-7649-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1010-azure | Advisory build | 6.14.0-1010.10 | USN-7721-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1011-gcp | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1011-gcp-64k | Advisory build | 6.14.0-1011.11 | USN-7649-1 |
| Ubuntu | plucky | linux-modules-6.14.0-24-generic | Advisory build | 6.14.0-24.24 | USN-7649-1 |
| Ubuntu | plucky | linux-modules-6.14.0-24-generic-64k | Advisory build | 6.14.0-24.24 | USN-7649-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: spi: spi-mem: Add fix to avoid divide error For some SPI flash memory operations, dummy bytes are not mandatory. For example, in Winbond SPINAND flash memory devices, the `write_cache` and `update_cache` operation variants have zero dummy bytes. Calculating the duration for SPI memory operations with zero dummy bytes causes a divide error when `ncycles` is calculated in the spi_mem_calc_op_duration(). Add changes to skip the 'ncylcles' calculation for zero dummy bytes. Following divide error is fixed by this change: Oops: divide error: 0000 [#1] PREEMPT SMP NOPTI ... ? do_trap+0xdb/0x100 ? do_error_trap+0x75/0xb0 ? spi_mem_calc_op_duration+0x56/0xb0 ? exc_divide_error+0x3b/0x70 ? spi_mem_calc_op_duration+0x56/0xb0 ? asm_exc_divide_error+0x1b/0x20 ? spi_mem_calc_op_duration+0x56/0xb0 ? spinand_select_op_variant+0xee/0x190 [spinand] spinand_match_and_init+0x13e/0x1a0 [spinand] spinand_manufacturer_match+0x6e/0xa0 [spinand] spinand_probe+0x357/0x7f0 [spinand] ? kernfs_activate+0x87/0xd0 spi_mem_probe+0x7a/0xb0 spi_probe+0x7d/0x130
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 226d6cb3cb799aae46d0dd19a521133997d9db11 to < 1915dbd67dadc0bb35670c8e28229baa29368d17 (affected · git)226d6cb3cb799aae46d0dd19a521133997d9db11 to < 8e4d3d8a5e51e07bd0d6cdd81b5e4af79f796927 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.14.6 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
spi: spi-mem: Add fix to avoid divide error
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 49a6e05c5eb9c0fa6f810dcc4515e4524e34a9968809e0d834372987153783b9
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record