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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-50152— smb: client: fix possible double free in smb2_set_ea()

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存在安全漏洞,该漏洞源于存在内存双重释放问题。

CVSS 9.8 · Critical EPSS 0.48% · P40

Possible ATT&CK Techniques 1 AI

T1562

Affected Version Matrix 9

VendorProduct Version RangeStatus
Linux Linux 433042a91f9373241307725b52de573933ffedbf< b1813c220b76f60b1727984794377c4aa849d4c1 affected
4f1fffa2376922f3d1d506e49c0fd445b023a28e< c9f758ecf2562dfdd4adf12c22921b5de8366123 affected
4f1fffa2376922f3d1d506e49c0fd445b023a28e< 19ebc1e6cab334a8193398d4152deb76019b5d34 affected
6.6.32< 6.6.59 affected
6.8 affected
< 6.8 unaffected
6.6.59≤ 6.6.* unaffected
6.11.6≤ 6.11.* unaffected
… +1 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-50152

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
smb: client: fix possible double free in smb2_set_ea()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix possible double free in smb2_set_ea() Clang static checker(scan-build) warning: fs/smb/client/smb2ops.c:1304:2: Attempt to free released memory. 1304 | kfree(ea); | ^~~~~~~~~ There is a double free in such case: 'ea is initialized to NULL' -> 'first successful memory allocation for ea' -> 'something failed, goto sea_exit' -> 'first memory release for ea' -> 'goto replay_again' -> 'second goto sea_exit before allocate memory for ea' -> 'second memory release for ea resulted in double free'. Re-initialie 'ea' to NULL near to the replay_again label, it can fix this double free problem.
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存在安全漏洞,该漏洞源于存在内存双重释放问题。
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 433042a91f9373241307725b52de573933ffedbf ~ b1813c220b76f60b1727984794377c4aa849d4c1 -
Linux Linux 6.8 -

II. Public POCs for CVE-2024-50152

# 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-50152

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-11-07 · 34 CVEs total

CVE-2024-50162 9.8 CRITICAL bpf: devmap: provide rxq after redirect
CVE-2024-50154 9.8 CRITICAL tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink().
CVE-2024-50139 7.9 HIGH KVM: arm64: Fix shift-out-of-bounds bug
CVE-2024-50150 7.8 HIGH usb: typec: altmode should keep reference to parent
CVE-2024-50161 7.8 HIGH bpf: Check the remaining info_cnt before repeating btf fields
CVE-2024-50158 7.8 HIGH RDMA/bnxt_re: Fix out of bound check
CVE-2024-50164 7.8 HIGH bpf: Fix overloading of MEM_UNINIT's meaning
CVE-2024-50165 7.8 HIGH bpf: Preserve param->string when parsing mount options
CVE-2024-50151 7.8 HIGH smb: client: fix OOBs when building SMB2_IOCTL request
CVE-2024-50149 7.8 HIGH drm/xe: Don't free job in TDR
CVE-2024-50143 7.8 HIGH udf: fix uninit-value use in udf_get_fileshortad
CVE-2024-50141 7.8 HIGH ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context
CVE-2024-50145 7.5 HIGH octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx()
CVE-2024-50170 7.5 HIGH net: bcmasp: fix potential memory leak in bcmasp_xmit()
CVE-2024-50159 7.0 HIGH firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()
CVE-2024-50167 be2net: fix potential memory leak in be_xmit()
CVE-2024-50156 drm/msm: Avoid NULL dereference in msm_disp_state_print_regs()
CVE-2024-50168 net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
CVE-2024-50166 fsl/fman: Fix refcount handling of fman-related devices
CVE-2024-50169 vsock: Update rx_bytes on read_skb()

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-50152

No comments yet


Leave a comment