CVE-2021-47559
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
24/05/2024
Last modified:
10/06/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()<br />
<br />
Coverity reports a possible NULL dereferencing problem:<br />
<br />
in smc_vlan_by_tcpsk():<br />
6. returned_null: netdev_lower_get_next returns NULL (checked 29 out of 30 times).<br />
7. var_assigned: Assigning: ndev = NULL return value from netdev_lower_get_next.<br />
1623 ndev = (struct net_device *)netdev_lower_get_next(ndev, &lower);<br />
CID 1468509 (#1 of 1): Dereference null return value (NULL_RETURNS)<br />
8. dereference: Dereferencing a pointer that might be NULL ndev when calling is_vlan_dev.<br />
1624 if (is_vlan_dev(ndev)) {<br />
<br />
Remove the manual implementation and use netdev_walk_all_lower_dev() to<br />
iterate over the lower devices. While on it remove an obsolete function<br />
parameter comment.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.18 (including) | 5.10.83 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.6 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



