CVE-2025-21935

rapidio: add check for rio_add_net() in rio_scan_alloc_net()

State
Published
Severity
Not scored
Published
Apr 1, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

rapidio: add check for rio_add_net() in rio_scan_alloc_net()

The return value of rio_add_net() should be checked. If it fails, put_device() should be called to free the memory and give up the reference initialized in rio_add_net().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e6b585ca6e81badeb3d42db3cc408174f2826034 to before 6d22953c4a183d0b7fdf34d68c5debd16da6edc5Affected
  • e6b585ca6e81badeb3d42db3cc408174f2826034 to before 4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7Affected
  • e6b585ca6e81badeb3d42db3cc408174f2826034 to before 181d4daaefb3bceeb2f2635ba9f3781eeda9e550Affected
  • e6b585ca6e81badeb3d42db3cc408174f2826034 to before ad82be4298a89a9ae46f07128bdf3d8614bce745Affected
  • e6b585ca6e81badeb3d42db3cc408174f2826034 to before e6411c3b9512dba09af7d014d474516828c89706Affected
  • e6b585ca6e81badeb3d42db3cc408174f2826034 to before c332f3e2df0fcae5a45fd55cc18902fb1e4825caAffected
  • e6b585ca6e81badeb3d42db3cc408174f2826034 to before a0d069ccc475abaaa79c6368ee27fc0b5912bea8Affected
  • e6b585ca6e81badeb3d42db3cc408174f2826034 to before e842f9a1edf306bf36fe2a4d847a0b0d458770deAffected
LinuxLinux
  • 4.6Affected
  • before 4.6Not affected
  • 5.4.291 through 5.4.*Not affected
  • 5.10.235 through 5.10.*Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.131 through 6.1.*Not affected
  • 6.6.83 through 6.6.*Not affected
  • 6.12.19 through 6.12.*Not affected
  • 6.13.7 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.