# CVE-2023-53720: net/mlx5e: Release the label when replacing existing ct entry

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 11, 2026-11-28)
- **Published:** 2025-10-22T13:23:52.123Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 94ceffb48eac7692677d8093dcde6965b70c4b35, \< 3db903a71f1f4bbf30baae166a4a49f2e8aceb61; \>= 94ceffb48eac7692677d8093dcde6965b70c4b35, \< 8ac04a28144cfa89b61be518268233742c23d88d
- Anyone running Linux 6.3

## Description

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:
    \[\<000000002722d368\>\] \_\_kmalloc+0x4b/0x1c0
    \[\<00000000cc44e18f\>\] mapping\_add+0x6e8/0xc90 \[mlx5\_core\]
    \[\<000000003ad942a7\>\] mlx5\_get\_label\_mapping+0x66/0xe0 \[mlx5\_core\]
    \[\<00000000266308ac\>\] mlx5\_tc\_ct\_entry\_create\_mod\_hdr+0x1c4/0xf50 \[mlx5\_core\]
    \[\<000000009a768b4f\>\] mlx5\_tc\_ct\_entry\_add\_rule+0x16f/0xaf0 \[mlx5\_core\]
    \[\<00000000a178f3e5\>\] mlx5\_tc\_ct\_block\_flow\_offload\_add+0x10cb/0x1f90 \[mlx5\_core\]
    \[\<000000007b46c496\>\] mlx5\_tc\_ct\_block\_flow\_offload+0x14a/0x630 \[mlx5\_core\]
    \[\<00000000a9a18ac5\>\] nf\_flow\_offload\_tuple+0x1a3/0x390 \[nf\_flow\_table\]
    \[\<00000000d0881951\>\] flow\_offload\_work\_handler+0x257/0xd30 \[nf\_flow\_table\]
    \[\<000000009e4935a4\>\] process\_one\_work+0x7c2/0x13e0
    \[\<00000000f5cd36a7\>\] worker\_thread+0x59d/0xec0
    \[\<00000000baed1daf\>\] kthread+0x28f/0x330
    \[\<0000000063d282a4\>\] ret\_from\_fork+0x1f/0x30

Fix the issue by correctly releasing the label mapping.

## Affected and fixed versions

- Linux: \>= 94ceffb48eac7692677d8093dcde6965b70c4b35, \< 3db903a71f1f4bbf30baae166a4a49f2e8aceb61; \>= 94ceffb48eac7692677d8093dcde6965b70c4b35, \< 8ac04a28144cfa89b61be518268233742c23d88d (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 8ac04a28144cfa89b61be518268233742c23d88d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53720. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53720.md
Affected: Linux >= 94ceffb48eac7692677d8093dcde6965b70c4b35, < 3db903a71f1f4bbf30baae166a4a49f2e8aceb61; >= 94ceffb48eac7692677d8093dcde6965b70c4b35, < 8ac04a28144cfa89b61be518268233742c23d88d; Linux 6.3
Fixed in: Linux 3db903a71f1f4bbf30baae166a4a49f2e8aceb61, Linux 8ac04a28144cfa89b61be518268233742c23d88d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53720 being exploited?

There is no confirmed exploitation: CVE-2023-53720 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-53720?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53720?

Linux \>= 94ceffb48eac7692677d8093dcde6965b70c4b35, \< 3db903a71f1f4bbf30baae166a4a49f2e8aceb61; \>= 94ceffb48eac7692677d8093dcde6965b70c4b35, \< 8ac04a28144cfa89b61be518268233742c23d88d; Linux 6.3.

### Is there a fix for CVE-2023-53720?

Yes. Fixed in Linux 3db903a71f1f4bbf30baae166a4a49f2e8aceb61, Linux 8ac04a28144cfa89b61be518268233742c23d88d. Upgrade Linux to 8ac04a28144cfa89b61be518268233742c23d88d or later.

### How do I check if I'm affected by CVE-2023-53720?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3db903a71f1f4bbf30baae166a4a49f2e8aceb61>
- other: <https://git.kernel.org/stable/c/8ac04a28144cfa89b61be518268233742c23d88d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53720>

HTML: <https://flawdb.com/CVE-2023-53720> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53720>
