Read the docs
TI-2024-17682 Aliases CVE-2024-26807GHSA-8xc6-54p8-3p65

spi: cadence-qspi: fix pointer reference in runtime PM hooks

Priority LOW 34CWE-787Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.

Summary

In the Linux kernel, the following vulnerability has been resolved: Both cadence-quadspi ->runtime_suspend() and ->runtime_resume() implementations start with: struct cqspi_st *cqspi = dev_get_drvdata(dev); struct spi_controller *host = dev_get_drvdata(dev); This obviously cannot be correct, unless "struct cqspi_st" is the first member of " struct spi_controller", or the other way around, but it is not the case. "struct spi_controller" is allocated by devm_spi_alloc_host(), which allocates an extra amount of memory for private data, used to store "struct cqspi_st". The ->probe() function of the cadence-quadspi driver then sets the device drvdata to store the address of the "struct cqspi_st" structure. Therefore: struct cqspi_st *cqspi = dev_get_drvdata(dev); is correct, but: struct spi_controller *host = dev_get_drvdata(dev); is not, as it makes "host" point not to a "struct spi_controller" but to the same "struct cqspi_st" structure as above. This obviously leads to bad things (memory corruption, kernel crashes) directly during ->probe(), as ->probe() enables the device using PM runtime, leading the ->runtime_resume() hook being called, which in turns calls spi_controller_resume() with the wrong pointer. This has at least been reported [0] to cause a kernel crash, but the exact behavior will depend on the memory contents. [0] https://lore.kernel.org/all/20240226121803.5a7r5wkpbbowcxgx@dhruva/ This issue potentially affects all platforms that are currently using the cadence-quadspi driver.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00236 14th percentileScored 2026-11-07
Fix Fixed Linux (Linux): 6.1.140, 4.20, 5.5 +7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.1.28 to before 6.1.140; 4.19.283 to before 4.20; 5.4.243 to before 5.5; 5.10.180 to before 5.11; 5.15.111 to before 5.16; 6.2.15 to before 6.3; 6.3.2 to before 6.46.1.140, 4.20, 5.5, 5.11, 5.16, 6.3, 6.4Patch availableCNA
LinuxLinux6.4 and later6.1.140, 6.6.21, 6.7.9, 6.8Patch availableCNA
  • Linux VendorLinux Affected 6.1.28 to before 6.1.140; 4.19.283 to before 4.20; 5.4.243 to before 5.5; 5.10.180 to before 5.11; 5.15.111 to before 5.16; 6.2.15 to before 6.3; 6.3.2 to before 6.4 Fixed in 6.1.140, 4.20, 5.5, 5.11, 5.16, 6.3, 6.4 Patch available CNA
  • Linux VendorLinux Affected 6.4 and later Fixed in 6.1.140, 6.6.21, 6.7.9, 6.8 Patch available CNA

CPE configurations NVD · 14

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*6.4 to before 6.6.21; 6.7 to before 6.7.9VulnerableLinux
cpe:2.3:o:linux:linux_kernel:4.19.283:*:*:*:*:*:*:*4.19.283VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.4.243:*:*:*:*:*:*:*5.4.243VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.10.180:*:*:*:*:*:*:*5.10.180VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.15.111:*:*:*:*:*:*:*5.15.111VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.1.28:*:*:*:*:*:*:*6.1.28VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2.15:*:*:*:*:*:*:*6.2.15VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.3.2:*:*:*:*:*:*:*6.3.2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*6.8 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*6.8 rc2VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 6.4 to before 6.6.21; 6.7 to before 6.7.9 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:4.19.283:*:*:*:*:*:*:* Versions 4.19.283 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.4.243:*:*:*:*:*:*:* Versions 5.4.243 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.10.180:*:*:*:*:*:*:* Versions 5.10.180 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.15.111:*:*:*:*:*:*:* Versions 5.15.111 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.1.28:*:*:*:*:*:*:* Versions 6.1.28 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2.15:*:*:*:*:*:*:* Versions 6.2.15 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.3.2:*:*:*:*:*:*:* Versions 6.3.2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* Versions 6.8 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* Versions 6.8 rc2 Vulnerable ·Linux
Show 4 more CPE
CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*6.8 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*6.8 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:*6.8 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:*6.8 rc6VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* Versions 6.8 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* Versions 6.8 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:* Versions 6.8 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:* Versions 6.8 rc6 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 6.1.140, 4.20, 5.5, 5.11, 5.16, 6.3, 6.4
  • Fix · CNA Linux (Linux) Fixed in 6.1.140, 6.6.21, 6.7.9, 6.8

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 4 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-26807
  2. 2026-10-03 Alias added: GHSA-8xc6-54p8-3p65

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources