# CVE-2021-47536: net/smc: fix wrong list\_del in smc\_lgr\_cleanup\_early

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.87% (percentile 57, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2024-05-24T15:09:44.651Z
- **Modified:** 2026-08-05T08:48:17.750Z

## Who should check

- Anyone running Linux \>= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, \< 77731fede297a23d26f2d169b4269466b2c82529; \>= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, \< 95518fe354d712dca6f431cf2a11b8f63bc9a66c; \>= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, \< 789b6cc2a5f9123b9c549b886fdc47c865cfe0ba
- Anyone running Linux 5.5

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/smc: fix wrong list\_del in smc\_lgr\_cleanup\_early

smc\_lgr\_cleanup\_early() meant to delete the link
group from the link group list, but it deleted
the list head by mistake.

This may cause memory corruption since we didn't
remove the real link group from the list and later
memseted the link group structure.
We got a list corruption panic when testing:

\[  231.277259\] list\_del corruption. prev-\>next should be ffff8881398a8000, but was 0000000000000000
\[  231.278222\] ------------\[ cut here \]------------
\[  231.278726\] kernel BUG at lib/list\_debug.c:53!
\[  231.279326\] invalid opcode: 0000 \[\#1\] SMP NOPTI
\[  231.279803\] CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.10.46+ \#435
\[  231.280466\] Hardware name: Alibaba Cloud ECS, BIOS 8c24b4c 04/01/2014
\[  231.281248\] Workqueue: events smc\_link\_down\_work
\[  231.281732\] RIP: 0010:\_\_list\_del\_entry\_valid+0x70/0x90
\[  231.282258\] Code: 4c 60 82 e8 7d cc 6a 00 0f 0b 48 89 fe 48 c7 c7 88 4c
60 82 e8 6c cc 6a 00 0f 0b 48 89 fe 48 c7 c7 c0 4c 60 82 e8 5b cc 6a 00 \<0f\>
0b 48 89 fe 48 c7 c7 00 4d 60 82 e8 4a cc 6a 00 0f 0b cc cc cc
\[  231.284146\] RSP: 0018:ffffc90000033d58 EFLAGS: 00010292
\[  231.284685\] RAX: 0000000000000054 RBX: ffff8881398a8000 RCX: 0000000000000000
\[  231.285415\] RDX: 0000000000000001 RSI: ffff88813bc18040 RDI: ffff88813bc18040
\[  231.286141\] RBP: ffffffff8305ad40 R08: 0000000000000003 R09: 0000000000000001
\[  231.286873\] R10: ffffffff82803da0 R11: ffffc90000033b90 R12: 0000000000000001
\[  231.287606\] R13: 0000000000000000 R14: ffff8881398a8000 R15: 0000000000000003
\[  231.288337\] FS:  0000000000000000(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000
\[  231.289160\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  231.289754\] CR2: 0000000000e72058 CR3: 000000010fa96006 CR4: 00000000003706f0
\[  231.290485\] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
\[  231.291211\] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
\[  231.291940\] Call Trace:
\[  231.292211\]  smc\_lgr\_terminate\_sched+0x53/0xa0
\[  231.292677\]  smc\_switch\_conns+0x75/0x6b0
\[  231.293085\]  ? update\_load\_avg+0x1a6/0x590
\[  231.293517\]  ? ttwu\_do\_wakeup+0x17/0x150
\[  231.293907\]  ? update\_load\_avg+0x1a6/0x590
\[  231.294317\]  ? newidle\_balance+0xca/0x3d0
\[  231.294716\]  smcr\_link\_down+0x50/0x1a0
\[  231.295090\]  ? \_\_wake\_up\_common\_lock+0x77/0x90
\[  231.295534\]  smc\_link\_down\_work+0x46/0x60
\[  231.295933\]  process\_one\_work+0x18b/0x350

## Affected and fixed versions

- Linux: \>= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, \< 77731fede297a23d26f2d169b4269466b2c82529; \>= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, \< 95518fe354d712dca6f431cf2a11b8f63bc9a66c; \>= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, \< 789b6cc2a5f9123b9c549b886fdc47c865cfe0ba (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 789b6cc2a5f9123b9c549b886fdc47c865cfe0ba or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47536. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47536.md
Affected: Linux >= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, < 77731fede297a23d26f2d169b4269466b2c82529; >= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, < 95518fe354d712dca6f431cf2a11b8f63bc9a66c; >= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, < 789b6cc2a5f9123b9c549b886fdc47c865cfe0ba; Linux 5.5
Fixed in: Linux 77731fede297a23d26f2d169b4269466b2c82529, Linux 95518fe354d712dca6f431cf2a11b8f63bc9a66c, Linux 789b6cc2a5f9123b9c549b886fdc47c865cfe0ba

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47536 being exploited?

There is no confirmed exploitation: CVE-2021-47536 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.87% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47536?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2021-47536?

Linux \>= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, \< 77731fede297a23d26f2d169b4269466b2c82529; \>= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, \< 95518fe354d712dca6f431cf2a11b8f63bc9a66c; \>= a0a62ee15a829ebf8aeec55a4f1688230439b3e0, \< 789b6cc2a5f9123b9c549b886fdc47c865cfe0ba; Linux 5.5.

### Is there a fix for CVE-2021-47536?

Yes. Fixed in Linux 77731fede297a23d26f2d169b4269466b2c82529, Linux 95518fe354d712dca6f431cf2a11b8f63bc9a66c, Linux 789b6cc2a5f9123b9c549b886fdc47c865cfe0ba. Upgrade Linux to 789b6cc2a5f9123b9c549b886fdc47c865cfe0ba or later.

### How do I check if I'm affected by CVE-2021-47536?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/77731fede297a23d26f2d169b4269466b2c82529>
- patch: <https://git.kernel.org/stable/c/95518fe354d712dca6f431cf2a11b8f63bc9a66c>
- patch: <https://git.kernel.org/stable/c/789b6cc2a5f9123b9c549b886fdc47c865cfe0ba>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47536>

HTML: <https://flawdb.com/CVE-2021-47536> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47536>
