{"id":"CVE-2023-53720","state":"PUBLISHED","title":"net/mlx5e: Release the label when replacing existing ct entry","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Release the label when replacing existing ct entry\n\nCited commit doesn't release the label mapping when replacing existing ct\nentry which leads to following memleak report:\n\nunreferenced object 0xffff8881854cf280 (size 96):\n  comm \"kworker/u48:74\", pid 23093, jiffies 4296664564 (age 175.944s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [<000000002722d368>] __kmalloc+0x4b/0x1c0\n    [<00000000cc44e18f>] mapping_add+0x6e8/0xc90 [mlx5_core]\n    [<000000003ad942a7>] mlx5_get_label_mapping+0x66/0xe0 [mlx5_core]\n    [<00000000266308ac>] mlx5_tc_ct_entry_create_mod_hdr+0x1c4/0xf50 [mlx5_core]\n    [<000000009a768b4f>] mlx5_tc_ct_entry_add_rule+0x16f/0xaf0 [mlx5_core]\n    [<00000000a178f3e5>] mlx5_tc_ct_block_flow_offload_add+0x10cb/0x1f90 [mlx5_core]\n    [<000000007b46c496>] mlx5_tc_ct_block_flow_offload+0x14a/0x630 [mlx5_core]\n    [<00000000a9a18ac5>] nf_flow_offload_tuple+0x1a3/0x390 [nf_flow_table]\n    [<00000000d0881951>] flow_offload_work_handler+0x257/0xd30 [nf_flow_table]\n    [<000000009e4935a4>] process_one_work+0x7c2/0x13e0\n    [<00000000f5cd36a7>] worker_thread+0x59d/0xec0\n    [<00000000baed1daf>] kthread+0x28f/0x330\n    [<0000000063d282a4>] ret_from_fork+0x1f/0x30\n\nFix the issue by correctly releasing the label mapping.","publishedAt":"2025-10-22T13:23:52.123Z","updatedAt":"2026-05-11T19:50:33.183Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"94ceffb48eac7692677d8093dcde6965b70c4b35","status":"affected","lessThan":"3db903a71f1f4bbf30baae166a4a49f2e8aceb61","versionType":"git"},{"version":"94ceffb48eac7692677d8093dcde6965b70c4b35","status":"affected","lessThan":"8ac04a28144cfa89b61be518268233742c23d88d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.3.2","status":"unaffected","lessThanOrEqual":"6.3.*","versionType":"semver"},{"version":"6.4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c"]}],"references":["https://git.kernel.org/stable/c/3db903a71f1f4bbf30baae166a4a49f2e8aceb61","https://git.kernel.org/stable/c/8ac04a28144cfa89b61be518268233742c23d88d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53720.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53720","state":"PUBLISHED","datePublished":"2025-10-22T13:23:52.123Z","dateUpdated":"2026-05-11T19:50:33.183Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-22T13:21:37.347Z"},"containers":{"cna":{"title":"net/mlx5e: Release the label when replacing existing ct entry","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Release the label when replacing existing ct entry\n\nCited commit doesn't release the label mapping when replacing existing ct\nentry which leads to following memleak report:\n\nunreferenced object 0xffff8881854cf280 (size 96):\n  comm \"kworker/u48:74\", pid 23093, jiffies 4296664564 (age 175.944s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [<000000002722d368>] __kmalloc+0x4b/0x1c0\n    [<00000000cc44e18f>] mapping_add+0x6e8/0xc90 [mlx5_core]\n    [<000000003ad942a7>] mlx5_get_label_mapping+0x66/0xe0 [mlx5_core]\n    [<00000000266308ac>] mlx5_tc_ct_entry_create_mod_hdr+0x1c4/0xf50 [mlx5_core]\n    [<000000009a768b4f>] mlx5_tc_ct_entry_add_rule+0x16f/0xaf0 [mlx5_core]\n    [<00000000a178f3e5>] mlx5_tc_ct_block_flow_offload_add+0x10cb/0x1f90 [mlx5_core]\n    [<000000007b46c496>] mlx5_tc_ct_block_flow_offload+0x14a/0x630 [mlx5_core]\n    [<00000000a9a18ac5>] nf_flow_offload_tuple+0x1a3/0x390 [nf_flow_table]\n    [<00000000d0881951>] flow_offload_work_handler+0x257/0xd30 [nf_flow_table]\n    [<000000009e4935a4>] process_one_work+0x7c2/0x13e0\n    [<00000000f5cd36a7>] worker_thread+0x59d/0xec0\n    [<00000000baed1daf>] kthread+0x28f/0x330\n    [<0000000063d282a4>] ret_from_fork+0x1f/0x30\n\nFix the issue by correctly releasing the label mapping."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"94ceffb48eac7692677d8093dcde6965b70c4b35","status":"affected","lessThan":"3db903a71f1f4bbf30baae166a4a49f2e8aceb61","versionType":"git"},{"version":"94ceffb48eac7692677d8093dcde6965b70c4b35","status":"affected","lessThan":"8ac04a28144cfa89b61be518268233742c23d88d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.3.2","status":"unaffected","lessThanOrEqual":"6.3.*","versionType":"semver"},{"version":"6.4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3db903a71f1f4bbf30baae166a4a49f2e8aceb61"},{"url":"https://git.kernel.org/stable/c/8ac04a28144cfa89b61be518268233742c23d88d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:50:33.183Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.4"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}