Junglewise Threat Intelligence

CVE-2025-21719: Linux kernel out-of-bounds read in ipmr multicast routing

CVE-2025-21719 · Severity: high · CVSS 7.1 · Published 2025-02-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's multicast routing component could allow a local user to crash the system. The issue occurs when the system attempts to process certain network routing information that has not yet been fully resolved. This can lead to a system-wide denial of service or potentially allow unauthorized access to sensitive kernel memory.

Technical details

The vulnerability is an out-of-bounds read (CWE-125) in the ipmr (IP Multicast Routing) subsystem of the Linux kernel. It is caused by calling mr_mfc_uses_dev() on unresolved multicast forwarding cache (MFC) entries during a netlink route dump. Because unresolved entries use a different structure layout (aliasing pointers to sk_buff_head), the function attempts to access invalid memory addresses. A local attacker with low privileges can trigger this by requesting a multicast route dump via netlink, leading to a kernel oops/panic or potential information leakage from kernel memory. The issue has been patched by removing the invalid device filtering check for unresolved entries in net/ipv4/ipmr_base.c.

Affected products

  • Linux Linux kernel 4.20 to 5.4.291, 5.5 to 5.10.235, 5.11 to 5.15.179, 5.16 to 6.1.129, 6.2 to 6.6.76, 6.7 to 6.12.13, 6.13 to 6.13.2

Timeline

  • 2025-01-21: patched: Initial fix authored by Eric Dumazet
  • 2025-02-27: advisory: CVE-2025-21719 published

References

Related threats