CVE-2025-21719CWE-125

CVE-2025-21719

High · published February 27, 2025

CVSS v3.1
7.1
EPSS
0%
Percentile
10.1
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00206 · 10.1th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2025-02-27T07:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 4.20, < 5.4.2915.4.291
linux/linux_kernel≥ 5.5, < 5.10.2355.10.235
linux/linux_kernel≥ 5.11, < 5.15.1795.15.179
linux/linux_kernel≥ 5.16, < 6.1.1296.1.129
linux/linux_kernel≥ 6.2, < 6.6.766.6.76
linux/linux_kernel≥ 6.7, < 6.12.136.12.13
linux/linux_kernel≥ 6.13, < 6.13.26.13.2
References (12)
EPSS history
Timeline
  • 27 FEB 02:07Z
    ipmr: do not call mr_mfc_uses_dev() for unres entries
    cvelistv5