Description
In the Linux kernel, the following vulnerability has been resolved: spi: cadence-quadspi: Implement refcount to handle unbind during busy driver support indirect read and indirect write operation with assumption no force device removal(unbind) operation. However force device removal(removal) is still available to root superuser. Unbinding driver during operation causes kernel crash. This changes ensure driver able to handle such operation for indirect read and indirect write by implementing refcount to track attached devices to the controller and gracefully wait and until attached devices remove operation completed before proceed with removal operation.
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before b7ec8a2b094a33d0464958c2cbf75b8f229098b0
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 7446284023e8ef694fb392348185349c773eefb3
6.16.10 (semver)
6.17 (original_commit_for_fix)
References
git.kernel.org/...c/b7ec8a2b094a33d0464958c2cbf75b8f229098b0
git.kernel.org/...c/7446284023e8ef694fb392348185349c773eefb3