CVE-2022-50810
rapidio: devices: fix missing put_device in mport_cdev_open
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: rapidio: devices: fix missing put_device in mport_cdev_open When kfifo_alloc fails, the refcount of chdev->dev is left incremental. We should use put_device(&chdev->dev) to decrease the ref count of chdev->dev to avoid refcount leak.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.6
References 9
git.kernel.org
- stable/c/6e4540e0970030e140998ce8847f5f0171b5afa1
- stable/c/ae57222402bea455e60cc51d2f52ce73b63b7af8
- stable/c/dfee9fe93dd34cd9d49520718f6ec2072de25e48
- stable/c/bb7397f6312d2cbf05e415676ed5b1655cb82a34
- stable/c/53915ecc43c5139d6cdd1caa4fdc9290b9597008
- stable/c/a0d93aac54ce07a7cc71e90645d0cdabbda50450
- stable/c/162433a96079bfa5ec748c486b4570f138d04fb5
- stable/c/b596242585984b5f3085aa8f7a82c65640b384b6
- stable/c/d5b6e6eba3af11cb2a2791fa36a2524990fcde1a