CVE-2022-49060

net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

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

net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()

dev_name() was called with dev.parent as argument but without to NULL-check it before. Solve this by checking the pointer before the call to dev_name().

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • af5f60c7e3d593c2fa31b9a62c16eae75f074de3 to before a05f5e26cb8bb4d07e0595545fcad1bb406f0085Affected
  • af5f60c7e3d593c2fa31b9a62c16eae75f074de3 to before 35b91e49bc80ca944a8679c3b139ddaf2f8eea0fAffected
  • af5f60c7e3d593c2fa31b9a62c16eae75f074de3 to before 3a523807f01455fe9a0c1a433f27cd4411ee400fAffected
  • af5f60c7e3d593c2fa31b9a62c16eae75f074de3 to before 22025513ced3d599ee8b24169141c95cf2467a4aAffected
  • af5f60c7e3d593c2fa31b9a62c16eae75f074de3 to before d22f4f977236f97e01255a80bca2ea93a8094fc8Affected
LinuxLinux
  • 5.1Affected
  • before 5.1Not affected
  • 5.4.190 through 5.4.*Not affected
  • 5.10.112 through 5.10.*Not affected
  • 5.15.35 through 5.15.*Not affected
  • 5.17.4 through 5.17.*Not affected
  • 5.18 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.