In the Linux kernel, the following vulnerability has been resolved:
firmware: armscpi: Ensure scpiinfo is not assigned if the probe fails
When scpi probe fails, at any point, we need to ensure that the scpiinfo is not set and will remain NULL until the probe succeeds. If it is not taken care, then it could result use-after-free as the value is exported via getscpiops() and could refer to a memory allocated via devmkzalloc() but freed when the probe fails.