VYPR
Unrated severityNVD Advisory· Published Nov 18, 2019· Updated Aug 5, 2024

CVE-2019-19046

CVE-2019-19046

Description

A memory leak in the __ipmi_bmc_register() function in drivers/char/ipmi/ipmi_msghandler.c in the Linux kernel through 5.3.11 allows attackers to cause a denial of service (memory consumption) by triggering ida_simple_get() failure, aka CID-4aa7afb0ee20. NOTE: third parties dispute the relevance of this because an attacker cannot realistically control this failure at probe time

Affected products

48

Patches

1
4aa7afb0ee20

ipmi: Fix memory leak in __ipmi_bmc_register

https://github.com/torvalds/linuxNavid EmamdoostOct 21, 2019via osv
1 file changed · +4 1
  • drivers/char/ipmi/ipmi_msghandler.c+4 1 modified
    @@ -3020,8 +3020,11 @@ static int __ipmi_bmc_register(struct ipmi_smi *intf,
     		bmc->pdev.name = "ipmi_bmc";
     
     		rv = ida_simple_get(&ipmi_bmc_ida, 0, 0, GFP_KERNEL);
    -		if (rv < 0)
    +		if (rv < 0) {
    +			kfree(bmc);
     			goto out;
    +		}
    +
     		bmc->pdev.dev.driver = &ipmidriver.driver;
     		bmc->pdev.id = rv;
     		bmc->pdev.dev.release = release_bmc_device;
    

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

8

News mentions

0

No linked articles in our index yet.