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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-37816— mei: vsc: Fix fortify-panic caused by invalid counted_by() use

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存在安全漏洞,该漏洞源于缓冲区溢出,可能导致内核崩溃。

AI Predicted 5.5 Difficulty: Trivial EPSS 0.21% · P10

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux 566f5ca9768075e453b7b51a397733968df4287d< 3e243378f27cc7d11682a3ad720228b0723affa5 affected
566f5ca9768075e453b7b51a397733968df4287d< ac04663c67f244810b3492e9ecd9f7cdbefeca2d affected
566f5ca9768075e453b7b51a397733968df4287d< 00f1cc14da0f06d2897b8c528df7c7dcf1b8da50 affected
6.8 affected
< 6.8 unaffected
6.12.26≤ 6.12.* unaffected
6.14.5≤ 6.14.* unaffected
6.15≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-37816

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
mei: vsc: Fix fortify-panic caused by invalid counted_by() use
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mei: vsc: Fix fortify-panic caused by invalid counted_by() use gcc 15 honors the __counted_by(len) attribute on vsc_tp_packet.buf[] and the vsc-tp.c code is using this in a wrong way. len does not contain the available size in the buffer, it contains the actual packet length *without* the crc. So as soon as vsc_tp_xfer() tries to add the crc to buf[] the fortify-panic handler gets triggered: [ 80.842193] memcpy: detected buffer overflow: 4 byte write of buffer size 0 [ 80.842243] WARNING: CPU: 4 PID: 272 at lib/string_helpers.c:1032 __fortify_report+0x45/0x50 ... [ 80.843175] __fortify_panic+0x9/0xb [ 80.843186] vsc_tp_xfer.cold+0x67/0x67 [mei_vsc_hw] [ 80.843210] ? seqcount_lockdep_reader_access.constprop.0+0x82/0x90 [ 80.843229] ? lockdep_hardirqs_on+0x7c/0x110 [ 80.843250] mei_vsc_hw_start+0x98/0x120 [mei_vsc] [ 80.843270] mei_reset+0x11d/0x420 [mei] The easiest fix would be to just drop the counted-by but with the exception of the ack buffer in vsc_tp_xfer_helper() which only contains enough room for the packet-header, all other uses of vsc_tp_packet always use a buffer of VSC_TP_MAX_XFER_SIZE bytes for the packet. Instead of just dropping the counted-by, split the vsc_tp_packet struct definition into a header and a full-packet definition and use a fixed size buf[] in the packet definition, this way fortify-source buffer overrun checking still works when enabled.
Source: CVE Program / CVE List V5
CVSS Information
N/A
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 566f5ca9768075e453b7b51a397733968df4287d ~ 3e243378f27cc7d11682a3ad720228b0723affa5 -
Linux Linux 6.8 -

II. Public POCs for CVE-2025-37816

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-37816

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

Same Patch Batch · Linux · 2025-05-08 · 33 CVEs total

CVE-2025-37801 7.8 HIGH spi: spi-imx: Add check for spi_imx_setupxfer()
CVE-2025-37822 7.8 HIGH riscv: uprobes: Add missing fence.i after building the XOL buffer
CVE-2025-37823 7.8 HIGH net_sched: hfsc: Fix a potential UAF in hfsc_dequeue() too
CVE-2025-37814 7.8 HIGH tty: Require CAP_SYS_ADMIN for all usages of TIOCL_SELMOUSEREPORT
CVE-2025-37813 7.8 HIGH usb: xhci: Fix invalid pointer dereference in Etron workaround
CVE-2025-37820 7.5 HIGH xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()
CVE-2025-37802 7.5 HIGH ksmbd: fix WARNING "do not call blocking ops when !TASK_RUNNING"
CVE-2025-37800 7.1 HIGH driver core: fix potential NULL pointer dereference in dev_uevent()
CVE-2025-37830 cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
CVE-2025-37829 cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()
CVE-2025-37828 scsi: ufs: mcq: Add NULL check in ufshcd_mcq_abort()
CVE-2025-37826 scsi: ufs: core: Add NULL check in ufshcd_mcq_compl_pending_transfer()
CVE-2025-37827 btrfs: zoned: return EIO on RAID1 block group write pointer mismatch
CVE-2025-37825 nvmet: fix out-of-bounds access in nvmet_enable_port
CVE-2025-37831 cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_cpufreq_get_rate()
CVE-2025-37834 mm/vmscan: don't try to reclaim hwpoison folio
CVE-2025-37824 tipc: fix NULL pointer dereference in tipc_mon_reinit_self()
CVE-2025-37821 sched/eevdf: Fix se->slice being set to U64_MAX and resulting crash
CVE-2025-37833 net/niu: Niu requires MSIX ENTRY_DATA fields touch before entry reads
CVE-2025-37819 irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode()

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-37816

No comments yet


Leave a comment