Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-35855

published high CVSS 3.1 · 7.8

mlxsw: spectrum_acl_tcam: Fix possible use-after-free during activity update

Published
17 May 2024, 14:47:31 UTC
Updated
05 Aug 2026, 11:30:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2bffc5322fd8679e879cd6370881ee50cf141ada to < 1b73f6e4ea770410a937a8db98f77e52594d23a0 · 2bffc5322fd8679e879cd6370881ee50cf141ada to < e24d2487424779c02760ff50cd9021b8676e19ef · 2bffc5322fd8679e879cd6370881ee50cf141ada to < c17976b42d546ee118ca300db559630ee96fb758 · 2bffc5322fd8679e879cd6370881ee50cf141ada to < b996e8699da810e4c915841d6aaef761007f933a · 2bffc5322fd8679e879cd6370881ee50cf141ada to < feabdac2057e863d0e140a2adf3d232eb4882db4 · 2bffc5322fd8679e879cd6370881ee50cf141ada to < b183b915beef818a25e3154d719ca015a1ae0770 · 2bffc5322fd8679e879cd6370881ee50cf141ada to < 79b5b4b18bc85b19d3a518483f9abbbe6d7b3ba4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.1 (affected) · 0 to < 5.1 (unaffected · semver) · 5.4.275 through 5.4.* (unaffected · semver) · 5.10.216 through 5.10.* (unaffected · semver) · 5.15.158 through 5.15.* (unaffected · semver) · 6.1.90 through 6.1.* (unaffected · semver) · 6.6.30 through 6.6.* (unaffected · semver) · 6.8.9 through 6.8.* (unaffected · semver) · 6.9 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.10-2024-067 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-078 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
Debian buster linux-5.10 Advisory build 5.10.216-1~deb10u1 DLA-3842-1
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
AlmaLinux 8 kernel Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
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
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.8.1.el8_10 ELSA-2024-4211
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_acl_tcam: Fix possible use-after-free during activity update The rule activity update delayed work periodically traverses the list of configured rules and queries their activity from the device. As part of this task it accesses the entry pointed by 'ventry->entry', but this entry can be changed concurrently by the rehash delayed work, leading to a use-after-free [1]. Fix by closing the race and perform the activity query under the 'vregion->lock' mutex. [1] BUG: KASAN: slab-use-after-free in mlxsw_sp_acl_tcam_flower_rule_activity_get+0x121/0x140 Read of size 8 at addr ffff8881054ed808 by task kworker/0:18/181 CPU: 0 PID: 181 Comm: kworker/0:18 Not tainted 6.9.0-rc2-custom-00781-gd5ab772d32f7 #2 Hardware name: Mellanox Technologies Ltd. MSN3700/VMOD0005, BIOS 5.11 01/06/2019 Workqueue: mlxsw_core mlxsw_sp_acl_rule_activity_update_work Call Trace: <TASK> dump_stack_lvl+0xc6/0x120 print_report+0xce/0x670 kasan_report+0xd7/0x110 mlxsw_sp_acl_tcam_flower_rule_activity_get+0x121/0x140 mlxsw_sp_acl_rule_activity_update_work+0x219/0x400 process_one_work+0x8eb/0x19b0 worker_thread+0x6c9/0xf70 kthread+0x2c9/0x3b0 ret_from_fork+0x4d/0x80 ret_from_fork_asm+0x1a/0x30 </TASK> Allocated by task 1039: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 __kasan_kmalloc+0x8f/0xa0 __kmalloc+0x19c/0x360 mlxsw_sp_acl_tcam_entry_create+0x7b/0x1f0 mlxsw_sp_acl_tcam_vchunk_migrate_all+0x30d/0xb50 mlxsw_sp_acl_tcam_vregion_rehash_work+0x157/0x1300 process_one_work+0x8eb/0x19b0 worker_thread+0x6c9/0xf70 kthread+0x2c9/0x3b0 ret_from_fork+0x4d/0x80 ret_from_fork_asm+0x1a/0x30 Freed by task 1039: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 kasan_save_free_info+0x3b/0x60 poison_slab_object+0x102/0x170 __kasan_slab_free+0x14/0x30 kfree+0xc1/0x290 mlxsw_sp_acl_tcam_vchunk_migrate_all+0x3d7/0xb50 mlxsw_sp_acl_tcam_vregion_rehash_work+0x157/0x1300 process_one_work+0x8eb/0x19b0 worker_thread+0x6c9/0xf70 kthread+0x2c9/0x3b0 ret_from_fork+0x4d/0x80 ret_from_fork_asm+0x1a/0x30

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

