CVE-2023-53382
BaseFortify
Publication date: 2025-09-18
Last updated on: 2025-12-11
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.16 (inc) to 6.1.31 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.3.5 (exc) |
| linux | linux_kernel | 6.4 |
| linux | linux_kernel | 6.4 |
| linux | linux_kernel | 6.4 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's SMC (Shared Memory Communications) subsystem when using SMCRv2 devices. During the connection setup, if the server tries to use an SMCRv2 device and fails in buffer creation or registration, it falls back to an SMCRv1 device but does not properly reset the connection's link resource. This causes a mismatch where the connection's link group points to the SMCRv1 device but the link still points to the SMCRv2 device. Later, when the kernel tries to access memory related to the SMCRv2 link, it accesses uninitialized memory, leading to a NULL pointer dereference and kernel crash.
How can this vulnerability impact me? :
This vulnerability can cause a kernel crash (NULL pointer dereference) when using SMCRv2 devices in certain network communication scenarios. This crash can lead to system instability, denial of service, and potential disruption of network services relying on the SMC subsystem.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by reproducing the crash scenario described: running smc_run with nginx and wrk commands to trigger the SMCRv2 usage. Specifically, you can run the following commands to test for the issue: - smc_run nginx - smc_run wrk -t 32 -c 500 -d 30 http://<ip>:<port> If the system crashes with a kernel NULL pointer dereference related to smc_clc_send_confirm_accept, it indicates the vulnerability is present.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include applying the patch that resets the connection and cleans resources when SMCRv2 buffer creation or registration fails. This patch fixes the issue by cleaning the connection link before assigning a new link and resetting the connection to avoid crashes. Until patched, avoid using SMCRv2 devices in environments with Mellanox ConnectX-4 hardware or disable SMCRv2 to prevent triggering the bug.