NULL pointer dereference in Linux
CVE-2022-49060
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().
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 19.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions af5f60c7e3d593c2fa31b9a62c16eae75f074de3, 5.1, 0
- Linux Kernel — versions 5.18
Weakness classification (CWE)
References
- git.kernel.org/stable/c/a05f5e26cb8bb4d07e0595545fcad1bb406f0085 (Patch)
- git.kernel.org/stable/c/35b91e49bc80ca944a8679c3b139ddaf2f8eea0f (Patch)
- git.kernel.org/stable/c/3a523807f01455fe9a0c1a433f27cd4411ee400f (Patch)
- git.kernel.org/stable/c/22025513ced3d599ee8b24169141c95cf2467a4a (Patch)
- git.kernel.org/stable/c/d22f4f977236f97e01255a80bca2ea93a8094fc8 (Patch)