Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-39704

published high CVSS 3.1 · 8.8

LoongArch: KVM: Fix stack protector issue in send_ipi_data()

Published
05 Sep 2025, 17:21:10 UTC
Updated
05 Aug 2026, 12:04:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxdaee2f9cae5510ba1bd9eed6b0cf0ca8dc276118 to < b5b49d341f90eed6de794b6ff34ad3dd66d34343 · daee2f9cae5510ba1bd9eed6b0cf0ca8dc276118 to < 5c68549c81bcca70fc464e305ffeefd9af968287 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Fix stack protector issue in send_ipi_data() Function kvm_io_bus_read() is called in function send_ipi_data(), buffer size of parameter *val should be at least 8 bytes. Since some emulation functions like loongarch_ipi_readl() and kvm_eiointc_read() will write the buffer *val with 8 bytes signed extension regardless parameter len. Otherwise there will be buffer overflow issue when CONFIG_STACKPROTECTOR is enabled. The bug report is shown as follows: Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: send_ipi_data+0x194/0x1a0 [kvm] CPU: 11 UID: 107 PID: 2692 Comm: CPU 0/KVM Not tainted 6.17.0-rc1+ #102 PREEMPT(full) Stack : 9000000005901568 0000000000000000 9000000003af371c 900000013c68c000 900000013c68f850 900000013c68f858 0000000000000000 900000013c68f998 900000013c68f990 900000013c68f990 900000013c68f6c0 fffffffffffdb058 fffffffffffdb0e0 900000013c68f858 911e1d4d39cf0ec2 9000000105657a00 0000000000000001 fffffffffffffffe 0000000000000578 282049464555206e 6f73676e6f6f4c20 0000000000000001 00000000086b4000 0000000000000000 0000000000000000 0000000000000000 9000000005709968 90000000058f9000 900000013c68fa68 900000013c68fab4 90000000029279f0 900000010153f940 900000010001f360 0000000000000000 9000000003af3734 000000004390000c 00000000000000b0 0000000000000004 0000000000000000 0000000000071c1d ... Call Trace: [<9000000003af3734>] show_stack+0x5c/0x180 [<9000000003aed168>] dump_stack_lvl+0x6c/0x9c [<9000000003ad0ab0>] vpanic+0x108/0x2c4 [<9000000003ad0ca8>] panic+0x3c/0x40 [<9000000004eb0a1c>] __stack_chk_fail+0x14/0x18 [<ffff8000023473f8>] send_ipi_data+0x190/0x1a0 [kvm] [<ffff8000023313e4>] __kvm_io_bus_write+0xa4/0xe8 [kvm] [<ffff80000233147c>] kvm_io_bus_write+0x54/0x90 [kvm] [<ffff80000233f9f8>] kvm_emu_iocsr+0x180/0x310 [kvm] [<ffff80000233fe08>] kvm_handle_gspr+0x280/0x478 [kvm] [<ffff8000023443e8>] kvm_handle_exit+0xc0/0x130 [kvm]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: AV:L - The attacker must be executing code inside a KVM guest on the target host, reaching the host kernel via a GSPR exit rather than over a network. Guest-to-host hypervisor attacks are scored as local access to the vulnerable component. AC:L - A single `iocsrwr.d` to IOCSR_ANY_SEND with crafted data deterministically drives the 8-byte store into the 4-byte stack object — no race, no memory-layout luck, and the guest even chooses the overflowing value via EIOINTC sign extension. PR:L - Relative to the host, the attacker only needs the ability to run a VM (/dev/kvm access, routinely granted to unprivileged/low-privileged VM users and cloud tenants); no host administrative rights are required. UI:N - The guest triggers the overflow entirely on its own during normal vCPU execution; no host operator or other user needs to take any action. S:C - A guest corrupts host kernel stack memory, crossing the guest/hypervisor security boundary and impacting the host and all co-resident VMs — a different security authority than the vulnerable guest. C:H - The same defect makes `kvm_io_bus_write()` read 8 bytes out of the 4-byte stack object, feeding adjacent host kernel stack contents into guest-readable emulated device registers, and host kernel stack corruption is leverageable toward broader disclosure. I:H - The guest achieves an out-of-bounds write of a value it selects (0x00000000 or 0xFFFFFFFF via EIOINTC sign extension) into the host kernel stack frame, clobbering adjacent locals/saved state — memory corruption exploitable toward control-flow influence. A:H - The bug is confirmed in the wild to produce `Kernel panic - not syncing: stack-protector: Kernel stack is corrupted`, taking down the entire host and every VM running on it, repeatably at guest will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux daee2f9cae5510ba1bd9eed6b0cf0ca8dc276118 to < b5b49d341f90eed6de794b6ff34ad3dd66d34343 (affected · git)daee2f9cae5510ba1bd9eed6b0cf0ca8dc276118 to < 5c68549c81bcca70fc464e305ffeefd9af968287 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.13 (affected)0 to < 6.13 (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

LoongArch: KVM: Fix stack protector issue in send_ipi_data()

Provenance

Schema
5.2
Searchable
yes
Content hash
9f69babf40060e5d38f6621f2abddf43343e7a1da9f1e834c71d4a7ac02be8d0
Ingested
23 Sep 2026, 08:47:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected