CVE-2022-50281

Source
https://cve.org/CVERecord?id=CVE-2022-50281
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50281.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50281
Downstream
Published
2025-09-15T14:21:17.759Z
Modified
2026-08-12T03:51:38.744938092Z
Summary
MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50281.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5dc76a96e95ae041c1d8e52714bd77576b35919b
Fixed
da2aecef866b476438d02c662507a0e4e818da9d
Fixed
93296e7ab774230b7c36541dead10b6da39b650f
Fixed
d7ac29e60d0ff71e9e414af595b8c92800f7fa90
Fixed
48025893b3e31b917ad654d28d23fff66681cac4
Fixed
11bec9cba4de06b3c0e9e4041453c2caaa1cbec1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50281.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.150
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.75
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50281.json"