NetSight
high7.8

CVE-2023-52667

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix a potential double-free in fs_any_create_groups When kcalloc() for ft->g suc…

Impact

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix a potential double-free in fs_any_create_groups When kcalloc() for ft->g succeeds but kvzalloc() for in fails, fs_any_create_groups() will free ft->g. However, its caller fs_any_create_table() will free ft->g again through calling mlx5e_destroy_flow_table(), which will lead to a double-free. Fix this by setting ft->g to NULL in fs_any_create_groups().

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.13 before 5.15.149
from 5.16 before 6.1.76
from 6.2 before 6.6.15
from 6.7 before 6.7.3
Version 6.8

Weakness classification

References