CVE-2022-48882

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

State
Published
Severity
Not scored
Published
Aug 21, 2024
Updated
May 11, 2026
Reserved
Jul 16, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4411a6c0abd3e55b4a4fb9432b3a0553f12337c2 to before 514d9c6a39213d8200884e70f60ce7faef1ee597Affected
  • 4411a6c0abd3e55b4a4fb9432b3a0553f12337c2 to before 9828994ac492e8e7de47fe66097b7e665328f348Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.7 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.