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-2025-40297

published high CVSS 3.1 · 7.8

net: bridge: fix use-after-free due to MST port state bypass

Published
08 Dec 2025, 00:46:21 UTC
Updated
15 Oct 2026, 22:02:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxec7328b59176227216c461601c6bd0e922232a9b to < e19085b2a86addccff33ab8536fc67ebd9d52198 · ec7328b59176227216c461601c6bd0e922232a9b to < 3b60ce334c1ce8b3fad7e02dcd5ed9f6646477c8 · ec7328b59176227216c461601c6bd0e922232a9b to < bf3843183bc3158e5821b46f330c438ae9bd6ddb · ec7328b59176227216c461601c6bd0e922232a9b to < 991fbe1680cd41a5f97c92cd3a3496315df36e4b · ec7328b59176227216c461601c6bd0e922232a9b to < 8dca36978aa80bab9d4da130c211db75c9e00048 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.159 through 6.1.* (unaffected · semver) · 6.6.117 through 6.6.* (unaffected · semver) · 6.12.58 through 6.12.* (unaffected · semver) · 6.17.8 through 6.17.* (unaffected · semver) · 6.18 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 evaluationALAS2023-2025-1350 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1495 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.159-1~deb11u1 DLA-4436-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el10uek ELSA-2026-50006
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006
Oracle Linux 9 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-107.59.3.2.el9uek ELSA-2026-50006

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: bridge: fix use-after-free due to MST port state bypass syzbot reported[1] a use-after-free when deleting an expired fdb. It is due to a race condition between learning still happening and a port being deleted, after all its fdbs have been flushed. The port's state has been toggled to disabled so no learning should happen at that time, but if we have MST enabled, it will bypass the port's state, that together with VLAN filtering disabled can lead to fdb learning at a time when it shouldn't happen while the port is being deleted. VLAN filtering must be disabled because we flush the port VLANs when it's being deleted which will stop learning. This fix adds a check for the port's vlan group which is initialized to NULL when the port is getting deleted, that avoids the port state bypass. When MST is enabled there would be a minimal new overhead in the fast-path because the port's vlan group pointer is cache-hot. [1] https://syzkaller.appspot.com/bug?extid=dd280197f0f7ab3917be

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

60

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 - Triggering the race requires locally issuing rtnetlink commands (create bridge, enable MST via IFLA_BRIDGE_MST, detach the port with RTM_SETLINK) concurrently with frame injection; the port-deletion half of the race cannot be driven by a remote peer. AC:L - The attacker controls both sides of the race — the packet flood on the veth peer and the timing of the port deletion — and the window spans the whole post-flush tail of del_nbp() (switchdev deferred processing, netdev_upper_dev_unlink notifiers, rx_handler unregister), so it is wide and can be retried in a loop. PR:L - All required operations are CAP_NET_ADMIN/CAP_NET_RAW rtnetlink and AF_PACKET calls gated by netlink_net_capable(), which an unprivileged user obtains over their own network namespace via unshare -Urn; no real root in the init namespace is needed. UI:N - The attacker performs the bridge setup, traffic generation, and port deletion entirely on their own; no victim action is involved. S:U - The use-after-free corrupts kernel memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The stale fdb->dst is read after the net_bridge_port slab is freed and can be reclaimed with attacker-sprayed data, and fdb_fill_info() leaks dst->dev->ifindex from that attacker-chosen address into an RTM_DELNEIGH netlink broadcast readable from userspace — an arbitrary kernel read primitive. I:H - The surviving fdb entry stays in the hash table and is used for forwarding, so br_forward(dst->dst, ...) dereferences the freed port's ->dev and reaches dev_queue_xmit(), giving an indirect call through function pointers read from the reclaimed slab — a control-flow hijack primitive. A:H - Even without grooming, dereferencing the freed net_bridge_port during fdb expiry or forwarding oopses the kernel; this is the use-after-free syzbot originally reported.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ec7328b59176227216c461601c6bd0e922232a9b to < e19085b2a86addccff33ab8536fc67ebd9d52198 (affected · git)ec7328b59176227216c461601c6bd0e922232a9b to < 3b60ce334c1ce8b3fad7e02dcd5ed9f6646477c8 (affected · git)ec7328b59176227216c461601c6bd0e922232a9b to < bf3843183bc3158e5821b46f330c438ae9bd6ddb (affected · git)ec7328b59176227216c461601c6bd0e922232a9b to < 991fbe1680cd41a5f97c92cd3a3496315df36e4b (affected · git)ec7328b59176227216c461601c6bd0e922232a9b to < 8dca36978aa80bab9d4da130c211db75c9e00048 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.159 through 6.1.* (unaffected · semver)6.6.117 through 6.6.* (unaffected · semver)6.12.58 through 6.12.* (unaffected · semver)6.17.8 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

2

Linux · cna

net: bridge: fix use-after-free due to MST port state bypass

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
98dcd0bb6ef62fe3c65c9073455c36617c71752f505e7b4532da951172cb8d71
Ingested
15 Oct 2026, 23:29:36 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