56

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 vulnerable state is set up by installing tc flower filters on an mlxsw switch port via rtnetlink (RTM_NEWTFILTER), a local syscall interface; remote traffic only toggles the hardware activity bit and cannot influence the `ventry->entry` lifetime. No network-facing parser or protocol handler is on the path. AC:L - The attacker controls both sides of the race — rule add/delete churn resets the rehash context and keeps `mlxsw_sp_acl_tcam_ventry_migrate()` continuously freeing entries (credit budget of 100 forces immediate reschedule), while the unlocked activity walker re-scans every rule once per second with a slow per-rule firmware query, giving a wide window that repeats indefinitely. The bug reproduced in real deployments, and the rehash interval is additionally attacker-tunable via the `acl_region_rehash_interval` devlink param. PR:L - Installing offloaded flower rules requires CAP_NET_ADMIN in the netns owning the mlxsw netdev, which per kernel CNA convention is scored as low privilege; mlxsw ports are routinely delegated into network namespaces in containerized switch OSes, where a non-root user holding CAP_NET_ADMIN in that namespace can install the filters. UI:N - The attacker triggers everything themselves by configuring tc flower rules; the two racing kernel delayed works then fire automatically on their own timers with no victim action required. S:U - The use-after-free corrupts kernel heap memory and is exploited within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - A use-after-free on a general kmalloc-cache object that is pointer-chased (`entry->chunk->region->priv`, `entry->act_block`) lets an attacker who reclaims the slab redirect reads to arbitrary kernel addresses, yielding an arbitrary-read primitive and disclosure of kernel memory and pointers. I:H - The freed object feeds `mlxsw_afa_block_activity_get()`, which performs an indirect call via `block->afa->ops->kvdl_set_activity_get` — three pointer levels all sourced from the freed allocation — so heap spraying the reclaimed slab gives control-flow hijack and hence arbitrary kernel modification. A:H - Even unweaponized, the use-after-free dereferences stale pointers from a kernel workqueue context, producing an oops/panic (as captured in the KASAN report) and taking down the switch's control plane.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2bffc5322fd8679e879cd6370881ee50cf141ada to < 1b73f6e4ea770410a937a8db98f77e52594d23a0 (affected · git)2bffc5322fd8679e879cd6370881ee50cf141ada to < e24d2487424779c02760ff50cd9021b8676e19ef (affected · git)2bffc5322fd8679e879cd6370881ee50cf141ada to < c17976b42d546ee118ca300db559630ee96fb758 (affected · git)2bffc5322fd8679e879cd6370881ee50cf141ada to < b996e8699da810e4c915841d6aaef761007f933a (affected · git)2bffc5322fd8679e879cd6370881ee50cf141ada to < feabdac2057e863d0e140a2adf3d232eb4882db4 (affected · git)2bffc5322fd8679e879cd6370881ee50cf141ada to < b183b915beef818a25e3154d719ca015a1ae0770 (affected · git)2bffc5322fd8679e879cd6370881ee50cf141ada to < 79b5b4b18bc85b19d3a518483f9abbbe6d7b3ba4 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.1 (affected)0 to < 5.1 (unaffected · semver)5.4.275 through 5.4.* (unaffected · semver)5.10.216 through 5.10.* (unaffected · semver)5.15.158 through 5.15.* (unaffected · semver)6.1.90 through 6.1.* (unaffected · semver)6.6.30 through 6.6.* (unaffected · semver)6.8.9 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

3

Linux · cna

mlxsw: spectrum_acl_tcam: Fix possible use-after-free during activity update

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
3479f6520e958f27b584f1e0b691f97c1efc65d961150065d2c6048a6e007545
Ingested
23 Sep 2026, 08:23:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected