Bug 2429094 (CVE-2025-71086) - CVE-2025-71086 kernel: net: rose: fix invalid array index in rose_kill_by_device()
Summary: CVE-2025-71086 kernel: net: rose: fix invalid array index in rose_kill_by_dev...
Keywords:
Status: NEW
Alias: CVE-2025-71086
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-13 16:06 UTC by OSIDB Bzimport
Modified: 2026-01-14 09:05 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-13 16:06:17 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-01-14 09:00:39 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026011340-CVE-2025-71086-18be@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.