Vulnerability in Linux

CVE-2025-71086

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

net: rose: fix invalid array index in rose_kill_by_device()

rose_kill_by_device() collects sockets into a local array[] and then
iterates over them to disconnect sockets bound to a device being brought
down.

The loop mistakenly indexes array[cnt] instead of array[i]. For cnt <
ARRAY_SIZE(array), this reads an uninitialized entry; for cnt ==
ARRAY_SIZE(array), it is an out-of-bounds read. Either case can lead to
an invalid socket pointer dereference and also leaks references taken
via sock_hold().

Fix the index to use i.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.001, 4.0th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions b10265532df7bc3666bc53261b7f03f0fd14b1c9, 12e5a4719c99d7f4104e7e962393dfb8baa1c591, 6.1.70
  • Linux Kernel — versions 6.7, 6.19

Weakness classification (CWE)

References