Linux kernel ocelot driver NULL pointer dereference in LAG
CVE-2026-22982Medium
The ocelot_set_aggr_pgids() function in the Linux kernel's ocelot network driver does not check whether a port pointer is valid before accessing it. An attacker with local access could trigger a NULL pointer dereference by adding a network interface under a link aggregation group, causing a kernel crash. This affects the ocelot_vsc7514.c frontend where unused ports remain as NULL pointers.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 5.12, before 5.15.198
- linux linux kernel: from 5.16, before 6.1.161
- linux linux kernel: from 6.2, before 6.6.121
- linux linux kernel: from 6.7, before 6.12.66
- linux linux kernel: from 6.13, before 6.18.6
- linux linux kernel: 6.19
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)