Vulnerabilities

CWE-401: Missing Release of Memory after Effective Lifetime

Weakness type from the CWE catalogue (version 4.21)

What the weakness means

The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Definition as published by MITRE, in English.

1,229 vulnerabilities in the service point to this weakness

  1. CVE-2022-50269 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: drm/vkms: Fix memory leak in vkms_init() A memory leak was reported after the vkms module install failed. unreferenced object 0xfff…

  2. CVE-2022-50263 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: vdpasim: fix memory leak when freeing IOTLBs After commit bda324fd037a ("vdpasim: control virtqueue support"), vdpasim->iommu becam…

  3. CVE-2022-50264 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: clk: socfpga: Fix memory leak in socfpga_gate_init() Free @socfpga_clk and @ops on the error path to avoid memory leak issue.

  4. CVE-2023-53197 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: USB: uhci: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, othe…

  5. CVE-2023-53195 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init The line cards array is not freed in the error path of mlxsw_m_…

  6. CVE-2023-53196 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: qcom: Fix potential memory leak Function dwc3_qcom_probe() allocates memory for resource structure which is pointed by p…

  7. CVE-2023-53190 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: vxlan: Fix memory leaks in error path The memory allocated by vxlan_vnigroup_init() is not freed in the error path, leading to memo…

  8. CVE-2023-53173 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: tty: pcn_uart: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, …

  9. CVE-2023-53174 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix possible memory leak if device_add() fails If device_add() returns error, the name allocated by dev_set_name() need…

  10. CVE-2022-50251 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: mmc: vub300: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, the memory th…

  11. CVE-2022-50247 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: usb: xhci-mtk: fix leakage of shared hcd when fail to set wakeup irq Can not set the @shared_hcd to NULL before decrease the usage …

  12. CVE-2022-50242 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init() If vp alloc failed in qlcnic_sriov_init(), all previously al…

  13. CVE-2025-39756 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: fs: Prevent file descriptor table allocations exceeding INT_MAX When sysctl_nr_open is set to a very high value (for example, 10737…

  14. CVE-2025-39737 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: mm/kmemleak: avoid soft lockup in __kmemleak_do_cleanup() A soft lockup warning was observed on a relative small system x86-64 syst…

  15. CVE-2025-39679 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor(). When the nvif_vmm_type is invalid, we will return error directly wi…

  16. CVE-2025-38612 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc() In the error paths after fb_info structure is successfully a…

  17. CVE-2025-38590 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Remove skb secpath if xfrm state is not found Hardware returns a unique identifier for a decrypted packet's xfrm state, …

  18. CVE-2025-38549 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: efivarfs: Fix memory leak of efivarfs_fs_info in fs_context error paths When processing mount options, efivarfs allocates efivarfs_…

  19. CVE-2025-38545 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info While transitioning from netdev_alloc_ip_align() …

  20. CVE-2025-38546 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: atm: clip: Fix memory leak of struct clip_vcc. ioctl(ATMARP_MKIP) allocates struct clip_vcc and set it to vcc->user_back. The code …

  21. CVE-2025-27562 Medium 5.5

    in OpenHarmony v5.0.3 and prior versions allow a local attacker case DOS through missing release of memory.

  22. CVE-2025-24844 Medium 5.5

    in OpenHarmony v5.0.3 and prior versions allow a local attacker case DOS through missing release of memory.

  23. CVE-2025-24925 Medium 5.5

    in OpenHarmony v5.0.3 and prior versions allow a local attacker case DOS through missing release of memory.

  24. CVE-2025-38465 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: netlink: Fix wraparounds of sk->sk_rmem_alloc. Netlink has this pattern in some places if (atomic_read(&sk->sk_rmem_alloc) > sk->sk…

  25. CVE-2025-38438 Medium 5.5

    In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: hda: Use devm_kstrdup() to avoid memleak. sof_pdata->tplg_filename can have address allocated by kstrdup() and ca…