CVE-2022-48882

published 21 Aug 2024 · updated 11 May 2026

net/mlx5e: Fix macsec possible null dereference when updating MAC security entity (SecY)

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 514d9c6a39213d8200884e70f60ce7faef1ee597 and Kernel 9828994ac492e8e7de47fe66097b7e665328f348.

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix macsec possible null dereference when updating MAC security entity (SecY) Upon updating MAC security entity (SecY) in hw offload path, the macsec security association (SA) initialization routine is called. In case of extended packet number (epn) is enabled the salt and ssci attributes are retrieved using the MACsec driver rx_sa context which is unavailable when updating a SecY property such as encoding-sa hence the null dereference. Fix by using the provided SA to set those attributes.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.1, >=4411a6c0abd3e55b4a4fb9432b3a0553f12337c2 <514d9c6a39213d8200884e70f60ce7faef1ee597, >=4411a6c0abd3e55b4a4fb9432b3a0553f12337c2 <9828994ac492e8e7de47fe66097b7e665328f348514d9c6a39213d8200884e70f60ce7faef1ee597, 9828994ac492e8e7de47fe66097b7e665328f348

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48882 severity on Zeptric[![CVE-2022-48882](https://zeptric.io/badge/cve/CVE-2022-48882.svg)](https://zeptric.io/cve/CVE-2022-48882)