Vulnerability in spi-fsl-qspi Package
Summary
GSD-2022-1003615: spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname(). Affects Kernel versions >= 858e26a515c28df3ef542d9c09493b54a329d6cf, < 560dcbe1c7a78f597f2167371ebdbe2bca3d0735. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The spi-fsl-qspi package is a component of the Linux Kernel, which is responsible for handling SPI (Serial Peripheral Interface) communication on Freescale QSPI (Quad Serial Peripheral Interface) controllers. SPI is a synchronous serial communication protocol commonly used for communication between microcontrollers and peripheral devices. The spi-fsl-qspi package provides the necessary drivers and functionality for SPI communication on Freescale QSPI controllers.
Vulnerability Detail
The vulnerability in spi-fsl-qspi arises from a failure to check the return value after calling the platform_get_resource_byname() function. This vulnerability was introduced in version v5.8 of the Linux Kernel by commit 858e26a515c28df3ef542d9c09493b54a329d6cf and is fixed in version v5.10.121 by commit 560dcbe1c7a78f597f2167371ebdbe2bca3d0735. The impact and attack plausibility of this vulnerability have not yet been proven. Further details can be found in the references link.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
In conclusion, the spi-fsl-qspi package in the Linux Kernel is vulnerable to a security issue that arises from a failure to check the return value after calling the platform_get_resource_byname() function. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.10.121 or later. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
spi-fsl-qspi is a package in the Linux Kernel that provides drivers and functionality for SPI communication on Freescale QSPI controllers.
The impact of this vulnerability is currently unknown as the actual attack plausibility and consequences have not been proven.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and it will alert you in real-time if any open-source vulnerabilities, including this one, are found.
To update the Linux Kernel, you can pull the latest updates from the official Linux Kernel repository using the command: $ git pull https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git. After updating, recompile and reinstall the kernel on the affected system.
You can find more information about this vulnerability in the references link provided.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.