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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-58078— misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors

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存在安全漏洞,该漏洞源于misc_minor_alloc未对所有动态minor使用ida,可能导致内存泄漏。

AI Predicted 6.5 Difficulty: Easy EPSS 0.18% · P7

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux ab760791c0cfbb1d7a668f46a135264f56c8f018< 3df72111c39f7e4c5029c9ff720b56ec2e05b764 affected
ab760791c0cfbb1d7a668f46a135264f56c8f018< 8b4120b3e060e137eaa8dc76a1c40401088336e5 affected
ab760791c0cfbb1d7a668f46a135264f56c8f018< 6635332d246d7db89b90e145f2bf937406cecaf0 affected
ab760791c0cfbb1d7a668f46a135264f56c8f018< 6d04d2b554b14ae6c428a9c60b6c85f1e5c89f68 affected
6.2 affected
< 6.2 unaffected
6.6.78≤ 6.6.* unaffected
6.12.14≤ 6.12.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-58078

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
misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors misc_minor_alloc was allocating id using ida for minor only in case of MISC_DYNAMIC_MINOR but misc_minor_free was always freeing ids using ida_free causing a mismatch and following warn: > > WARNING: CPU: 0 PID: 159 at lib/idr.c:525 ida_free+0x3e0/0x41f > > ida_free called for id=127 which is not allocated. > > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ... > > [<60941eb4>] ida_free+0x3e0/0x41f > > [<605ac993>] misc_minor_free+0x3e/0xbc > > [<605acb82>] misc_deregister+0x171/0x1b3 misc_minor_alloc is changed to allocate id from ida for all minors falling in the range of dynamic/ misc dynamic minors
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存在安全漏洞,该漏洞源于misc_minor_alloc未对所有动态minor使用ida,可能导致内存泄漏。
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 ab760791c0cfbb1d7a668f46a135264f56c8f018 ~ 3df72111c39f7e4c5029c9ff720b56ec2e05b764 -
Linux Linux 6.2 -

II. Public POCs for CVE-2024-58078

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

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

Patches & Fixes for CVE-2024-58078 (4)

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-2024-58075 7.8 HIGH crypto: tegra - do not transfer req when tegra init fails
CVE-2024-58070 7.8 HIGH bpf: bpf_local_storage: Always use bpf_mem_alloc in PREEMPT_RT
CVE-2024-58083 7.8 HIGH KVM: Explicitly verify target vCPU is online in kvm_get_vcpu()
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-58079 7.8 HIGH media: uvcvideo: Fix crash during unbind if gpio unit is in use
CVE-2024-58086 7.8 HIGH drm/v3d: Stop active perfmon if it is being destroyed
CVE-2024-58060 7.8 HIGH bpf: Reject struct_ops registration that uses module ptr and the module btf_id is missing
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-2025-21825 7.8 HIGH bpf: Cancel the running bpf_timer through kworker for PREEMPT_RT
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-58063 wifi: rtlwifi: fix memory leaks and invalid access at probe error path
CVE-2024-58062 wifi: iwlwifi: mvm: avoid NULL pointer dereference
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