CVE-2023-52667
published high CVSS 3.1 · 7.8net/mlx5e: fix a potential double-free in fs_any_create_groups
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < 72a729868592752b5a294d27453da264106983b1 · 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < b2fa86b2aceb4bc9ada51cea90f61546d7512cbe · 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < 2897c981ee63e1be5e530b1042484626a10b26d8 · 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < 65a4ade8a6d205979292e88beeb6a626ddbd4779 · 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < aef855df7e1bbd5aa4484851561211500b22707e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.149 through 5.15.* (unaffected · semver) · 6.1.76 through 6.1.* (unaffected · semver) · 6.6.15 through 6.6.* (unaffected · semver) · 6.7.3 through 6.7.* (unaffected · semver) · 6.8 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 | AL2 | Release evaluationALAS2KERNEL-5.15-2024-039 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.344.4.1.el7uek | ELSA-2025-20372 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.24.1.el9_4 | ALSA-2024:4349 |
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: fix a potential double-free in fs_any_create_groups When kcalloc() for ft->g succeeds but kvzalloc() for in fails, fs_any_create_groups() will free ft->g. However, its caller fs_any_create_table() will free ft->g again through calling mlx5e_destroy_flow_table(), which will lead to a double-free. Fix this by setting ft->g to NULL in fs_any_create_groups().
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.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The double-free is reached only through local mlx5e PTP RX flow-steering setup (SIOCSHWTSTAMP/ethtool private-flag paths → mlx5e_ptp_rx_set_fs → mlx5e_fs_tt_redirect_any_create → fs_any_create_groups), not via remotely received packets or peer protocol data. AC:L - The bug fires when kcalloc(ft->g) succeeds and the subsequent kvzalloc(in) fails; a local attacker can drive that GFP_KERNEL failure via memory pressure, after which the double-free in mlx5e_destroy_flow_table() is fully deterministic with no race outside attacker control. PR:L - An unprivileged local account can supply the memory-pressure half of the condition while ordinary admin/PTP hwstamp or channel reopen activity hits the path; alternatively, CAP_NET_ADMIN checked via ns_capable(net->user_ns) on an mlx5 VF in a tenant netns is Low, not init-ns root. UI:N - No separate victim action is required; the attacker induces the failing allocation (and/or issues the hwstamp/ethtool configuration themselves), and the faulty cleanup runs automatically in fs_any_create_table()'s error path. S:U - Impact is confined to host-kernel slab/mlx5e state under a single security authority; the defect does not cross a VM, IOMMU, or sandbox boundary. C:H - ft->g is a 16-byte (2-pointer) kmalloc object; under the same memory pressure that triggers the bug it can be reallocated between the two kfree()s, so freelist aliasing from the double-free yields an arbitrary kernel read/disclosure primitive. I:H - Double-free freelist corruption lets attacker-controlled data overwrite a live kmalloc-16 object and/or redirect subsequent allocations, providing a write and control-flow hijack primitive suitable for privilege escalation. A:H - The second kfree() of the already-freed pointer trips SLUB double-free detection or corrupts the freelist, causing a kernel BUG/oops/panic and denying service on the host or NIC bring-up path.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < 72a729868592752b5a294d27453da264106983b1 (affected · git)0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < b2fa86b2aceb4bc9ada51cea90f61546d7512cbe (affected · git)0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < 2897c981ee63e1be5e530b1042484626a10b26d8 (affected · git)0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < 65a4ade8a6d205979292e88beeb6a626ddbd4779 (affected · git)0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 to < aef855df7e1bbd5aa4484851561211500b22707e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.149 through 5.15.* (unaffected · semver)6.1.76 through 6.1.* (unaffected · semver)6.6.15 through 6.6.* (unaffected · semver)6.7.3 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/2897c981ee63e1be5e530b1042484626a10b26d8
- https://git.kernel.org/stable/c/65a4ade8a6d205979292e88beeb6a626ddbd4779
- https://git.kernel.org/stable/c/72a729868592752b5a294d27453da264106983b1
- https://git.kernel.org/stable/c/aef855df7e1bbd5aa4484851561211500b22707e
- https://git.kernel.org/stable/c/b2fa86b2aceb4bc9ada51cea90f61546d7512cbe
Provider assertions
3Linux · cna
net/mlx5e: fix a potential double-free in fs_any_create_groups
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5409376f0df7e25748e8da8f3076394dbdd2b342f63b29259386c0511bc7c320
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record