CVE-2024-53120
net/mlx5e: CT: Fix null-ptr-deref in add rule err flow
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 882f392d9e3649557e71efd78ae20c86039ffb7c; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 0c7c70ff8b696cfedba350411dca736361ef9a0f; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 06dc488a593020bd2f006798557d2a32104d8359; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 6030f8bd7902e9e276a0edc09bf11979e4e2bc2e; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < e99c6873229fe0482e7ceb7d5600e32d623ed9d9
- Anyone running Linux 5.14
Vulnerability facts
- Affected
- Linux >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 882f392d9e3649557e71efd78ae20c86039ffb7c; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 0c7c70ff8b696cfedba350411dca736361ef9a0f; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 06dc488a593020bd2f006798557d2a32104d8359; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 6030f8bd7902e9e276a0edc09bf11979e4e2bc2e; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < e99c6873229fe0482e7ceb7d5600e32d623ed9d9; Linux 5.14
- Fixed in
- Linux 882f392d9e3649557e71efd78ae20c86039ffb7c, Linux 0c7c70ff8b696cfedba350411dca736361ef9a0f, Linux 06dc488a593020bd2f006798557d2a32104d8359, Linux 6030f8bd7902e9e276a0edc09bf11979e4e2bc2e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.86% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: CT: Fix null-ptr-deref in add rule err flow In error flow of mlx5_tc_ct_entry_add_rule(), in case ct_rule_add() callback returns error, zone_rule->attr is used uninitiated. Fix it to use attr which has the needed pointer value. Kernel log: BUG: kernel NULL pointer dereference, address: 0000000000000110 RIP: 0010:mlx5_tc_ct_entry_add_rule+0x2b1/0x2f0 [mlx5_core] … Call Trace: <TASK> ? __die+0x20/0x70 ? page_fault_oops+0x150/0x3e0 ? exc_page_fault+0x74/0x140 ? asm_exc_page_fault+0x22/0x30 ? mlx5_tc_ct_entry_add_rule+0x2b1/0x2f0 [mlx5_core] ? mlx5_tc_ct_entry_add_rule+0x1d5/0x2f0 [mlx5_core] mlx5_tc_ct_block_flow_offload+0xc6a/0xf90 [mlx5_core] ? nf_flow_offload_tuple+0xd8/0x190 [nf_flow_table] nf_flow_offload_tuple+0xd8/0x190 [nf_flow_table] flow_offload_work_handler+0x142/0x320 [nf_flow_table] ? finish_task_switch.isra.0+0x15b/0x2b0 process_one_work+0x16c/0x320 worker_thread+0x28c/0x3a0 ? __pfx_worker_thread+0x10/0x10 kthread+0xb8/0xf0 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x2d/0x50 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK>
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 882f392d9e3649557e71efd78ae20c86039ffb7c; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 0c7c70ff8b696cfedba350411dca736361ef9a0f; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 06dc488a593020bd2f006798557d2a32104d8359; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 6030f8bd7902e9e276a0edc09bf11979e4e2bc2e; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < e99c6873229fe0482e7ceb7d5600e32d623ed9d9 | — | cvelist |
| Linux | 5.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-53120. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-53120.md Affected: Linux >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 882f392d9e3649557e71efd78ae20c86039ffb7c; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 0c7c70ff8b696cfedba350411dca736361ef9a0f; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 06dc488a593020bd2f006798557d2a32104d8359; >= 7fac5c2eced36f335ee19ff… Fixed in: Linux 882f392d9e3649557e71efd78ae20c86039ffb7c, Linux 0c7c70ff8b696cfedba350411dca736361ef9a0f, Linux 06dc488a593020bd2f006798557d2a32104d8359, Linux 6030f8bd7902e9e276a0edc09bf11979e4e2bc2e 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.
References
Patches
FAQ
Is CVE-2024-53120 being exploited?
There is no confirmed exploitation: CVE-2024-53120 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-53120?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-53120?
Linux >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 882f392d9e3649557e71efd78ae20c86039ffb7c; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 0c7c70ff8b696cfedba350411dca736361ef9a0f; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 06dc488a593020bd2f006798557d2a32104d8359; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < 6030f8bd7902e9e276a0edc09bf11979e4e2bc2e; >= 7fac5c2eced36f335ee19ff316bd3182fbeda823, < e99c6873229fe0482e7ceb7d5600e32d623ed9d9; Linux 5.14.
Is there a fix for CVE-2024-53120?
Yes. Fixed in Linux 882f392d9e3649557e71efd78ae20c86039ffb7c, Linux 0c7c70ff8b696cfedba350411dca736361ef9a0f, Linux 06dc488a593020bd2f006798557d2a32104d8359, Linux 6030f8bd7902e9e276a0edc09bf11979e4e2bc2e. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-53120?
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.