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

CVE-2019-19072

CVE-2019-19072

Description

A memory leak in the predicate_parse() function in kernel/trace/trace_events_filter.c in the Linux kernel through 5.3.11 allows attackers to cause a denial of service (memory consumption), aka CID-96c5c6e6a5b6.

Affected products

2

Patches

1
96c5c6e6a5b6

tracing: Have error path in predicate_parse() free its allocated memory

https://github.com/torvalds/linuxNavid EmamdoostSep 20, 2019via osv
1 file changed · +4 2
  • kernel/trace/trace_events_filter.c+4 2 modified
    @@ -452,8 +452,10 @@ predicate_parse(const char *str, int nr_parens, int nr_preds,
     
     		switch (*next) {
     		case '(':					/* #2 */
    -			if (top - op_stack > nr_parens)
    -				return ERR_PTR(-EINVAL);
    +			if (top - op_stack > nr_parens) {
    +				ret = -EINVAL;
    +				goto out_free;
    +			}
     			*(++top) = invert;
     			continue;
     		case '!':					/* #3 */
    

Vulnerability mechanics

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

References

7

News mentions

0

No linked articles in our index yet.