CVE-2022-49060
net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
MEDIUM 5.5
At a glance
- Source
- NVD
- EPSS
- EPSS 0.27 % · percentile 19 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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().
Weaknesses (CWE)
- CWE-476 — NULL Pointer Dereference
References
- https://git.kernel.org/stable/c/a05f5e26cb8bb4d07e0595545fcad1bb406f0085
- https://git.kernel.org/stable/c/35b91e49bc80ca944a8679c3b139ddaf2f8eea0f
- https://git.kernel.org/stable/c/3a523807f01455fe9a0c1a433f27cd4411ee400f
- https://git.kernel.org/stable/c/22025513ced3d599ee8b24169141c95cf2467a4a
- https://git.kernel.org/stable/c/d22f4f977236f97e01255a80bca2ea93a8094fc8
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
European references
- ENISA EUVD · EUVD-2022-55144
- GCVE · GCVE-0-2022-49060
CERT-FR advisories
- CERTFR-2025-AVI-0449 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0336 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0307 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0252 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.1 < 5.4.190cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.112cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.35cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.17.4cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.18:rc2:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected af5f60c7e3d593c2fa31b9a62c16eae75f074de3 < a05f5e26cb8bb4d07e0595545fcad1bb406f0085 ; affected af5f60c7e3d593c2fa31b9a62c16eae75f074de3 < 35b91e49bc80ca944a8679c3b139ddaf2f8eea0f ; affected af5f60c7e3d593c2fa31b9a62c16eae75f074de3 < 3a523807f01455fe9a0c1a433f27cd4411ee400f ; affected af5f60c7e3d593c2fa31b9a62c16eae75f074de3 < 22025513ced3d599ee8b24169141c95cf2467a4a ; affected af5f60c7e3d593c2fa31b9a62c16eae75f074de3 < d22f4f977236f97e01255a80bca2ea93a8094fc8 |
| Linux · Linux | affected 5.1 ; unaffected 0 < 5.1 ; unaffected 5.4.190 ≤ 5.4.* ; unaffected 5.10.112 ≤ 5.10.* ; unaffected 5.15.35 ≤ 5.15.* ; unaffected 5.17.4 ≤ 5.17.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |