CVE-2025-71086 net: rose: fix invalid array index in rose_kill_by_device()

High 7.8 Published Updated

An invalid array index in the Linux kernel's ROSE network module can cause a null pointer dereference and reference leak, leading to a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-71086?

CVE-2025-71086 is a high-severity vulnerability in Linux kernel, published on 13 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-129

Which versions are affected by CVE-2025-71086?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-71086?

Apply the vendor's patch.

Is CVE-2025-71086 being exploited?

There is no known exploitation of CVE-2025-71086 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-71086, DEBIAN-CVE-2025-71086, GHSA-mqvv-vjpm-cprh, ROOT-OS-DEBIAN-11-CVE-2025-71086, ROOT-OS-DEBIAN-12-CVE-2025-71086, ROOT-OS-DEBIAN-13-CVE-2025-71086 and 3 more.

Is CVE-2025-71086 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free