# CVE-2022-48882: net/mlx5e: Fix macsec possible null dereference when updating MAC security entity (SecY)

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-08-21T06:10:13.640Z
- Modified: 2026-06-17T05:16:31.370Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4411a6c0abd3e55b4a4fb9432b3a0553f12337c2 before 514d9c6a39213d8200884e70f60ce7faef1ee597; from 4411a6c0abd3e55b4a4fb9432b3a0553f12337c2 before 9828994ac492e8e7de47fe66097b7e665328f348; 6.1 (not affected: before 6.1; from 6.1.7 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 6.1 before 6.1.7

## References

- <https://git.kernel.org/stable/c/514d9c6a39213d8200884e70f60ce7faef1ee597> (patch)
- <https://git.kernel.org/stable/c/9828994ac492e8e7de47fe66097b7e665328f348> (patch)

## Sources

- CVE List: [CVE-2022-48882](https://www.cve.org/CVERecord?id=CVE-2022-48882), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48882](https://nvd.nist.gov/vuln/detail/CVE-2022-48882), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48882 · Whole record: https://cve.day/CVE-2022-48882.json · Rebuilt by cve.day 2026-11-25T22:58:19.942Z
