Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-48751

kernel: net/smc: Transitional solution for clcsock race issue

Overview

Published
20 Jun 2024
Modified
4 Aug 2026
Medium CVE
0 Registry packages
168 OS packages
8 Linux distributions
Yes Fix available

Description

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

net/smc: Transitional solution for clcsock race issue

We encountered a crash in smc_setsockopt() and it is caused by
accessing smc->clcsock after clcsock was released.

 BUG: kernel NULL pointer dereference, address: 0000000000000020
 #PF: supervisor read access in kernel mode
 #PF: error_code(0x0000) - not-present page
 PGD 0 P4D 0
 Oops: 0000 [#1] PREEMPT SMP PTI
 CPU: 1 PID: 50309 Comm: nginx Kdump: loaded Tainted: G E 5.16.0-rc4+ #53
 RIP: 0010:smc_setsockopt+0x59/0x280 [smc]
 Call Trace:
  <TASK>
  __sys_setsockopt+0xfc/0x190
  __x64_sys_setsockopt+0x20/0x30
  do_syscall_64+0x34/0x90
  entry_SYSCALL_64_after_hwframe+0x44/0xae
 RIP: 0033:0x7f16ba83918e
  </TASK>

This patch tries to fix it by holding clcsock_release_lock and
checking whether clcsock has already been released before access.

In case that a crash of the same reason happens in smc_getsockopt()
or smc_switch_to_fallback(), this patch also checkes smc->clcsock
in them too. And the caller of smc_switch_to_fallback() will identify
whether fallback succeeds according to the return value.

Source: OX vulnerability database

Severity

4.7 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-476

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 37 fixes

Red Hat 2 releases · 1 package

wont fix 1 affected 1
bpftool
Red Hat fixes for CVE-2022-48751
ReleasePackageFixed in
8 bpftool +45 wont fix
9 bpftool +106 affected

SUSE Linux Enterprise 3 releases · 9 packages

fixed 14
kgraft-patch-4-12-14-122-228-default cluster-md-kmp-rt cluster-md-kmp-default kernel-docs kernel-azure kernel-livepatch-5-14-21-150400-24-128-default +3
SUSE Linux Enterprise fixes for CVE-2022-48751
ReleasePackageFixed inAdvisory
12.5 kgraft-patch-4-12-14-122-228-default 1-8.3.1 SUSE-SU-2024:3251-1
12.5 cluster-md-kmp-rt +11 4.12.14-10.200.1 SUSE-SU-2024:3189-1
12.5 cluster-md-kmp-default +14 4.12.14-122.228.1 SUSE-SU-2024:3251-1
12.5 kernel-docs +1 4.12.14-122.228.2 SUSE-SU-2024:3251-1
12.5 kernel-azure +5 4.12.14-16.197.1 SUSE-SU-2024:3252-1
15.4 kernel-livepatch-5-14-21-150400-24-128-default 1-150400.9.3.1 SUSE-SU-2024:2929-1

8 more rows

SUSE Linux Enterprise Micro 3 releases · 3 packages

fixed 9
kernel-rt kernel-default kernel-default-base
SUSE Linux Enterprise Micro fixes for CVE-2022-48751
ReleasePackageFixed inAdvisory
5.3 kernel-rt +1 5.14.21-150400.15.88.1 SUSE-SU-2024:2902-1
5.3 kernel-default 5.14.21-150400.24.128.1 SUSE-SU-2024:2929-1
5.3 kernel-default-base 5.14.21-150400.24.128.1.150400.24.62.1 SUSE-SU-2024:2929-1
5.4 kernel-rt +1 5.14.21-150400.15.88.1 SUSE-SU-2024:2902-1
5.4 kernel-default 5.14.21-150400.24.128.1 SUSE-SU-2024:2929-1
5.4 kernel-default-base 5.14.21-150400.24.128.1.150400.24.62.1 SUSE-SU-2024:2929-1

3 more rows

debian 4 releases · 1 package

affected 1 fixed 3
linux
debian fixes for CVE-2022-48751
ReleasePackageFixed in
11 linux affected
12 linux 5.16.7-1
13 linux 5.16.7-1
14 linux 5.16.7-1

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2022-48751
ReleasePackageFixed in
linux 5.16.7-1

openSUSE Leap Micro 1 release · 2 packages

fixed 2
kernel-default kernel-default-base
openSUSE Leap Micro fixes for CVE-2022-48751
ReleasePackageFixed inAdvisory
5.5 kernel-default 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
5.5 kernel-default-base 5.14.21-150500.55.73.1.150500.6.33.8 SUSE-SU-2024:2939-1

root.io debian 3 releases · 2 packages

fixed 3
linux rootio-linux
root.io debian fixes for CVE-2022-48751
ReleasePackageFixed in
11 linux +1 5.10.251-5.root.io.85
12 rootio-linux 5.16.7-1
13 rootio-linux 5.16.7-1

ubuntu 2 releases · 2 packages

affected 2
linux-aws-5-4 linux
ubuntu fixes for CVE-2022-48751
ReleasePackageFixed in
18.04-ESM linux-aws-5-4 +6 affected
20.04-ESM linux +10 affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.