CVE-2024-53120
published high CVSS 3.1 · 7.5net/mlx5e: CT: Fix null-ptr-deref in add rule err flow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7fac5c2eced36f335ee19ff316bd3182fbeda823 to < 882f392d9e3649557e71efd78ae20c86039ffb7c · 7fac5c2eced36f335ee19ff316bd3182fbeda823 to < 0c7c70ff8b696cfedba350411dca736361ef9a0f · 7fac5c2eced36f335ee19ff316bd3182fbeda823 to < 06dc488a593020bd2f006798557d2a32104d8359 · 7fac5c2eced36f335ee19ff316bd3182fbeda823 to < 6030f8bd7902e9e276a0edc09bf11979e4e2bc2e · 7fac5c2eced36f335ee19ff316bd3182fbeda823 to < e99c6873229fe0482e7ceb7d5600e32d623ed9d9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.174 through 5.15.* (unaffected · semver) · 6.1.119 through 6.1.* (unaffected · semver) · 6.6.63 through 6.6.* (unaffected · semver) · 6.11.10 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | libperfaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rtlaaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rtlax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | rvaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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>
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The vulnerable code is driven entirely by received network packets — conntrack entries created by remote peers' connections are handed to `mlx5_tc_ct_block_flow_offload()` via the nf_flow_table offload workqueue, with no local action required. A remote attacker sending traffic through an mlx5 NIC configured for act_ct hardware offload reaches the failing add path directly. AC:L - The attacker controls the trigger: opening a large number of NAT'd connections exhausts the finite hardware CT/steering table so `ct_rule_add()` returns an error, and crafted traffic (tunneled or non-TCP/UDP/GRE flows) can also fail `mlx5_ct_fs_smfs_ct_validate_flow_rule()` deterministically. Every NAT'd entry takes the `mh == NULL` branch, so any such failure crashes. PR:N - No credentials or account on the target are needed — only the ability to send packets that traverse the offloaded connection-tracking datapath. The CT-offload configuration is a deployment precondition set by the administrator, not a privilege the attacker must hold. UI:N - The offload work is queued automatically by the conntrack/flow-table machinery when connections become established; no victim action is involved. S:U - The fault and its consequences are confined to the host kernel that owns the mlx5 device; no security authority boundary such as a VM or IOMMU domain is crossed. C:N - The defect is a read of a fixed offset from a NULL pointer, which faults immediately; no kernel memory contents are returned to or observable by the attacker. I:N - No attacker-controlled data is written and no control-flow hijack primitive is produced — the dereferenced pointer is unconditionally NULL, not attacker-influenced, so `mmap_min_addr` prevents any write or execution primitive. A:H - The dereference produces a kernel oops in the flow-offload worker (a full panic with `panic_on_oops`), killing the workqueue thread and breaking the CT offload path; it can be re-triggered by continued connection flooding, and hardware modify-header and label-mapping resources are leaked on each occurrence.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7fac5c2eced36f335ee19ff316bd3182fbeda823 to < 882f392d9e3649557e71efd78ae20c86039ffb7c (affected · git)7fac5c2eced36f335ee19ff316bd3182fbeda823 to < 0c7c70ff8b696cfedba350411dca736361ef9a0f (affected · git)7fac5c2eced36f335ee19ff316bd3182fbeda823 to < 06dc488a593020bd2f006798557d2a32104d8359 (affected · git)7fac5c2eced36f335ee19ff316bd3182fbeda823 to < 6030f8bd7902e9e276a0edc09bf11979e4e2bc2e (affected · git)7fac5c2eced36f335ee19ff316bd3182fbeda823 to < e99c6873229fe0482e7ceb7d5600e32d623ed9d9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.174 through 5.15.* (unaffected · semver)6.1.119 through 6.1.* (unaffected · semver)6.6.63 through 6.6.* (unaffected · semver)6.11.10 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/06dc488a593020bd2f006798557d2a32104d8359
- https://git.kernel.org/stable/c/0c7c70ff8b696cfedba350411dca736361ef9a0f
- https://git.kernel.org/stable/c/6030f8bd7902e9e276a0edc09bf11979e4e2bc2e
- https://git.kernel.org/stable/c/882f392d9e3649557e71efd78ae20c86039ffb7c
- https://git.kernel.org/stable/c/e99c6873229fe0482e7ceb7d5600e32d623ed9d9
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
2Linux · cna
net/mlx5e: CT: Fix null-ptr-deref in add rule err flow
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 74f648b69bb49b5eb2172f9dfa3d18cbdc806bef63dddd65c085f8d11e85b057
- Ingested
- 23 Sep 2026, 08:30:55 UTC
- Source record
- Official CVE record