CVE-2026-72048

ieee802154: ca8210: fix cas_ctl leak on spi_async failure

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

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

ieee802154: ca8210: fix cas_ctl leak on spi_async failure

ca8210_spi_transfer() allocates cas_ctl with kzalloc_obj(GFP_ATOMIC) and relies entirely on the SPI completion callback ca8210_spi_transfer_complete() to free it.

The spi_async() API only invokes the completion callback on successful submission. On failure it returns a negative error code without ever queuing the callback, which leaves cas_ctl and its embedded spi_message and spi_transfer orphaned. Every kfree(cas_ctl) in the driver is inside the completion callback, so there is no other reclamation path.

ca8210_spi_transfer() is called from ca8210_spi_exchange(), the interrupt handler ca8210_interrupt_handler(), and from the retry path inside the completion callback itself. The exchange and interrupt handler paths loop on -EBUSY, so under sustained SPI bus contention every retry iteration leaks a fresh cas_ctl (~600 bytes per occurrence).

Fix it by freeing cas_ctl on the spi_async() error path. While here, correct the misleading error string: the function calls spi_async(), not spi_sync().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ded845a781a578dfb0b5b2c138e5a067aa3b1242 to before 460c5cd51e4d7d15b317f178f42cfcb666c0fe91Affected
  • ded845a781a578dfb0b5b2c138e5a067aa3b1242 to before b07aea90dbc6e188c74c100af64b77b9482ffc65Affected
  • ded845a781a578dfb0b5b2c138e5a067aa3b1242 to before fe90605b651573d30be8293ff5be40e3d7023117Affected
  • ded845a781a578dfb0b5b2c138e5a067aa3b1242 to before b9071dc7889bef42590e04fbf3e56cc65e1e5e6eAffected
  • ded845a781a578dfb0b5b2c138e5a067aa3b1242 to before d4a397fe803c2d157f6ebb068b802ef75fbf109eAffected
  • ded845a781a578dfb0b5b2c138e5a067aa3b1242 to before cb5cca1d2a908ddd5e357971de0f2009617b8d6aAffected
  • ded845a781a578dfb0b5b2c138e5a067aa3b1242 to before 7e3630fbb6aabb844bbf35746dee0bf3894100c7Affected
  • ded845a781a578dfb0b5b2c138e5a067aa3b1242 to before e09390e439bd7cca30dd10893b1f64802961667aAffected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.