CVE-2022-49060Published Feb 26, 2025 · Feb 26Updated Oct 28
net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel's net/smc code can dereference a NULL pointer in smc_pnet_find_ib() when dev_name() is called without checking dev.parent. The input does not specify how an attacker could trigger this, or whether access or user interaction is required.
Engineers running the Linux kernel should check their installations; affected versions are not specified.