CVE-2024-26723

lan966x: Fix crash when adding interface under a lag

High · published April 3, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
14.4
In the wild
Unconfirmed
What it is

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

lan966x: Fix crash when adding interface under a lag

There is a crash when adding one of the lan966x interfaces under a lag

interface. The issue can be reproduced like this:

ip link add name bond0 type bond miimon 100 mode balance-xor

ip link set dev eth0 master bond0

The reason is because when adding a interface under the lag it would go

through all the ports and try to figure out which other ports are under

that lag interface. And the issue is that lan966x can have ports that are

NULL pointer as they are not probed. So then iterating over these ports

it would just crash as they are NULL pointers.

The fix consists in actually checking for NULL pointers before accessing

something from the ports. Like we do in other places.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00241 · 14.4th percentile
Published
2024-04-03T14:55Z
EPSS history
Timeline
  • 03 APR 14:55Z
    lan966x: Fix crash when adding interface under a lag
    cvelistv5