{"id":"CVE-2022-50810","summary":"rapidio: devices: fix missing put_device in mport_cdev_open","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: devices: fix missing put_device in mport_cdev_open\n\nWhen kfifo_alloc fails, the refcount of chdev-\u003edev is left incremental. \nWe should use put_device(&chdev-\u003edev) to decrease the ref count of\nchdev-\u003edev to avoid refcount leak.","modified":"2026-08-12T03:51:15.260034055Z","published":"2025-12-30T12:08:27.924Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50810.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/162433a96079bfa5ec748c486b4570f138d04fb5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/53915ecc43c5139d6cdd1caa4fdc9290b9597008"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e4540e0970030e140998ce8847f5f0171b5afa1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a0d93aac54ce07a7cc71e90645d0cdabbda50450"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae57222402bea455e60cc51d2f52ce73b63b7af8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b596242585984b5f3085aa8f7a82c65640b384b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb7397f6312d2cbf05e415676ed5b1655cb82a34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5b6e6eba3af11cb2a2791fa36a2524990fcde1a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dfee9fe93dd34cd9d49520718f6ec2072de25e48"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50810.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50810"},{"type":"PACKAGE","url":"https://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":"e8de370188d098bb49483c287b44925957c3c9b6"},{"fixed":"6e4540e0970030e140998ce8847f5f0171b5afa1"},{"fixed":"ae57222402bea455e60cc51d2f52ce73b63b7af8"},{"fixed":"dfee9fe93dd34cd9d49520718f6ec2072de25e48"},{"fixed":"bb7397f6312d2cbf05e415676ed5b1655cb82a34"},{"fixed":"53915ecc43c5139d6cdd1caa4fdc9290b9597008"},{"fixed":"a0d93aac54ce07a7cc71e90645d0cdabbda50450"},{"fixed":"162433a96079bfa5ec748c486b4570f138d04fb5"},{"fixed":"b596242585984b5f3085aa8f7a82c65640b384b6"},{"fixed":"d5b6e6eba3af11cb2a2791fa36a2524990fcde1a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50810.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.6.0"},{"fixed":"4.9.337"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.303"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50810.json"}}],"schema_version":"1.9.0"}