CVE-2025-38248: Use-after-free in Linux kernel bridge multicast router-port configuration
- Vendor
- Linux
CVE-2025-38248 is a use-after-free vulnerability in the Linux kernel bridge multicast subsystem. Changes to per-VLAN multicast snooping and multicast router settings can reinsert ports into global or per-VLAN router-port lists associated with inactive multicast contexts. Subsequent deletion of a port or its VLAN membership can free the corresponding context without removing its router-port list entry. Traversing the list afterward, such as when adding another multicast router port, accesses freed memory. The affected path includes br_multicast_add_router(), with diagnostics showing an eight-byte invalid write. The fix ensures that br_multicast_port_ctx_deinit() removes entries from the appropriate router-port list during both port and VLAN teardown.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Stale multicast router-port entries cause kernel memory corruption and can crash the system, resulting in denial of service. The vulnerability's CVSS v3 assessment indicates potential high confidentiality, integrity, and availability impacts from local exploitation. Privilege escalation or broader kernel compromise is a potential consequence, but a working privilege-escalation exploit is not established by the available technical details.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict bridge, port, VLAN, and multicast-router configuration to trusted administrators. Avoid re-enabling permanent multicast router entries in inactive global or per-VLAN multicast contexts after changing per-VLAN snooping mode, followed by deletion of the corresponding port or VLAN membership. Disabling per-VLAN snooping alone is not a sufficient workaround because stale entries can occur in either mode. No formal vendor workaround is established.
Remediation
Patch, then assume compromise.
Install the vendor-provided kernel update containing the fix to br_multicast_port_ctx_deinit(), and reboot into the corrected kernel. The fix explicitly removes the port from its global or per-VLAN router-port list when the associated multicast context is destroyed. Removing the multicast router timer alone is insufficient because it does not clean up permanent router state 2. Example corrected package versions include Debian trixie linux 6.12.69-1, RHEL 8.10 kernel 4.18.0-553.107.1.el8_10, RHEL 9.6 EUS kernel 5.14.0-570.100.1.el9_6, and RHEL 10.0 EUS kernel 6.12.0-55.65.1.el10_0. Use the applicable vendor update or a later corrected build for the installed product and support channel.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-38248 exploited in the wild?
- As of Nov 23, 2026, Mallory has no reports of CVE-2025-38248 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-38248?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-38248, the earliest disclosed Jan 22, 2026.
- Is there a patch for CVE-2025-38248?
- Install the vendor-provided kernel update containing the fix to br_multicast_port_ctx_deinit(), and reboot into the corrected kernel. The fix explicitly removes the port from its global or per-VLAN router-port list when the associated multicast context is destroyed.
- What products are affected by CVE-2025-38248?
- Linux Kernel.
- How severe is CVE-2025-38248?
- CVE-2025-38248 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.28% (13th percentile) as of Nov 23, 2026.
Recent activity
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.