Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create() In error case in bridge_platform_create after calling platform_device_add()/platform_device_add_data()/ platform_device_add_resources(), release the failed 'pdev' or it will be leak, call platform_device_put() to fix this problem. Besides, 'pdev' is divided into 'pdev_wd' and 'pdev_bd', use platform_device_unregister() to release sgi_w1 resources when xtalk-bridge registration fails.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 5dc76a96e95ae041c1d8e52714bd77576b35919b before da2aecef866b476438d02c662507a0e4e818da9d; affected 5dc76a96e95ae041c1d8e52714bd77576b35919b before 93296e7ab774230b7c36541dead10b6da39b650f; affected 5dc76a96e95ae041c1d8e52714bd77576b35919b before d7ac29e60d0ff71e9e414af595b8c92800f7fa90; affected 5dc76a96e95ae041c1d8e52714bd77576b35919b before 48025893b3e31b917ad654d28d23fff66681cac4; affected 5dc76a96e95ae041c1d8e52714bd77576b35919b before 11bec9cba4de06b3c0e9e4041453c2caaa1cbec1 |
| Linux / Linux | affected 5.5; unaffected 0 before 5.5; unaffected 5.10.150 through 5.10.*; unaffected 5.15.75 through 5.15.*; unaffected 5.19.17 through 5.19.*; unaffected 6.0.3 through 6.0.*; unaffected 6.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/da2aecef866b476438d02c662507a0e4e818da9d
- https://git.kernel.org/stable/c/93296e7ab774230b7c36541dead10b6da39b650f
- https://git.kernel.org/stable/c/d7ac29e60d0ff71e9e414af595b8c92800f7fa90
- https://git.kernel.org/stable/c/48025893b3e31b917ad654d28d23fff66681cac4
- https://git.kernel.org/stable/c/11bec9cba4de06b3c0e9e4041453c2caaa1cbec1