# CVE-2023-54318: net/smc: use smc\_lgr\_list.lock to protect smc\_lgr\_list.list iterate in smcr\_port\_add

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.43% (percentile 29, 2026-11-28)
- **Published:** 2025-12-30T12:23:48.134Z
- **Modified:** 2026-10-15T22:17:58.273Z

## Who should check

- Anyone running Linux \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< d1c6c93c27a4bf48006ab16cd9b38d85559d7645; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< 06b4934ab2b534bb92935c7601852066ebb9eab8; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< 70c8d17007dc4a07156b7da44509527990e569b3; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< b717463610a27fc0b58484cfead7a623d5913e61; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< f5146e3ef0a9eea405874b36178c19a4863b8989
- Anyone running Linux 5.8

## Description

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

net/smc: use smc\_lgr\_list.lock to protect smc\_lgr\_list.list iterate in smcr\_port\_add

While doing smcr\_port\_add, there maybe linkgroup add into or delete
from smc\_lgr\_list.list at the same time, which may result kernel crash.
So, use smc\_lgr\_list.lock to protect smc\_lgr\_list.list iterate in
smcr\_port\_add.

The crash calltrace show below:
BUG: kernel NULL pointer dereference, address: 0000000000000000
PGD 0 P4D 0
Oops: 0000 \[\#1\] SMP NOPTI
CPU: 0 PID: 559726 Comm: kworker/0:92 Kdump: loaded Tainted: G
Hardware name: Alibaba Cloud Alibaba Cloud ECS, BIOS 449e491 04/01/2014
Workqueue: events smc\_ib\_port\_event\_work \[smc\]
RIP: 0010:smcr\_port\_add+0xa6/0xf0 \[smc\]
RSP: 0000:ffffa5a2c8f67de0 EFLAGS: 00010297
RAX: 0000000000000001 RBX: ffff9935e0650000 RCX: 0000000000000000
RDX: 0000000000000010 RSI: ffff9935e0654290 RDI: ffff9935c8560000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff9934c0401918
R10: 0000000000000000 R11: ffffffffb4a5c278 R12: ffff99364029aae4
R13: ffff99364029aa00 R14: 00000000ffffffed R15: ffff99364029ab08
FS:  0000000000000000(0000) GS:ffff994380600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000f06a10003 CR4: 0000000002770ef0
PKRU: 55555554
Call Trace:
 smc\_ib\_port\_event\_work+0x18f/0x380 \[smc\]
 process\_one\_work+0x19b/0x340
 worker\_thread+0x30/0x370
 ? process\_one\_work+0x340/0x340
 kthread+0x114/0x130
 ? \_\_kthread\_cancel\_work+0x50/0x50
 ret\_from\_fork+0x1f/0x30

## Affected and fixed versions

- Linux: \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< d1c6c93c27a4bf48006ab16cd9b38d85559d7645; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< 06b4934ab2b534bb92935c7601852066ebb9eab8; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< 70c8d17007dc4a07156b7da44509527990e569b3; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< b717463610a27fc0b58484cfead7a623d5913e61; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< f5146e3ef0a9eea405874b36178c19a4863b8989 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-54318.md
Affected: Linux >= 1f90a05d9ff907c70456e7c9d7058372679a88c6, < d1c6c93c27a4bf48006ab16cd9b38d85559d7645; >= 1f90a05d9ff907c70456e7c9d7058372679a88c6, < 06b4934ab2b534bb92935c7601852066ebb9eab8; >= 1f90a05d9ff907c70456e7c9d7058372679a88c6, < 70c8d17007dc4a07156b7da44509527990e569b3; >= 1f90a05d9ff907c70456e7c…
Fixed in: Linux 06b4934ab2b534bb92935c7601852066ebb9eab8, Linux 70c8d17007dc4a07156b7da44509527990e569b3

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-2023-54318 being exploited?

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

### How serious is CVE-2023-54318?

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

### Which versions are affected by CVE-2023-54318?

Linux \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< d1c6c93c27a4bf48006ab16cd9b38d85559d7645; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< 06b4934ab2b534bb92935c7601852066ebb9eab8; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< 70c8d17007dc4a07156b7da44509527990e569b3; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< b717463610a27fc0b58484cfead7a623d5913e61; \>= 1f90a05d9ff907c70456e7c9d7058372679a88c6, \< f5146e3ef0a9eea405874b36178c19a4863b8989; Linux 5.8.

### Is there a fix for CVE-2023-54318?

Yes. Fixed in Linux 06b4934ab2b534bb92935c7601852066ebb9eab8, Linux 70c8d17007dc4a07156b7da44509527990e569b3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54318?

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

- other: <https://git.kernel.org/stable/c/d1c6c93c27a4bf48006ab16cd9b38d85559d7645>
- other: <https://git.kernel.org/stable/c/06b4934ab2b534bb92935c7601852066ebb9eab8>
- other: <https://git.kernel.org/stable/c/70c8d17007dc4a07156b7da44509527990e569b3>
- other: <https://git.kernel.org/stable/c/b717463610a27fc0b58484cfead7a623d5913e61>
- other: <https://git.kernel.org/stable/c/f5146e3ef0a9eea405874b36178c19a4863b8989>

## 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-2023-54318>

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