PT-2022-7530 · Linux+3 · Linux Kernel+3

Wen Gu

·

Published

2022-01-24

·

Updated

2026-03-14

·

CVE-2022-48751

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 5.16.0-rc4+
Description The issue is related to a kernel NULL pointer dereference in the smc setsockopt() function, caused by accessing smc->clcsock after it has been released. This can lead to a crash. The problem is addressed by holding clcsock release lock and checking whether clcsock has already been released before access. The patch also checks smc->clcsock in smc getsockopt() and smc switch to fallback() to prevent similar crashes.
Recommendations To resolve the issue, update the Linux kernel to a version that includes the fix for the net/smc: Transitional solution for clcsock race issue. As a temporary workaround, consider disabling the smc setsockopt() function until a patch is available. Restrict access to the vulnerable module net/smc to minimize the risk of exploitation. Avoid using the smc setsockopt() function in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-06994
CVE-2022-48751
OPENSUSE-SU-2024_2372-1
OPENSUSE-SU-2024_2394-1
SUSE-SU-2024:2372-1
SUSE-SU-2024:2394-1
SUSE-SU-2024:2902-1
SUSE-SU-2024:2929-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:3189-1
SUSE-SU-2024:3251-1
SUSE-SU-2024:3252-1

Affected Products

Debian
Linux Kernel
Red Os
Suse