CVE-2022-50343

MEDIUM EPSS 4.5%
Published Sep 16, 20259mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Sep 16, 2025 9mo ago
Last Modified Jun 17, 2026 1w ago

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().

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
4.5% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-401

Affected Products 8

VendorProductVersionRange
linuxlinux_kernel*≥2.6.30  –  <4.9.337
linuxlinux_kernel*≥4.10  –  <4.14.303
linuxlinux_kernel*≥4.15  –  <4.19.270
linuxlinux_kernel*≥4.20  –  <5.4.229
linuxlinux_kernel*≥5.5  –  <5.10.163
linuxlinux_kernel*≥5.11  –  <5.15.86
linuxlinux_kernel*≥5.16  –  <6.0.16
linuxlinux_kernel*≥6.1  –  <6.1.2

References 9

  • git.kernel.org https://git.kernel.org/stable/c/3b4676f274a6b5d001176f15d0542100bbf4b59a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/440afd7fd9b164fdde6fc9da8c47d3d7f20dcce8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/80fad2e53eaed2b3a2ff596575f65669e13ceda5
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/85fbf58b15c09d3a6a03098c1e42ebfe9002f39d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/88fa351b20ca300693a206ccd3c4b0e0647944d8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c413f65011ff8caffabcde0e1c3ceede48a48d6f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c482cb0deb57924335103fe592c379a076d867f8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ec3f04f74f50d0b6bac04d795c93c2b852753a7a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/f9574cd48679926e2a569e1957a5a1bcc8a719ac
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/3b4676f274a6b5d001176f15d0542100bbf4b59a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/440afd7fd9b164fdde6fc9da8c47d3d7f20dcce8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/80fad2e53eaed2b3a2ff596575f65669e13ceda5
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/85fbf58b15c09d3a6a03098c1e42ebfe9002f39d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/88fa351b20ca300693a206ccd3c4b0e0647944d8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c413f65011ff8caffabcde0e1c3ceede48a48d6f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c482cb0deb57924335103fe592c379a076d867f8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ec3f04f74f50d0b6bac04d795c93c2b852753a7a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/f9574cd48679926e2a569e1957a5a1bcc8a719ac
    Patch