What’s Vulnerable › Vulnerabilities
CVE-2022-48882: net/mlx5e: Fix macsec possible null dereference when updating MAC security entity (SecY)
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-21 · updated 2026-06-17
- Weakness: CWE-476
Description
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 products
- Linux kernel: from 6.1 before 6.1.7 — fixed in 6.1.7
How to fix
Upgrade to a fixed version: Linux kernel 6.1.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/514d9c6a39213d8200884e70f60ce7faef1ee597
- https://git.kernel.org/stable/c/9828994ac492e8e7de47fe66097b7e665328f348
Get alerted when CVE-2022-48882 or the next vulnerability affects your stack