Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2025-40038: KVM: SVM: Skip fastpath emulation on VM-Exit if next RIP isn't valid

Noroxi assessment

Priority: Monitor (action score 28/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.17% (FIRST EPSS).
  • Someone with local access to the system can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 0910dd7c9ad45a2605c45fd2bf3d1bcac087687c, cd3efb93677c4b0cf76348882fb429165fee33fd, da2a3c231f7f2a5ac146d972b8c1d7d84aff6d70.

Low priority for now. Upgrade to Linux Linux 0910dd7c9ad45a2605c45fd2bf3d1bcac087687c, cd3efb93677c4b0cf76348882fb429165fee33fd, da2a3c231f7f2a5ac146d972b8c1d7d84aff6d70 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Skip fastpath emulation on VM-Exit if next RIP isn't valid Skip the WRMSR and HLT fastpaths in SVM's VM-Exit handler if the next RIP isn't valid, e.g. because KVM is running with nrips=false. SVM must decode and emulate to skip the instruction if the CPU doesn't provide the next RIP, and getting the instruction bytes to decode requires reading guest memory. Reading guest memory through the emulator can fault, i.e. can sleep, which is disallowed since the fastpath handlers run with IRQs disabled. BUG: sleeping function called from invalid context at ./include/linux/uaccess.h:106 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 32611, name: qemu preempt_count: 1, expected: 0 INFO: lockdep is turned off. irq event stamp: 30580 hardirqs last enabled at (30579): [<ffffffffc08b2527>] vcpu_run+0x1787/0x1db0 [kvm] hardirqs last disabled at (30580): [<ffffffffb4f62e32>] __schedule+0x1e2/0xed0 softirqs last enabled at (30570): [<ffffffffb4247a64>] fpu_swap_kvm_fpstate+0x44/0x210 softirqs last disabled at (30568): [<ffffffffb4247a64>] fpu_swap_kvm_fpstate+0x44/0x210 CPU: 298 UID: 0 PID: 32611 Comm: qemu Tainted: G U 6.16.0-smp--e6c618b51cfe-sleep #782 NONE Tainted: [U]=USER Hardware name: Google Astoria-Turin/astoria, BIOS 0.20241223.2-0 01/17/2025 Call Trace: <TASK> dump_stack_lvl+0x7d/0xb0 __might_resched+0x271/0x290 __might_fault+0x28/0x80 kvm_vcpu_read_guest_page+0x8d/0xc0 [kvm] kvm_fetch_guest_virt+0x92/0xc0 [kvm] __do_insn_fetch_bytes+0xf3/0x1e0 [kvm] x86_decode_insn+0xd1/0x1010 [kvm] x86_emulate_instruction+0x105/0x810 [kvm] __svm_skip_emulated_instruction+0xc4/0x140 [kvm_amd] handle_fastpath_invd+0xc4/0x1a0 [kvm] vcpu_run+0x11a1/0x1db0 [kvm] kvm_arch_vcpu_ioctl_run+0x5cc/0x730 [kvm] kvm_vcpu_ioctl+0x578/0x6a0 [kvm] __se_sys_ioctl+0x6d/0xb0 do_syscall_64+0x8a/0x2c0 entry_SYSCALL_64_after_hwframe+0x4b/0x53 RIP: 0033:0x7f479d57a94b </TASK> Note, this is essentially a reapply of commit 5c30e8101e8d ("KVM: SVM: Skip WRMSR fastpath on VM-Exit if next RIP isn't valid"), but with different justification (KVM now grabs SRCU when skipping the instruction for other reasons).

HighCVSS 7.1 · v3.1—No exploit Fix available
Published
Oct 28, 2025
Updated
Oct 19, 2026
EPSS
0.1% · 7th percentile
CWE
—

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.1%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · Linux
7.1
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2025-40038

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 6.5affected
    • b439eb8ab578557263815ba8581d02c1b730e348 and later · before cd3efb93677c4b0cf76348882fb429165fee33fdaffected · git
    • b439eb8ab578557263815ba8581d02c1b730e348 and later · before f994e9c790ce97d3cf01af4d0a1b9add0c955aeeaffected · git
    • b439eb8ab578557263815ba8581d02c1b730e348 and later · before da2a3c231f7f2a5ac146d972b8c1d7d84aff6d70affected · git
    • b439eb8ab578557263815ba8581d02c1b730e348 and later · before 0910dd7c9ad45a2605c45fd2bf3d1bcac087687caffected · git
    • before 6.5not affected · semver
    • 6.6.113 and later · up to and including 6.6.*not affected · semver
    • 6.12.53 and later · up to and including 6.12.*not affected · semver
    • 6.17.3 and later · up to and including 6.17.*not affected · semver
    • 6.18 and laternot affected · original_commit_for_fix

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:13linuxbefore 6.12.57-16.12.57-1
Debian:14linuxbefore 6.17.6-16.17.6-1
openSUSE:Leap 15.6dtb-aarch64before 6.4.0-150600.23.81.16.4.0-150600.23.81.1
openSUSE:Leap 15.6kernel-64kbbefore 6.4.0-150600.23.81.36.4.0-150600.23.81.3
openSUSE:Leap 15.6kernel-azurebefore 6.4.0-150600.8.58.16.4.0-150600.8.58.1
openSUSE:Leap 15.6kernel-debugbefore 6.4.0-150600.23.81.36.4.0-150600.23.81.3
openSUSE:Leap 15.6kernel-defaultbefore 6.4.0-150600.23.81.36.4.0-150600.23.81.3
openSUSE:Leap 15.6kernel-default-basebefore 6.4.0-150600.23.81.3.150600.12.36.36.4.0-150600.23.81.3.150600.12.36.3
openSUSE:Leap 15.6kernel-docsbefore 6.4.0-150600.23.81.16.4.0-150600.23.81.1
openSUSE:Leap 15.6kernel-kvmsmallbefore 6.4.0-150600.23.81.36.4.0-150600.23.81.3
openSUSE:Leap 15.6kernel-obs-buildbefore 6.4.0-150600.23.81.36.4.0-150600.23.81.3
openSUSE:Leap 15.6kernel-obs-qabefore 6.4.0-150600.23.81.16.4.0-150600.23.81.1
openSUSE:Leap 15.6kernel-rtbefore 6.4.0-150600.10.61.16.4.0-150600.10.61.1
openSUSE:Leap 15.6kernel-rt_debugbefore 6.4.0-150600.10.61.16.4.0-150600.10.61.1
openSUSE:Leap 15.6kernel-sourcebefore 6.4.0-150600.23.81.26.4.0-150600.23.81.2
openSUSE:Leap 15.6kernel-source-azurebefore 6.4.0-150600.8.58.16.4.0-150600.8.58.1
openSUSE:Leap 15.6kernel-source-rtbefore 6.4.0-150600.10.61.16.4.0-150600.10.61.1
openSUSE:Leap 15.6kernel-symsbefore 6.4.0-150600.23.81.16.4.0-150600.23.81.1
openSUSE:Leap 15.6kernel-syms-azurebefore 6.4.0-150600.8.58.16.4.0-150600.8.58.1
openSUSE:Leap 15.6kernel-syms-rtbefore 6.4.0-150600.10.61.16.4.0-150600.10.61.1
openSUSE:Leap 15.6kernel-zfcpdumpbefore 6.4.0-150600.23.81.36.4.0-150600.23.81.3
openSUSE:Tumbleweedkernel-sourcebefore 6.17.7-1.16.17.7-1.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_18before 1-150600.13.3.31-150600.13.3.3
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_18before 1-150600.1.3.11-150600.1.3.1

+37

Other highest-scoring records for the same primary product.

  • CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation
    40Plan
  • CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment
    40Plan
  • CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()
    40Plan

Published before and after this one in the same product

  • ← EarlierCVE-2025-40036Oct 28, 2025 · misc: fastrpc: fix possible map leak in fastrpc_put_args
    0Monitor
  • ← EarlierCVE-2025-40037Oct 28, 2025 · fbdev: simplefb: Fix use after free in simplefb_detach_genpds()
    0Monitor
  • Later →CVE-2025-40041Oct 28, 2025 · LoongArch: BPF: Sign-extend struct ops return values properly
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux0910dd7c9ad45a2605c45fd2bf3d1bcac087687cVendor (CNA)
Linux Linuxcd3efb93677c4b0cf76348882fb429165fee33fdVendor (CNA)
Linux Linuxda2a3c231f7f2a5ac146d972b8c1d7d84aff6d70Vendor (CNA)
Linux Linuxf994e9c790ce97d3cf01af4d0a1b9add0c955aeeVendor (CNA)
debian:linux6.12.57-1 · Debian:13Package registry (OSV)
opensuse:dtb-aarch646.4.0-150600.23.81.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-64kb6.4.0-150600.23.81.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-debug6.4.0-150600.23.81.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-default6.4.0-150600.23.81.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-default-base6.4.0-150600.23.81.3.150600.12.36.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-docs6.4.0-150600.23.81.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-kvmsmall6.4.0-150600.23.81.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-obs-build6.4.0-150600.23.81.3 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-obs-qa6.4.0-150600.23.81.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-source6.4.0-150600.23.81.2 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-syms6.4.0-150600.23.81.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-zfcpdump6.4.0-150600.23.81.3 · openSUSE:Leap 15.6Package registry (OSV)
suse:kernel-64kb6.4.0-150600.23.81.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-64kb6.4.0-150700.53.25.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)
suse:kernel-azure6.4.0-150600.8.58.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Package registry (OSV)
suse:kernel-default6.4.0-150600.23.81.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-default6.4.0-150700.53.25.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)
suse:kernel-default-base6.4.0-150600.23.81.3.150600.12.36.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Package registry (OSV)
suse:kernel-default-base6.4.0-150700.53.25.1.150700.17.17.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)
suse:kernel-docs6.4.0-150600.23.81.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6Package registry (OSV)
suse:kernel-docs6.4.0-150700.53.25.2 · SUSE:Linux Enterprise Module for Development Tools 15 SP7Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6_Update_181-150600.13.3.3 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP7_Update_71-150700.15.3.1 · SUSE:Linux Enterprise Live Patching 15 SP7Package registry (OSV)
suse:kernel-obs-build6.4.0-150600.23.81.3 · SUSE:Linux Enterprise Module for Development Tools 15 SP6Package registry (OSV)
suse:kernel-obs-build6.4.0-150700.53.25.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7Package registry (OSV)

+7

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

—

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. SSVC exploitation— → none
  2. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records