# CVE-2024-56718: net/smc: protect link down work from execute after lgr freed

> 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.85% (percentile 56, 2026-11-28)
- **Published:** 2024-12-29T08:48:50.740Z
- **Modified:** 2026-08-05T11:46:16.011Z

## Who should check

- Anyone running Linux \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< bec2f52866d511e94c1c37cd962e4382b1b1a299; \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< 2627c3e8646932dfc7b9722c88c2e1ffcf7a9fb2; \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< 841b1824750d3b8d1dc0a96b14db4418b952abbc; \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< 2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ec
- Anyone running Linux 5.8

## Description

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

net/smc: protect link down work from execute after lgr freed

link down work may be scheduled before lgr freed but execute
after lgr freed, which may result in crash. So it is need to
hold a reference before shedule link down work, and put the
reference after work executed or canceled.

The relevant crash call stack as follows:
 list\_del corruption. prev-\>next should be ffffb638c9c0fe20,
    but was 0000000000000000
 ------------\[ cut here \]------------
 kernel BUG at lib/list\_debug.c:51!
 invalid opcode: 0000 \[\#1\] SMP NOPTI
 CPU: 6 PID: 978112 Comm: kworker/6:119 Kdump: loaded Tainted: G \#1
 Hardware name: Alibaba Cloud Alibaba Cloud ECS, BIOS 2221b89 04/01/2014
 Workqueue: events smc\_link\_down\_work \[smc\]
 RIP: 0010:\_\_list\_del\_entry\_valid.cold+0x31/0x47
 RSP: 0018:ffffb638c9c0fdd8 EFLAGS: 00010086
 RAX: 0000000000000054 RBX: ffff942fb75e5128 RCX: 0000000000000000
 RDX: ffff943520930aa0 RSI: ffff94352091fc80 RDI: ffff94352091fc80
 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffb638c9c0fc38
 R10: ffffb638c9c0fc30 R11: ffffffffa015eb28 R12: 0000000000000002
 R13: ffffb638c9c0fe20 R14: 0000000000000001 R15: ffff942f9cd051c0
 FS:  0000000000000000(0000) GS:ffff943520900000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00007f4f25214000 CR3: 000000025fbae004 CR4: 00000000007706e0
 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 PKRU: 55555554
 Call Trace:
  rwsem\_down\_write\_slowpath+0x17e/0x470
  smc\_link\_down\_work+0x3c/0x60 \[smc\]
  process\_one\_work+0x1ac/0x350
  worker\_thread+0x49/0x2f0
  ? rescuer\_thread+0x360/0x360
  kthread+0x118/0x140
  ? \_\_kthread\_bind\_mask+0x60/0x60
  ret\_from\_fork+0x1f/0x30

## Affected and fixed versions

- Linux: \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< bec2f52866d511e94c1c37cd962e4382b1b1a299; \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< 2627c3e8646932dfc7b9722c88c2e1ffcf7a9fb2; \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< 841b1824750d3b8d1dc0a96b14db4418b952abbc; \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< 2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ec (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ec or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-56718.md
Affected: Linux >= 541afa10c126b6c22c2a805a559c70cc41fd156e, < bec2f52866d511e94c1c37cd962e4382b1b1a299; >= 541afa10c126b6c22c2a805a559c70cc41fd156e, < 2627c3e8646932dfc7b9722c88c2e1ffcf7a9fb2; >= 541afa10c126b6c22c2a805a559c70cc41fd156e, < 841b1824750d3b8d1dc0a96b14db4418b952abbc; >= 541afa10c126b6c22c2a805…
Fixed in: Linux 2627c3e8646932dfc7b9722c88c2e1ffcf7a9fb2, Linux 841b1824750d3b8d1dc0a96b14db4418b952abbc, Linux 2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ec

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-2024-56718 being exploited?

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

### How serious is CVE-2024-56718?

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

### Which versions are affected by CVE-2024-56718?

Linux \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< bec2f52866d511e94c1c37cd962e4382b1b1a299; \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< 2627c3e8646932dfc7b9722c88c2e1ffcf7a9fb2; \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< 841b1824750d3b8d1dc0a96b14db4418b952abbc; \>= 541afa10c126b6c22c2a805a559c70cc41fd156e, \< 2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ec; Linux 5.8.

### Is there a fix for CVE-2024-56718?

Yes. Fixed in Linux 2627c3e8646932dfc7b9722c88c2e1ffcf7a9fb2, Linux 841b1824750d3b8d1dc0a96b14db4418b952abbc, Linux 2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ec. Upgrade Linux to 2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ec or later.

### How do I check if I'm affected by CVE-2024-56718?

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/bec2f52866d511e94c1c37cd962e4382b1b1a299>
- patch: <https://git.kernel.org/stable/c/2627c3e8646932dfc7b9722c88c2e1ffcf7a9fb2>
- patch: <https://git.kernel.org/stable/c/841b1824750d3b8d1dc0a96b14db4418b952abbc>
- patch: <https://git.kernel.org/stable/c/2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ec>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## 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-2024-56718>

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