cve.bz

CWE-415: Double Free, published in 2024, page 2

Filter

The product calls free() twice on the same memory address.

What the weakness is: CWE-415 at MITRE. All weaknesses

Ask an AI about CWE-415

Show the promptExplain CWE-415: Double Free and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/415.html and https://cve.bz/cve/cwe/415?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 7.8CVE-2024-41087linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: ata: libata-core: Fix double free on error If e.g. the ata_port_alloc() call in ata_host_alloc() fails, we will jump to the err_out label, which will call devres_release…

  2. 7.8CVE-2024-41073EPSS 0.7%

    In the Linux kernel, the following vulnerability has been resolved: nvme: avoid double free special payload If a discard request needs to be retried, and that retry may fail before a new special payload is added, a double free will resul…

  3. 7.8CVE-2024-41046linux kernelEPSS 0.5%

    In the Linux kernel, the following vulnerability has been resolved: net: ethernet: lantiq_etop: fix double free in detach The number of the currently released descriptor is never incremented which results in the same skb being released m…

  4. 7.8CVE-2024-40940linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix tainted pointer delete is case of flow rules creation fail In case of flow rule creation fail in mlx5_lag_create_port_sel_table(), instead of previously cr…

  5. 8.8CVE-2024-38087microsoftEPSS 1.7%

    SQL Server Native Client OLE DB Provider Remote Code Execution Vulnerability

  6. 8.8CVE-2024-30013microsoftEPSS 1.6%

    Windows MultiPoint Services Remote Code Execution Vulnerability

  7. 7.8CVE-2024-21461qualcommEPSS 0.1%

    Memory corruption while performing finish HMAC operation when context is freed by keymaster.

  8. 7.8CVE-2024-23141autodeskEPSS 0.4%

    A maliciously crafted MODEL file, when parsed in libodxdll through Autodesk applications, can cause a double free. This vulnerability, along with other vulnerabilities, can lead to code execution in the current process.

  9. 5.5CVE-2024-39292linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: um: Add winch to winch_handlers before registering winch IRQ Registering a winch IRQ is racy, an interrupt may occur before the winch is added to the winch_handlers list…

  10. 7.8CVE-2024-38627linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: stm class: Fix a double free in stm_register_device() The put_device(&stm->dev) call will trigger stm_device_release() which frees "stm" so the vfree(stm) on the next li…

  11. 7.8CVE-2022-48740linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: selinux: fix double free of cond_list on error paths On error path from cond_read_list() and duplicate_policydb_cond_list() the cond_list_destroy() gets called a second …

  12. 7.8CVE-2021-47589linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: igbvf: fix double free in `igbvf_probe` In `igbvf_probe`, if register_netdev() fails, the program will go to label err_hw_init, and then to label err_ioremap. In free_ne…

  13. 7.8CVE-2024-36973linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe() When auxiliary_device_add() returns error and then calls auxiliary_device_uninit()…

  14. 8.8CVE-2024-30097microsoftEPSS 1.7%

    Microsoft Speech Application Programming Interface (SAPI) Remote Code Execution Vulnerability

  15. 7.8CVE-2024-36940EPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: pinctrl: core: delete incorrect free in pinctrl_enable() The "pctldev" struct is allocated in devm_pinctrl_register_and_init(). It's a devm_ managed pointer that is free…

  16. 7.1CVE-2024-36030linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: fix the double free in rvu_npc_freemem() Clang static checker(scan-build) warning: drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:line 2184, column 2 …

  17. 7.8CVE-2021-47564linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: net: marvell: prestera: fix double free issue on err path fix error path handling in prestera_bridge_port_join() that cases prestera driver to crash (see below). Trace…

  18. 7.8CVE-2021-47483linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: regmap: Fix possible double-free in regcache_rbtree_exit() In regcache_rbtree_insert_to_block(), when 'present' realloc failed, the 'blk' which is supposed to assign to …

  19. 8.8CVE-2024-27127qnapEPSS 0.7%

    A double free vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated users to execute arbitrary code via a network. We have already fixed the vulnerabili…

  20. 7.8CVE-2023-52851linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: IB/mlx5: Fix init stage error handling to avoid double free of same QP and UAF In the unlikely event that workqueue allocation fails and returns NULL in mlx5_mkey_cache_…

  21. 7.8CVE-2023-52795linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: vhost-vdpa: fix use after free in vhost_vdpa_probe() The put_device() calls vhost_vdpa_release_dev() which calls ida_simple_remove() and frees "v". So this call to ida_…

  22. 5.5CVE-2023-52739linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: Fix page corruption caused by racy check in __free_pages When we upgraded our kernel, we started seeing some page corruption like the following consistently: BUG: Bad…

  23. 5.5CVE-2021-47304linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized This commit fixes a bug (found by syzkaller) that could cause spurious double-initializations for congestio…

  24. 7.8CVE-2024-35856linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: mediatek: Fix double free of skb in coredump hci_devcd_append() would free the skb on error so the caller don't have to free it again otherwise it woul…

  25. 7.8CVE-2024-35847EPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3-its: Prevent double free on error The error handling path in its_vpe_irq_domain_alloc() causes a double free when its_vpe_init() fails after successfully …

  26. 7.8CVE-2023-52691EPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: fix a double-free in si_dpm_init When the allocation of adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries fails, amdgpu_free_extended_power_table is …

  27. 7.8CVE-2023-52688linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix the error handler of rfkill config When the core rfkill config throws error, it should free the allocated resources. Currently it is not freeing the co…

  28. 7.8CVE-2023-52679EPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: of: Fix double free in of_parse_phandle_with_args_map In of_parse_phandle_with_args_map() the inner loop that iterates through the map entries calls of_node_put(new) to …

  29. 7.8CVE-2024-35835EPSS 0.6%

    In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix a double-free in arfs_create_groups When `in` allocated by kvzalloc fails, arfs_create_groups will free ft->g and return an error. However, arfs_create_ta…

  30. 8.8CVE-2024-35814linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: swiotlb: Fix double-allocation of slots due to broken alignment handling Commit bbb73a103fbb ("swiotlb: fix a braino in the alignment check fix"), which was a fix for co…

  31. 7.8CVE-2023-52667linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix a potential double-free in fs_any_create_groups When kcalloc() for ft->g succeeds but kvzalloc() for in fails, fs_any_create_groups() will free ft->g. How…

  32. 7.8CVE-2023-52664linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: net: atlantic: eliminate double free in error handling logic Driver has a logic leak in ring data allocation/free, where aq_ring_free could be called multiple times on s…

  33. 7.8CVE-2024-27433linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: clk: mediatek: mt7622-apmixedsys: Fix an error handling path in clk_mt8135_apmixed_probe() 'clk_data' is allocated with mtk_devm_alloc_clk_data(). So calling mtk_free_cl…

  34. 7.8CVE-2024-30027microsoftEPSS 0.6%

    NTFS Elevation of Privilege Vulnerability

  35. 7.2CVE-2023-44247fortinet fortiosEPSS 1.3%

    A double free vulnerability [CWE-415] vulnerability in Fortinet FortiOS 6.4 all versions may allow a privileged attacker to execute code or commands via crafted HTTP or HTTPs requests.

  36. 5.5CVE-2023-52384huaweiEPSS 0.1%

    Double-free vulnerability in the RSMC module Impact: Successful exploitation of this vulnerability will affect availability.

  37. 5.5CVE-2023-52383huaweiEPSS 0.1%

    Double-free vulnerability in the RSMC module Impact: Successful exploitation of this vulnerability will affect availability.

  38. 6.7CVE-2021-34981linux kernelEPSS 0.2%

    Linux Kernel Bluetooth CMTP Module Double Free Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel. An attacker must first obtain the ability to exe…

  39. 7.8CVE-2024-27392linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse() When nvme_identify_ns() fails, it frees the pointer to the struct nvme_id_ns before it returns. Howe…

  40. 5.5CVE-2024-27389linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: pstore: inode: Only d_invalidate() is needed Unloading a modular pstore backend with records in pstorefs would trigger the dput() double-drop warning: WARNING: CPU: 0…

  41. 7.8CVE-2024-26932linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: fix double-free issue in tcpm_port_unregister_pd() When unregister pd capabilitie in tcpm, KASAN will capture below double -free issue. The root cause …

  42. 7.8CVE-2024-26930linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix double free of the ha->vp_map pointer Coverity scan reported potential risk of double free of the pointer ha->vp_map. ha->vp_map was freed in qla2x00…

  43. 7.8CVE-2022-48649linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: mm/slab_common: fix possible double free of kmem_cache When doing slub_debug test, kfence's 'test_memcache_typesafe_by_rcu' kunit test case cause a use-after-free error:…

  44. 5.5CVE-2024-26893linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scmi: Fix double free in SMC transport cleanup path When the generic SCMI code tears down a channel, it calls the chan_free callback function, defined by e…

  45. 4.4CVE-2024-26846EPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: nvme-fc: do not wait in vain when unloading module The module exit path has race between deleting all controllers and freeing 'left over IDs'. To prevent double free a s…

  46. 8.2CVE-2024-3446EPSS 0.3%

    A double free vulnerability was found in QEMU virtio devices (virtio-gpu, virtio-serial-bus, virtio-crypto), where the mem_reentrancy_guard flag insufficiently protects against DMA reentrancy issues. This issue could allow a malicious priv…

  47. 7.8CVE-2024-26257microsoftEPSS 1.0%

    Microsoft Excel Remote Code Execution Vulnerability

  48. 7.8CVE-2024-26792linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free of anonymous device after snapshot creation failure When creating a snapshot we may do a double free of an anonymous device in case there's an err…

  49. 7.8CVE-2024-26782linux kernelEPSS 0.7%

    In the Linux kernel, the following vulnerability has been resolved: mptcp: fix double-free on socket dismantle when MPTCP server accepts an incoming connection, it clones its listener socket. However, the pointer to 'inet_opt' for the ne…

  50. 7.8CVE-2024-26748linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: fix memory double free when handle zero packet 829 if (request->complete) { 830 spin_unlock(&priv_dev->lock); 831 usb_gadget_giveback_requ…