CVE-2021-47559
published high CVSS 3.1 · 7.5net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcb9d43f6775457cac75544bc4197f26ac2b6f294 to < c94cbd262b6aa3b54d73a1ed1f9c0d19df57f4ff · cb9d43f6775457cac75544bc4197f26ac2b6f294 to < bb851d0fb02547d03cd40106b5f2391c4fed6ed1 · cb9d43f6775457cac75544bc4197f26ac2b6f294 to < 587acad41f1bc48e16f42bb2aca63bf323380be8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.18 (affected) · 0 to < 4.18 (unaffected · semver) · 5.10.83 through 5.10.* (unaffected · semver) · 5.15.6 through 5.15.* (unaffected · semver) · 5.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtsrc | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-corex86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debugx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-corex86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-develx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-kvmx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-modulesx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-modules-extrax86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-develx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-kvmx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-modulesx86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-modules-extrax86_64 | Advisory build | 5.14.0-70.117.1.rt21.189.el9_0 | RHSA-2024:6990 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolss390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfoaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfoppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfos390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-debuginfox86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-libsaarch64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-libsppc64le | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-tools-libsx86_64 | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdumps390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-zfcpdump-cores390x | Advisory build | 5.14.0-70.117.1.el9_0 | RHSA-2024:6991 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk() Coverity reports a possible NULL dereferencing problem: in smc_vlan_by_tcpsk(): 6. returned_null: netdev_lower_get_next returns NULL (checked 29 out of 30 times). 7. var_assigned: Assigning: ndev = NULL return value from netdev_lower_get_next. 1623 ndev = (struct net_device *)netdev_lower_get_next(ndev, &lower); CID 1468509 (#1 of 1): Dereference null return value (NULL_RETURNS) 8. dereference: Dereferencing a pointer that might be NULL ndev when calling is_vlan_dev. 1624 if (is_vlan_dev(ndev)) { Remove the manual implementation and use netdev_walk_all_lower_dev() to iterate over the lower devices. While on it remove an obsolete function parameter comment.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - smc_vlan_by_tcpsk() runs on the SMC server listen path (smc_listen_work → smc_listen_find_device) during the CLC handshake over TCP after a remote peer connects to an AF_SMC listener, matching other SMC listen-path remote scores. AC:L - A remote peer only needs to complete a TCP connect with the SMC option and send a CLC proposal; stacked netdev topologies (bond/VLAN) are the intended, common deployment this walker exists for, so the attacker can trigger the path at will. PR:N - The CLC handshake runs before any application authentication and SMC performs no peer credential checks, so an unauthenticated remote client needs no account or capability on the target. UI:N - smc_listen_work runs automatically on inbound SMC/TCP connections with no additional victim action required beyond an already-listening SMC service. S:U - A successful trigger only oopses the local host kernel within the same security authority and does not cross a VM, IOMMU, or other boundary. C:N - This is a pure NULL pointer dereference of the netdev_lower_get_next() return in is_vlan_dev(), with no out-of-bounds read, UAF, or other information-disclosure primitive. I:N - The fault is a straight NULL dereference crash with no write primitive, type confusion, or memory corruption that could alter kernel state or hijack control flow. A:H - Dereferencing the NULL net_device pointer in is_vlan_dev() causes a kernel oops/panic and can take down the system, which is High availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | cb9d43f6775457cac75544bc4197f26ac2b6f294 to < c94cbd262b6aa3b54d73a1ed1f9c0d19df57f4ff (affected · git)cb9d43f6775457cac75544bc4197f26ac2b6f294 to < bb851d0fb02547d03cd40106b5f2391c4fed6ed1 (affected · git)cb9d43f6775457cac75544bc4197f26ac2b6f294 to < 587acad41f1bc48e16f42bb2aca63bf323380be8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.18 (affected)0 to < 4.18 (unaffected · semver)5.10.83 through 5.10.* (unaffected · semver)5.15.6 through 5.15.* (unaffected · semver)5.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f17f463572c79e536bdd4c9ea6dd3302bcacfb1efd35522bfe5ffb6f8a284988
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record