# CVE-2022-48721: net/smc: Forward wakeup to smc socket waitqueue after fallback

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **Published:** 2024-06-20T11:13:12.668Z
- **Modified:** 2026-08-05T08:51:56.989Z

## Who should check

- Anyone running Linux \>= fb92e025baa73e99250b79ab64f4e088d2888993, \< 0ef6049f664941bc0f75828b3a61877635048b27; \>= 2153bd1e3d3dbf6a3403572084ef6ed31c53c5f0, \< 504078fbe9dd570d685361b57784a6050bc40aaa; \>= 2153bd1e3d3dbf6a3403572084ef6ed31c53c5f0, \< 341adeec9adad0874f29a0a1af35638207352a39; d6e981ec9491be5ec46d838b1151e7edefe607f5; ff6eeb627898c179aac421af5d6515d3f50b84df; \>= 5.15.7, \< 5.15.22; \>= 5.4.164, \< 5.5; \>= 5.10.84, \< 5.11
- Anyone running Linux 5.16

## Description

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

net/smc: Forward wakeup to smc socket waitqueue after fallback

When we replace TCP with SMC and a fallback occurs, there may be
some socket waitqueue entries remaining in smc socket-\>wq, such
as eppoll\_entries inserted by userspace applications.

After the fallback, data flows over TCP/IP and only clcsocket-\>wq
will be woken up. Applications can't be notified by the entries
which were inserted in smc socket-\>wq before fallback. So we need
a mechanism to wake up smc socket-\>wq at the same time if some
entries remaining in it.

The current workaround is to transfer the entries from smc socket-\>wq
to clcsock-\>wq during the fallback. But this may cause a crash
like this:

 general protection fault, probably for non-canonical address 0xdead000000000100: 0000 \[\#1\] PREEMPT SMP PTI
 CPU: 3 PID: 0 Comm: swapper/3 Kdump: loaded Tainted: G E     5.16.0+ \#107
 RIP: 0010:\_\_wake\_up\_common+0x65/0x170
 Call Trace:
  \<IRQ\>
  \_\_wake\_up\_common\_lock+0x7a/0xc0
  sock\_def\_readable+0x3c/0x70
  tcp\_data\_queue+0x4a7/0xc40
  tcp\_rcv\_established+0x32f/0x660
  ? sk\_filter\_trim\_cap+0xcb/0x2e0
  tcp\_v4\_do\_rcv+0x10b/0x260
  tcp\_v4\_rcv+0xd2a/0xde0
  ip\_protocol\_deliver\_rcu+0x3b/0x1d0
  ip\_local\_deliver\_finish+0x54/0x60
  ip\_local\_deliver+0x6a/0x110
  ? tcp\_v4\_early\_demux+0xa2/0x140
  ? tcp\_v4\_early\_demux+0x10d/0x140
  ip\_sublist\_rcv\_finish+0x49/0x60
  ip\_sublist\_rcv+0x19d/0x230
  ip\_list\_rcv+0x13e/0x170
  \_\_netif\_receive\_skb\_list\_core+0x1c2/0x240
  netif\_receive\_skb\_list\_internal+0x1e6/0x320
  napi\_complete\_done+0x11d/0x190
  mlx5e\_napi\_poll+0x163/0x6b0 \[mlx5\_core\]
  \_\_napi\_poll+0x3c/0x1b0
  net\_rx\_action+0x27c/0x300
  \_\_do\_softirq+0x114/0x2d2
  irq\_exit\_rcu+0xb4/0xe0
  common\_interrupt+0xba/0xe0
  \</IRQ\>
  \<TASK\>

The crash is caused by privately transferring waitqueue entries from
smc socket-\>wq to clcsock-\>wq. The owners of these entries, such as
epoll, have no idea that the entries have been transferred to a
different socket wait queue and still use original waitqueue spinlock
(smc socket-\>wq.wait.lock) to make the entries operation exclusive,
but it doesn't work. The operations to the entries, such as removing
from the waitqueue (now is clcsock-\>wq after fallback), may cause a
crash when clcsock waitqueue is being iterated over at the moment.

This patch tries to fix this by no longer transferring wait queue
entries privately, but introducing own implementations of clcsock's
callback functions in fallback situation. The callback functions will
forward the wakeup to smc socket-\>wq if clcsock-\>wq is actually woken
up and smc socket-\>wq has remaining entries.

## Affected and fixed versions

- Linux: \>= fb92e025baa73e99250b79ab64f4e088d2888993, \< 0ef6049f664941bc0f75828b3a61877635048b27; \>= 2153bd1e3d3dbf6a3403572084ef6ed31c53c5f0, \< 504078fbe9dd570d685361b57784a6050bc40aaa; \>= 2153bd1e3d3dbf6a3403572084ef6ed31c53c5f0, \< 341adeec9adad0874f29a0a1af35638207352a39; d6e981ec9491be5ec46d838b1151e7edefe607f5; ff6eeb627898c179aac421af5d6515d3f50b84df; \>= 5.15.7, \< 5.15.22; \>= 5.4.164, \< 5.5; \>= 5.10.84, \< 5.11 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 5.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-48721.md
Affected: Linux >= fb92e025baa73e99250b79ab64f4e088d2888993, < 0ef6049f664941bc0f75828b3a61877635048b27; >= 2153bd1e3d3dbf6a3403572084ef6ed31c53c5f0, < 504078fbe9dd570d685361b57784a6050bc40aaa; >= 2153bd1e3d3dbf6a3403572084ef6ed31c53c5f0, < 341adeec9adad0874f29a0a1af35638207352a39; d6e981ec9491be5ec46d838b11…
Fixed in: Linux 0ef6049f664941bc0f75828b3a61877635048b27, Linux 504078fbe9dd570d685361b57784a6050bc40aaa, Linux 341adeec9adad0874f29a0a1af35638207352a39, Linux 5.15.22, Linux 5.5, Linux 5.11

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-2022-48721 being exploited?

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

### How serious is CVE-2022-48721?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48721?

Linux \>= fb92e025baa73e99250b79ab64f4e088d2888993, \< 0ef6049f664941bc0f75828b3a61877635048b27; \>= 2153bd1e3d3dbf6a3403572084ef6ed31c53c5f0, \< 504078fbe9dd570d685361b57784a6050bc40aaa; \>= 2153bd1e3d3dbf6a3403572084ef6ed31c53c5f0, \< 341adeec9adad0874f29a0a1af35638207352a39; d6e981ec9491be5ec46d838b1151e7edefe607f5; ff6eeb627898c179aac421af5d6515d3f50b84df; \>= 5.15.7, \< 5.15.22; \>= 5.4.164, \< 5.5; \>= 5.10.84, \< 5.11; Linux 5.16.

### Is there a fix for CVE-2022-48721?

Yes. Fixed in Linux 0ef6049f664941bc0f75828b3a61877635048b27, Linux 504078fbe9dd570d685361b57784a6050bc40aaa, Linux 341adeec9adad0874f29a0a1af35638207352a39, Linux 5.15.22, Linux 5.5, Linux 5.11. Upgrade Linux to 5.11 or later.

### How do I check if I'm affected by CVE-2022-48721?

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/0ef6049f664941bc0f75828b3a61877635048b27>
- patch: <https://git.kernel.org/stable/c/504078fbe9dd570d685361b57784a6050bc40aaa>
- patch: <https://git.kernel.org/stable/c/341adeec9adad0874f29a0a1af35638207352a39>

## 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-2022-48721>

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