In the Linux kernel, the following vulnerability has been resolved: MIPS: SGI-IP27: Fix platform-device leak in bridgeplatformcreate() In error case in bridgeplatformcreate after calling platformdeviceadd()/platformdeviceadddata()/ platformdeviceaddresources(), release the failed 'pdev' or it will be leak, call platformdeviceput() to fix this problem. Besides, 'pdev' is divided into 'pdevwd' and 'pdevbd', use platformdeviceunregister() to release sgi_w1 resources when xtalk-bridge registration fails.