CVE-2022-50343rapidio: fix possible name leaks when rio_add_device() fails
- 5.5MediumCVSS base score
- 0.16%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: rapidio: fix possible name leaks when rio_add_device() fails Patch series "rapidio: fix three possible memory leaks". This patchset fixes three name leaks in error handling. - patch #1 fixes two name leaks while rio_add_device() fails. - patch #2 fixes a name leak while rio_register_mport() fails. This patch (of 2): If rio_add_device() returns error, the name allocated by dev_set_name() need be freed. It should use put_device() to give up the reference in the error path, so that the name can be freed in kobject_cleanup(), and the 'rdev' can be freed in rio_release_dev().
Timeline
ID reserved
By Linux
Published
- 8 months later
· 8 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 94% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 1fa5ae857bb14f6046205171d98506d8112dd74e – < 3b4676f274a6b5d001176f15d0542100bbf4b59a
- affected 1fa5ae857bb14f6046205171d98506d8112dd74e – < c482cb0deb57924335103fe592c379a076d867f8
- affected 1fa5ae857bb14f6046205171d98506d8112dd74e – < 80fad2e53eaed2b3a2ff596575f65669e13ceda5
- affected 1fa5ae857bb14f6046205171d98506d8112dd74e – < 440afd7fd9b164fdde6fc9da8c47d3d7f20dcce8
- affected 1fa5ae857bb14f6046205171d98506d8112dd74e – < 88fa351b20ca300693a206ccd3c4b0e0647944d8
- affected 1fa5ae857bb14f6046205171d98506d8112dd74e – < ec3f04f74f50d0b6bac04d795c93c2b852753a7a
- affected 1fa5ae857bb14f6046205171d98506d8112dd74e – < c413f65011ff8caffabcde0e1c3ceede48a48d6f
- affected 1fa5ae857bb14f6046205171d98506d8112dd74e – < 85fbf58b15c09d3a6a03098c1e42ebfe9002f39d
- affected 1fa5ae857bb14f6046205171d98506d8112dd74e – < f9574cd48679926e2a569e1957a5a1bcc8a719ac
- affected 2.6.30
- unaffected < 2.6.30
- unaffected 4.9.337 – ≤ 4.9.*
- unaffected 4.14.303 – ≤ 4.14.*
- unaffected 4.19.270 – ≤ 4.19.*
- unaffected 5.4.229 – ≤ 5.4.*
- unaffected 5.10.163 – ≤ 5.10.*
- unaffected 5.15.86 – ≤ 5.15.*
- unaffected 6.0.16 – ≤ 6.0.*
- unaffected 6.1.2 – ≤ 6.1.*
- unaffected 6.2 – ≤ *
References
References9
- https://git.kernel.org/stable/c/3b4676f274a6b5d001176f15d0542100bbf4b59a (opens in a new tab)
- https://git.kernel.org/stable/c/c482cb0deb57924335103fe592c379a076d867f8 (opens in a new tab)
- https://git.kernel.org/stable/c/80fad2e53eaed2b3a2ff596575f65669e13ceda5 (opens in a new tab)
- https://git.kernel.org/stable/c/440afd7fd9b164fdde6fc9da8c47d3d7f20dcce8 (opens in a new tab)
- https://git.kernel.org/stable/c/88fa351b20ca300693a206ccd3c4b0e0647944d8 (opens in a new tab)
- https://git.kernel.org/stable/c/ec3f04f74f50d0b6bac04d795c93c2b852753a7a (opens in a new tab)
- https://git.kernel.org/stable/c/c413f65011ff8caffabcde0e1c3ceede48a48d6f (opens in a new tab)
- https://git.kernel.org/stable/c/85fbf58b15c09d3a6a03098c1e42ebfe9002f39d (opens in a new tab)
- https://git.kernel.org/stable/c/f9574cd48679926e2a569e1957a5a1bcc8a719ac (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55619 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-50343)Record last updated .