Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2023-53225

spi: imx: Don't skip cleanup in remove's error path

Description

In the Linux kernel, the following vulnerability has been resolved: spi: imx: Don't skip cleanup in remove's error path Returning early in a platform driver's remove callback is wrong. In this case the dma resources are not released in the error path. this is never retried later and so this is a permanent leak. To fix this, only skip hardware disabling if waking the device fails.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d593574aff0ab846136190b1729c151c736727ec to < aa93a46f998a9069368026ac52bba96868c59157affected
  • d593574aff0ab846136190b1729c151c736727ec to < f90822ad63d11301e425311dac0c8e12ca1737b8affected
  • d593574aff0ab846136190b1729c151c736727ec to < 6d16305a1535873e0a8a8ae92ea2d9106ec2d7dfaffected
  • d593574aff0ab846136190b1729c151c736727ec to < 57a463226638f1ceabbb029cbd21b0c94640f1b5affected
  • d593574aff0ab846136190b1729c151c736727ec to < b64cb3f085fed296103c91f0db6acad30a021b36affected
  • d593574aff0ab846136190b1729c151c736727ec to < 11951c9e3f364d7ae3b568a0e52c8335d43066b5affected
  • fc58a98f1c98b22d31c53913cca38d5c43807cb4affected
  • 28ae79a518421348abfc2a2dffd6a6b6e3699476affected
  • b6aaaaed67b170a9841f0f598cd45ccbfe76e15eaffected
  • f84a8d446a16379df5844bc2bd50f0b7431a4718affected
  • 1333c3e996eb799286ee2ef2c01752da45bf926faffected
  • cfd96cbd607ab5d63a33cd63673221f4d572ea8caffected
  • bac4bf53ca7c65d6c06808aab70c6caa0b9c78b9affected
  • 3.16.57 to < 3.17affected
  • 3.18.94 to < 3.19affected
  • 4.1.50 to < 4.2affected
  • 4.4.115 to < 4.5affected
  • 4.9.80 to < 4.10affected
  • 4.14.17 to < 4.15affected
  • 4.15.1 to < 4.16affected

Linux Linux

Default version status: affected

  • 4.16affected
  • 0 to < 4.16unaffected
  • 5.10.180 to ≤ 5.10.*unaffected
  • 5.15.111 to ≤ 5.15.*unaffected
  • 6.1.28 to ≤ 6.1.*unaffected
  • 6.2.15 to ≤ 6.2.*unaffected
  • 6.3.2 to ≤ 6.3.*unaffected
  • 6.4 to ≤ *unaffected

References