# CVE-2022-50281: MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:21:17.759Z
- Modified: 2026-06-17T05:23:08.753Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5dc76a96e95ae041c1d8e52714bd77576b35919b before da2aecef866b476438d02c662507a0e4e818da9d; from 5dc76a96e95ae041c1d8e52714bd77576b35919b before 93296e7ab774230b7c36541dead10b6da39b650f; from 5dc76a96e95ae041c1d8e52714bd77576b35919b before d7ac29e60d0ff71e9e414af595b8c92800f7fa90; from 5dc76a96e95ae041c1d8e52714bd77576b35919b before 48025893b3e31b917ad654d28d23fff66681cac4; from 5dc76a96e95ae041c1d8e52714bd77576b35919b before 11bec9cba4de06b3c0e9e4041453c2caaa1cbec1; 5.5 (not affected: before 5.5; from 5.10.150 up to 5.10.*; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.5 before 5.10.150; from 5.11 before 5.15.75; from 5.16 before 5.19.17; from 6.0 before 6.0.3

## References

- <https://git.kernel.org/stable/c/da2aecef866b476438d02c662507a0e4e818da9d> (patch)
- <https://git.kernel.org/stable/c/93296e7ab774230b7c36541dead10b6da39b650f> (patch)
- <https://git.kernel.org/stable/c/d7ac29e60d0ff71e9e414af595b8c92800f7fa90> (patch)
- <https://git.kernel.org/stable/c/48025893b3e31b917ad654d28d23fff66681cac4> (patch)
- <https://git.kernel.org/stable/c/11bec9cba4de06b3c0e9e4041453c2caaa1cbec1> (patch)

## Sources

- CVE List: [CVE-2022-50281](https://www.cve.org/CVERecord?id=CVE-2022-50281), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50281](https://nvd.nist.gov/vuln/detail/CVE-2022-50281), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50281 · Whole record: https://cve.day/CVE-2022-50281.json · Rebuilt by cve.day 2026-11-25T22:58:21.146Z
