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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-58083— KVM: Explicitly verify target vCPU is online in kvm_get_vcpu()

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存在安全漏洞,该漏洞源于未验证目标vCPU是否在线,可能导致访问已释放内存。

CVSS 7.8 · High EPSS 0.22% · P12

Affected Version Matrix 24

VendorProduct Version RangeStatus
Linux Linux 1d487e9bf8ba66a7174c56a0029c54b1eca8f99c< 5cce2ed69b00e022b5cdf0c49c82986abd2941a8 affected
1d487e9bf8ba66a7174c56a0029c54b1eca8f99c< 09d50ccf0b2d739db4a485b08afe7520a4402a63 affected
1d487e9bf8ba66a7174c56a0029c54b1eca8f99c< 7c4899239d0f70f88ac42665b3da51678d122480 affected
1d487e9bf8ba66a7174c56a0029c54b1eca8f99c< d817e510662fd1c9797952408d94806f97a5fffd affected
1d487e9bf8ba66a7174c56a0029c54b1eca8f99c< 125da53b3c0c9d7f58353aea0076e9efd6498ba7 affected
1d487e9bf8ba66a7174c56a0029c54b1eca8f99c< f2f805ada63b536bc192458a7098388286568ad4 affected
1d487e9bf8ba66a7174c56a0029c54b1eca8f99c< ca8da90ed1432ff3d000de4f1e2275d4e7d21b96 affected
1d487e9bf8ba66a7174c56a0029c54b1eca8f99c< 1e7381f3617d14b3c11da80ff5f8a93ab14cfc46 affected
… +16 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-58083

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
KVM: Explicitly verify target vCPU is online in kvm_get_vcpu()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: KVM: Explicitly verify target vCPU is online in kvm_get_vcpu() Explicitly verify the target vCPU is fully online _prior_ to clamping the index in kvm_get_vcpu(). If the index is "bad", the nospec clamping will generate '0', i.e. KVM will return vCPU0 instead of NULL. In practice, the bug is unlikely to cause problems, as it will only come into play if userspace or the guest is buggy or misbehaving, e.g. KVM may send interrupts to vCPU0 instead of dropping them on the floor. However, returning vCPU0 when it shouldn't exist per online_vcpus is problematic now that KVM uses an xarray for the vCPUs array, as KVM needs to insert into the xarray before publishing the vCPU to userspace (see commit c5b077549136 ("KVM: Convert the kvm->vcpus array to a xarray")), i.e. before vCPU creation is guaranteed to succeed. As a result, incorrectly providing access to vCPU0 will trigger a use-after-free if vCPU0 is dereferenced and kvm_vm_ioctl_create_vcpu() bails out of vCPU creation due to an error and frees vCPU0. Commit afb2acb2e3a3 ("KVM: Fix vcpu_array[0] races") papered over that issue, but in doing so introduced an unsolvable teardown conundrum. Preventing accesses to vCPU0 before it's fully online will allow reverting commit afb2acb2e3a3, without re-introducing the vcpu_array[0] UAF race.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/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存在安全漏洞,该漏洞源于未验证目标vCPU是否在线,可能导致访问已释放内存。
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 1d487e9bf8ba66a7174c56a0029c54b1eca8f99c ~ 5cce2ed69b00e022b5cdf0c49c82986abd2941a8 -
Linux Linux 5.1 -

II. Public POCs for CVE-2024-58083

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

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

Patches & Fixes for CVE-2024-58083 (5)

Other References for CVE-2024-58083 (3)

Same Patch Batch · Linux · 2025-03-06 · 46 CVEs total

CVE-2025-21829 9.8 CRITICAL RDMA/rxe: Fix the warning "__rxe_cleanup+0x12c/0x170 [rdma_rxe]"
CVE-2025-21828 8.8 HIGH wifi: mac80211: don't flush non-uploaded STAs
CVE-2025-21825 7.8 HIGH bpf: Cancel the running bpf_timer through kworker for PREEMPT_RT
CVE-2024-58070 7.8 HIGH bpf: bpf_local_storage: Always use bpf_mem_alloc in PREEMPT_RT
CVE-2025-21832 7.8 HIGH block: don't revert iter for -EIOCBQUEUED
CVE-2024-58069 7.8 HIGH rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read
CVE-2024-58086 7.8 HIGH drm/v3d: Stop active perfmon if it is being destroyed
CVE-2024-58079 7.8 HIGH media: uvcvideo: Fix crash during unbind if gpio unit is in use
CVE-2024-58060 7.8 HIGH bpf: Reject struct_ops registration that uses module ptr and the module btf_id is missing
CVE-2024-58075 7.8 HIGH crypto: tegra - do not transfer req when tegra init fails
CVE-2025-21827 7.8 HIGH Bluetooth: btusb: mediatek: Add locks for usb_driver_claim_interface()
CVE-2025-21826 7.8 HIGH netfilter: nf_tables: reject mismatching sum of field_len with set key length
CVE-2024-58053 7.5 HIGH rxrpc: Fix handling of received connection abort
CVE-2025-21830 7.3 HIGH landlock: Handle weird files
CVE-2024-58065 clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check
CVE-2024-58064 wifi: cfg80211: tests: Fix potential NULL dereference in test_cfg80211_parse_colocated_ap(
CVE-2024-58066 clk: mmp: pxa1908-apbcp: Fix a NULL vs IS_ERR() check
CVE-2024-58062 wifi: iwlwifi: mvm: avoid NULL pointer dereference
CVE-2024-58063 wifi: rtlwifi: fix memory leaks and invalid access at probe error path
CVE-2024-58073 drm/msm/dpu: check dpu_plane_atomic_print_state() for valid sspp

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-58083

No comments yet


Leave a comment