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

CVE-2019-19049

CVE-2019-19049

Description

A memory leak in the unittest_data_add() function in drivers/of/unittest.c in the Linux kernel before 5.3.10 allows attackers to cause a denial of service (memory consumption) by triggering of_fdt_unflatten_tree() failures, aka CID-e13de8fe0d6a. NOTE: third parties dispute the relevance of this because unittest.c can only be reached during boot

Affected products

88

Patches

1
e13de8fe0d6a

of: unittest: fix memory leak in unittest_data_add

https://github.com/torvalds/linuxNavid EmamdoostOct 4, 2019via osv
1 file changed · +1 0
  • drivers/of/unittest.c+1 0 modified
    @@ -1207,6 +1207,7 @@ static int __init unittest_data_add(void)
     	of_fdt_unflatten_tree(unittest_data, NULL, &unittest_data_node);
     	if (!unittest_data_node) {
     		pr_warn("%s: No tree to attach; not running tests\n", __func__);
    +		kfree(unittest_data);
     		return -ENODATA;
     	}
     
    

Vulnerability mechanics

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

References

4

News mentions

0

No linked articles in our index yet.