CVE-2022-50281

MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()

State
Published
Severity
Not scored
Published
Sep 15, 2025
Updated
May 11, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5dc76a96e95ae041c1d8e52714bd77576b35919b to before da2aecef866b476438d02c662507a0e4e818da9dAffected
  • 5dc76a96e95ae041c1d8e52714bd77576b35919b to before 93296e7ab774230b7c36541dead10b6da39b650fAffected
  • 5dc76a96e95ae041c1d8e52714bd77576b35919b to before d7ac29e60d0ff71e9e414af595b8c92800f7fa90Affected
  • 5dc76a96e95ae041c1d8e52714bd77576b35919b to before 48025893b3e31b917ad654d28d23fff66681cac4Affected
  • 5dc76a96e95ae041c1d8e52714bd77576b35919b to before 11bec9cba4de06b3c0e9e4041453c2caaa1cbec1Affected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.