CVE-2026-22982

NameCVE-2026-22982
DescriptionIn the Linux kernel, the following vulnerability has been resolved: net: mscc: ocelot: Fix crash when adding interface under a lag Commit 15faa1f67ab4 ("lan966x: Fix crash when adding interface under a lag") fixed a similar issue in the lan966x driver caused by a NULL pointer dereference. The ocelot_set_aggr_pgids() function in the ocelot driver has similar logic and is susceptible to the same crash. This issue specifically affects the ocelot_vsc7514.c frontend, which leaves unused ports as NULL pointers. The felix_vsc9959.c frontend is unaffected as it uses the DSA framework which registers all ports. Fix this by checking if the port pointer is valid before accessing it.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4476-1, DSA-6126-1, DSA-6127-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1fixed
bullseye (security)5.10.249-1fixed
bookworm6.1.159-1vulnerable
bookworm (security)6.1.162-1fixed
trixie6.12.63-1vulnerable
trixie (security)6.12.69-1fixed
forky, sid6.18.9-1fixed
linux-6.1 (PTS)bullseye (security)6.1.162-1~deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebullseye(not affected)
linuxsourcebookworm6.1.162-1DSA-6127-1
linuxsourcetrixie6.12.69-1DSA-6126-1
linuxsource(unstable)6.18.8-1
linux-6.1sourcebullseye6.1.162-1~deb11u1DLA-4476-1

Notes

[bullseye] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/34f3ff52cb9fa7dbf04f5c734fcc4cb6ed5d1a95 (6.19-rc5)

Search for package or bug name: Reporting problems