CVE-2023-53720
Severity not reportedIn the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Release the label when replacing existing ct entry Cited commit doesn't releas…
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Release the label when replacing existing ct entry Cited commit doesn't release the label mapping when replacing existing ct entry which leads to following memleak report: unreferenced object 0xffff8881854cf280 (size 96): comm "kworker/u48:74", pid 23093, jiffies 4296664564 (age 175.944s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] __kmalloc+0x4b/0x1c0 [] mapping_add+0x6e8/0xc90 [mlx5_core] [] mlx5_get_label_mapping+0x66/0xe0 [mlx5_core] [] mlx5_tc_ct_entry_create_mod_hdr+0x1c4/0xf50 [mlx5_core] [] mlx5_tc_ct_entry_add_rule+0x16f/0xaf0 [mlx5_core] [] mlx5_tc_ct_block_flow_offload_add+0x10cb/0x1f90 [mlx5_core] [] mlx5_tc_ct_block_flow_offload+0x14a/0x630 [mlx5_core] [] nf_flow_offload_tuple+0x1a3/0x390 [nf_flow_table] [] flow_offload_work_handler+0x257/0xd30 [nf_flow_table] [] process_one_work+0x7c2/0x13e0 [] worker_thread+0x59d/0xec0 [] kthread+0x28f/0x330 [] ret_from_fork+0x1f/0x30 Fix the issue by correctly releasing the label mapping.
Affected products
Not reported by the source (unknown — not "none").
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://git.kernel.org/stable/c/3db903a71f1f4bbf30baae166a4a49f2e8aceb61 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/8ac04a28144cfa89b61be518268233742c23d88d 416baaa9-dc9f-4396-8d5f-8c081fb06d67
