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

Goal: 1000 CNY · Raised: 1110 CNY

100%

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

AI Predicted 6.5 Difficulty: Moderate EPSS 0.02% · P5

Affected Version Matrix 10

VendorProductVersion RangeStatus
LinuxLinux541afa10c126b6c22c2a805a559c70cc41fd156e< bec2f52866d511e94c1c37cd962e4382b1b1a299affected
541afa10c126b6c22c2a805a559c70cc41fd156e< 2627c3e8646932dfc7b9722c88c2e1ffcf7a9fb2affected
541afa10c126b6c22c2a805a559c70cc41fd156e< 841b1824750d3b8d1dc0a96b14db4418b952abbcaffected
541afa10c126b6c22c2a805a559c70cc41fd156e< 2b33eb8f1b3e8c2f87cfdbc8cc117f6bdfabc6ecaffected
5.8affected
< 5.8unaffected
6.1.122≤ 6.1.*unaffected
6.6.68≤ 6.6.*unaffected
… +2 more rows
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux 541afa10c126b6c22c2a805a559c70cc41fd156e ~ bec2f52866d511e94c1c37cd962e4382b1b1a299 -
LinuxLinux 5.8 -

II. Public POCs for CVE-2024-56718

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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-56747scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
CVE-2024-56730net/9p/usbg: fix handling of the failed kzalloc() memory allocation
CVE-2024-56740nfs/localio: must clear res.replen in nfs_local_read_done
CVE-2024-56739rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
CVE-2024-56742vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()
CVE-2024-56743nfs_common: must not hold RCU while calling nfsd_file_put_local
CVE-2024-56745PCI: Fix reset_method_store() memory leak
CVE-2024-56744f2fs: fix to avoid potential deadlock in f2fs_record_stop_reason()
CVE-2024-56746fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
CVE-2024-56748scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
CVE-2024-56729smb: Initialize cfid->tcon before performing network ops
CVE-2024-56749dlm: fix dlm_recover_members refcount on error
CVE-2024-56750erofs: fix blksize < PAGE_SIZE for file-backed mounts
CVE-2024-56751ipv6: release nexthop on device removal
CVE-2024-56752drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
CVE-2024-56753drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module
CVE-2024-56754crypto: caam - Fix the pointer passed to caam_qi_shutdown()
CVE-2024-56755netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING
CVE-2024-56756nvme-pci: fix freeing of the HMB descriptor table
CVE-2024-56720bpf, sockmap: Several fixes to bpf_msg_pop_data

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