Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-48751— net/smc: Transitional solution for clcsock race issue

CVSS 7.8 · High EPSS 0.22% · P13

Affected Version Matrix 10

VendorProductVersion RangeStatus
LinuxLinuxfd57770dd198f5b2ddd5b9e6bf282cf98d63adb9< 38f0bdd548fd2ef5d481b88d8a2bfef968452e34affected
fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9< 4284225cd8001e134f5cf533a7cd244bbb654d0faffected
fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9< c0bf3d8a943b6f2e912b7c1de03e2ef28e76f760affected
d1d004585b40c212b338fc8a40cbaaf230ea4703affected
4.19.299< 4.20affected
5.1affected
< 5.1unaffected
5.15.19≤ 5.15.*unaffected
… +2 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-48751

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net/smc: Transitional solution for clcsock race issue
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 net/smc 模块clcsock 竞争问题的过渡解决方案。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux fd57770dd198f5b2ddd5b9e6bf282cf98d63adb9 ~ 38f0bdd548fd2ef5d481b88d8a2bfef968452e34 -
LinuxLinux 5.1 -

II. Public POCs for CVE-2022-48751

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-48751

登录查看更多情报信息。

Other References for CVE-2022-48751 (1)

Same Patch Batch · Linux · 2024-06-20 · 67 CVEs total

CVE-2022-487119.8 CRITICALtipc: improve size validations for received domain records
CVE-2024-386208.8 HIGHBluetooth: HCI: Remove HCI_AMP support
CVE-2021-476208.1 HIGHBluetooth: refactor malicious adv data check
CVE-2022-487438.1 HIGHnet: amd-xgbe: Fix skb data length underflow
CVE-2022-487337.8 HIGHbtrfs: fix use-after-free after failure to create a snapshot
CVE-2022-487717.8 HIGHdrm/vmwgfx: Fix stale file descriptors on failed usercopy
CVE-2022-487597.8 HIGHrpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
CVE-2022-487297.8 HIGHIB/hfi1: Fix panic with larger ipoib send_queue_size
CVE-2022-487167.8 HIGHASoC: codecs: wcd938x: fix incorrect used of portid
CVE-2022-487427.8 HIGHrtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
CVE-2022-487267.8 HIGHRDMA/ucma: Protect mc during concurrent multicast leaves
CVE-2022-487547.8 HIGHphylib: fix potential use-after-free
CVE-2022-487207.8 HIGHnet: macsec: Fix offload support for NETDEV_UNREGISTER event
CVE-2022-487217.8 HIGHnet/smc: Forward wakeup to smc socket waitqueue after fallback
CVE-2022-487627.8 HIGHarm64: extable: fix load_unaligned_zeropad() reg indices
CVE-2022-487357.8 HIGHALSA: hda: Fix UAF of leds class devs at unbinding
CVE-2022-487447.5 HIGHnet/mlx5e: Avoid field-overflowing memcpy()
CVE-2022-487277.3 HIGHKVM: arm64: Avoid consuming a stale esr value when SError occur
CVE-2022-487177.1 HIGHASoC: max9759: fix underflow in speaker_gain_control_put()
CVE-2022-487397.1 HIGHASoC: hdmi-codec: Fix OOB memory accesses

Showing top 20 of 67 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-48751

No comments yet


Leave a comment