# CVE-2022-3541: Linux Kernel BPF spl2sw\_driver.c spl2sw\_nvmem\_get\_mac\_address use after free

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-10-17 · Modified: 2025-04-15
- Aliases: UBUNTU-CVE-2022-3541, DEBIAN-CVE-2022-3541
- Record: https://cvemate.com/vulnerability/CVE-2022-3541 · JSON: https://cvemate.com/vulnerability/CVE-2022-3541/json

## Description

```text
A vulnerability classified as critical has been found in Linux Kernel. This affects the function spl2sw_nvmem_get_mac_address of the file drivers/net/ethernet/sunplus/spl2sw_driver.c of the component BPF. The manipulation leads to use after free. It is recommended to apply a patch to fix this issue. The identifier VDB-211041 was assigned to this vulnerability.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.363%, percentile 32.203%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 50)

- debian linux (Debian): \< 6.0.3-1
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-edge (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-fde-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-gcp (Ubuntu): All versions (No fix recorded)
- ubuntu linux-gcp-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-gcp-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-gcp-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-gcp-5.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=12aece8b01507a2d357a1861f470e83621fbb6f2>
- <https://vuldb.com/?id.211041>
- <https://security.netapp.com/advisory/ntap-20221228-0001/>
- <https://ubuntu.com/security/CVE-2022-3541>
- <https://git.kernel.org/linus/12aece8b01507a2d357a1861f470e83621fbb6f2>
- <https://ubuntu.com/security/notices/USN-5793-1>
- <https://ubuntu.com/security/notices/USN-5793-2>
- <https://ubuntu.com/security/notices/USN-5793-3>
- <https://ubuntu.com/security/notices/USN-5793-4>
- <https://www.cve.org/CVERecord?id=CVE-2022-3541>
- <https://security-tracker.debian.org/tracker/CVE-2022-3541>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-3541>

---

Data as of 2026-12-05T03:31:36.902Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
