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

CVE-2019-19045

CVE-2019-19045

Description

A memory leak in the mlx5_fpga_conn_create_cq() function in drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c in the Linux kernel before 5.3.11 allows attackers to cause a denial of service (memory consumption) by triggering mlx5_vector2eqn() failures, aka CID-c8c2a057fdc7.

Affected products

101

Patches

1
c8c2a057fdc7

net/mlx5: prevent memory leak in mlx5_fpga_conn_create_cq

https://github.com/torvalds/linuxNavid EmamdoostSep 25, 2019via osv
1 file changed · +3 1
  • drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c+3 1 modified
    @@ -464,8 +464,10 @@ static int mlx5_fpga_conn_create_cq(struct mlx5_fpga_conn *conn, int cq_size)
     	}
     
     	err = mlx5_vector2eqn(mdev, smp_processor_id(), &eqn, &irqn);
    -	if (err)
    +	if (err) {
    +		kvfree(in);
     		goto err_cqwq;
    +	}
     
     	cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context);
     	MLX5_SET(cqc, cqc, log_cq_size, ilog2(cq_size));
    

Vulnerability mechanics

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

References

9

News mentions

0

No linked articles in our index yet.