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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-56718— net/smc: protect link down work from execute after lgr freed

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于tcp模块中reqsk_timer_handler函数中的释放后重用问题,可能导致内核崩溃。

CVSS 9.8 · Critical EPSS 0.47% · P39

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux 541afa10c126b6c22c2a805a559c70cc41fd156e< bec2f52866d511e94c1c37cd962e4382b1b1a299 affected
541afa10c126b6c22c2a805a559c70cc41fd156e< 2627c3e8646932dfc7b9722c88c2e1ffcf7a9fb2 affected
541afa10c126b6c22c2a805a559c70cc41fd156e< 841b1824750d3b8d1dc0a96b14db4418b952abbc affected
541afa10c126b6c22c2a805a559c70cc41fd156e< 2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ec affected
5.8 affected
< 5.8 unaffected
6.1.122≤ 6.1.* unaffected
6.6.68≤ 6.6.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-56718

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: protect link down work from execute after lgr freed
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: protect link down work from execute after lgr freed link down work may be scheduled before lgr freed but execute after lgr freed, which may result in crash. So it is need to hold a reference before shedule link down work, and put the reference after work executed or canceled. The relevant crash call stack as follows: list_del corruption. prev->next should be ffffb638c9c0fe20, but was 0000000000000000 ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:51! invalid opcode: 0000 [#1] SMP NOPTI CPU: 6 PID: 978112 Comm: kworker/6:119 Kdump: loaded Tainted: G #1 Hardware name: Alibaba Cloud Alibaba Cloud ECS, BIOS 2221b89 04/01/2014 Workqueue: events smc_link_down_work [smc] RIP: 0010:__list_del_entry_valid.cold+0x31/0x47 RSP: 0018:ffffb638c9c0fdd8 EFLAGS: 00010086 RAX: 0000000000000054 RBX: ffff942fb75e5128 RCX: 0000000000000000 RDX: ffff943520930aa0 RSI: ffff94352091fc80 RDI: ffff94352091fc80 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffb638c9c0fc38 R10: ffffb638c9c0fc30 R11: ffffffffa015eb28 R12: 0000000000000002 R13: ffffb638c9c0fe20 R14: 0000000000000001 R15: ffff942f9cd051c0 FS: 0000000000000000(0000) GS:ffff943520900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4f25214000 CR3: 000000025fbae004 CR4: 00000000007706e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554 Call Trace: rwsem_down_write_slowpath+0x17e/0x470 smc_link_down_work+0x3c/0x60 [smc] process_one_work+0x1ac/0x350 worker_thread+0x49/0x2f0 ? rescuer_thread+0x360/0x360 kthread+0x118/0x140 ? __kthread_bind_mask+0x60/0x60 ret_from_fork+0x1f/0x30
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/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存在安全漏洞,该漏洞源于tcp模块中reqsk_timer_handler函数中的释放后重用问题,可能导致内核崩溃。
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

Vendor Product Affected Versions CPE Subscribe
Linux Linux 541afa10c126b6c22c2a805a559c70cc41fd156e ~ bec2f52866d511e94c1c37cd962e4382b1b1a299 -
Linux Linux 5.8 -

II. Public POCs for CVE-2024-56718

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-56718

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-56718 (4)

Same Patch Batch · Linux · 2024-12-29 · 39 CVEs total

CVE-2024-56719 10.0 CRITICAL net: stmmac: fix TSO DMA API usage causing oops
CVE-2024-56740 7.8 HIGH nfs/localio: must clear res.replen in nfs_local_read_done
CVE-2024-56709 7.8 HIGH io_uring: check if iowq is killed before queuing
CVE-2024-56715 7.8 HIGH ionic: Fix netdev notifier unregister on failure
CVE-2024-56720 7.8 HIGH bpf, sockmap: Several fixes to bpf_msg_pop_data
CVE-2024-56717 7.5 HIGH net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()
CVE-2024-56749 7.5 HIGH dlm: fix dlm_recover_members refcount on error
CVE-2024-56721 7.1 HIGH x86/CPU/AMD: Terminate the erratum_1386_microcode array
CVE-2024-56742 vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()
CVE-2024-56729 smb: Initialize cfid->tcon before performing network ops
CVE-2024-56743 nfs_common: must not hold RCU while calling nfsd_file_put_local
CVE-2024-56745 PCI: Fix reset_method_store() memory leak
CVE-2024-56744 f2fs: fix to avoid potential deadlock in f2fs_record_stop_reason()
CVE-2024-56746 fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
CVE-2024-56748 scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
CVE-2024-56747 scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
CVE-2024-56750 erofs: fix blksize < PAGE_SIZE for file-backed mounts
CVE-2024-56751 ipv6: release nexthop on device removal
CVE-2024-56752 drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
CVE-2024-56753 drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-56718

No comments yet


Leave a comment