# CVE-2025-21719: ipmr: do not call mr_mfc_uses_dev() for unres entries

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-02-27T02:07:28.573Z
- Modified: 2026-10-15T22:18:08.073Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ipmr: do not call mr_mfc_uses_dev() for unres entries

syzbot found that calling mr_mfc_uses_dev() for unres entries
would crash [1], because c->mfc_un.res.minvif / c->mfc_un.res.maxvif
alias to "struct sk_buff_head unresolved", which contain two pointers.

This code never worked, lets remove it.

[1]
Unable to handle kernel paging request at virtual address ffff5fff2d536613
KASAN: maybe wild-memory-access in range [0xfffefff96a9b3098-0xfffefff96a9b309f]
Modules linked in:
CPU: 1 UID: 0 PID: 7321 Comm: syz.0.16 Not tainted 6.13.0-rc7-syzkaller-g1950a0af2d55 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
 pc : mr_mfc_uses_dev net/ipv4/ipmr_base.c:290 [inline]
 pc : mr_table_dump+0x5a4/0x8b0 net/ipv4/ipmr_base.c:334
 lr : mr_mfc_uses_dev net/ipv4/ipmr_base.c:289 [inline]
 lr : mr_table_dump+0x694/0x8b0 net/ipv4/ipmr_base.c:334
Call trace:
  mr_mfc_uses_dev net/ipv4/ipmr_base.c:290 [inline] (P)
  mr_table_dump+0x5a4/0x8b0 net/ipv4/ipmr_base.c:334 (P)
  mr_rtm_dumproute+0x254/0x454 net/ipv4/ipmr_base.c:382
  ipmr_rtm_dumproute+0x248/0x4b4 net/ipv4/ipmr.c:2648
  rtnl_dump_all+0x2e4/0x4e8 net/core/rtnetlink.c:4327
  rtnl_dumpit+0x98/0x1d0 net/core/rtnetlink.c:6791
  netlink_dump+0x4f0/0xbc0 net/netlink/af_netlink.c:2317
  netlink_recvmsg+0x56c/0xe64 net/netlink/af_netlink.c:1973
  sock_recvmsg_nosec net/socket.c:1033 [inline]
  sock_recvmsg net/socket.c:1055 [inline]
  sock_read_iter+0x2d8/0x40c net/socket.c:1125
  new_sync_read fs/read_write.c:484 [inline]
  vfs_read+0x740/0x970 fs/read_write.c:565
  ksys_read+0x15c/0x26c fs/read_write.c:708

(As written by CVE List.)

## Affected

- Linux Linux: from cb167893f41e21e6bd283d78e53489289dc0592d before 71a0fcb68c0a5f3ec912b540cd5d72148e6ee5f1; from cb167893f41e21e6bd283d78e53489289dc0592d before 53df27fd38f84bd3cd6b004eb4ff3c4903114f1d; from cb167893f41e21e6bd283d78e53489289dc0592d before 547ef7e8cbb98f966c8719a3e15d4e078aaa9b47; from cb167893f41e21e6bd283d78e53489289dc0592d before 57177c5f47a8da852f8d76cf6945cf803f8bb9e5; from cb167893f41e21e6bd283d78e53489289dc0592d before b379b3162ff55a70464c6a934ae9bf0497478a62; from cb167893f41e21e6bd283d78e53489289dc0592d before a099834a51ccf9bbba3de86a251b3433539abfde; from cb167893f41e21e6bd283d78e53489289dc0592d before 26bb7d991f04eeef47dfad23e533834995c26f7a; from cb167893f41e21e6bd283d78e53489289dc0592d before 15a901361ec3fb1c393f91880e1cbf24ec0a88bd; 4.20 (not affected: before 4.20; from 5.4.291 up to 5.4.*; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.76 up to 6.6.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 4.20 before 5.4.291; from 5.5 before 5.10.235; from 5.11 before 5.15.179; from 5.16 before 6.1.129; from 6.2 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/71a0fcb68c0a5f3ec912b540cd5d72148e6ee5f1> (patch)
- <https://git.kernel.org/stable/c/53df27fd38f84bd3cd6b004eb4ff3c4903114f1d> (patch)
- <https://git.kernel.org/stable/c/547ef7e8cbb98f966c8719a3e15d4e078aaa9b47> (patch)
- <https://git.kernel.org/stable/c/57177c5f47a8da852f8d76cf6945cf803f8bb9e5> (patch)
- <https://git.kernel.org/stable/c/b379b3162ff55a70464c6a934ae9bf0497478a62> (patch)
- <https://git.kernel.org/stable/c/a099834a51ccf9bbba3de86a251b3433539abfde> (patch)
- <https://git.kernel.org/stable/c/26bb7d991f04eeef47dfad23e533834995c26f7a> (patch)
- <https://git.kernel.org/stable/c/15a901361ec3fb1c393f91880e1cbf24ec0a88bd> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2025-21719](https://www.cve.org/CVERecord?id=CVE-2025-21719), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21719](https://nvd.nist.gov/vuln/detail/CVE-2025-21719), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21719 · Whole record: https://cve.day/CVE-2025-21719.json · Rebuilt by cve.day 2026-11-25T22:58:54.493Z
