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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-50227— thunderbolt: Fix KASAN reported stack out-of-bounds read in tb_retimer_scan()

EPSS 0.04% · P11
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-50227

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
thunderbolt: Fix KASAN reported stack out-of-bounds read in tb_retimer_scan()
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Fix KASAN reported stack out-of-bounds read in tb_retimer_scan() KASAN reported following issue: BUG: KASAN: stack-out-of-bounds in tb_retimer_scan+0xffe/0x1550 [thunderbolt] Read of size 4 at addr ffff88810111fc1c by task kworker/u56:0/11 CPU: 0 UID: 0 PID: 11 Comm: kworker/u56:0 Tainted: G U 6.11.0+ #1387 Tainted: [U]=USER Workqueue: thunderbolt0 tb_handle_hotplug [thunderbolt] Call Trace: <TASK> dump_stack_lvl+0x6c/0x90 print_report+0xd1/0x630 kasan_report+0xdb/0x110 __asan_report_load4_noabort+0x14/0x20 tb_retimer_scan+0xffe/0x1550 [thunderbolt] tb_scan_port+0xa6f/0x2060 [thunderbolt] tb_handle_hotplug+0x17b1/0x3080 [thunderbolt] process_one_work+0x626/0x1100 worker_thread+0x6c8/0xfa0 kthread+0x2c8/0x3a0 ret_from_fork+0x3a/0x80 ret_from_fork_asm+0x1a/0x30 This happens because the loop variable still gets incremented by one so max becomes 3 instead of 2, and this makes the second loop read past the the array declared on the stack. Fix this by assigning to max directly in the loop body.
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存在安全漏洞,该漏洞源于tb_retimer_scan函数中存在堆栈越界读取问题。
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 ff6ab055e070d819f51196622e08f8941b6d2a4b ~ 08b2771e9270fbe1ed4fbbe93abe05ac7fe9861d -
LinuxLinux 6.11 -

II. Public POCs for CVE-2024-50227

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-50227

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-11-09 · 49 CVEs total

CVE-2024-50249ACPI: CPPC: Make rmw_lock a raw_spin_lock
CVE-2024-50252mlxsw: spectrum_ipip: Fix memory leak when changing remote IPv6 address
CVE-2024-50254bpf: Free dynamically allocated bits in bpf_iter_bits_destroy()
CVE-2024-50258net: fix crash when config small gso_max_size/gso_ipv4_max_size
CVE-2024-50259netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write
CVE-2024-50260sock_map: fix a NULL pointer dereference in sock_map_link_update_prog()
CVE-2024-50261macsec: Fix use-after-free while sending the offloading packet
CVE-2024-50262bpf: Fix out-of-bounds write in trie_get_next_key()
CVE-2024-50257netfilter: Fix use-after-free in get_info()
CVE-2024-50250fsdax: dax_unshare_iter needs to copy entire blocks
CVE-2024-50251netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
CVE-2024-50248ntfs3: Add bounds checking to mi_enum_attr()
CVE-2024-50247fs/ntfs3: Check if more than chunk-size bytes are written
CVE-2024-50246fs/ntfs3: Add rough attr alloc_size check
CVE-2024-50244fs/ntfs3: Additional check in ni_clear()
CVE-2024-50245fs/ntfs3: Fix possible deadlock in mi_read
CVE-2024-50243fs/ntfs3: Fix general protection fault in run_is_mapped_full
CVE-2024-50242fs/ntfs3: Additional check in ntfs_file_release
CVE-2024-50241NFSD: Initialize struct nfsd4_copy earlier
CVE-2024-50240phy: qcom: qmp-usb: fix NULL-deref on runtime suspend

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-50227

No comments yet


Leave a comment