CVE-2022-3541 Linux Kernel BPF spl2sw_driver.c spl2sw_nvmem_get_mac_address use after free

Medium 5.5 Published Updated

A use-after-free vulnerability in the Linux Kernel's Sunplus network driver allows attackers to potentially execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3541?

CVE-2022-3541 is a medium-severity use after free vulnerability in Linux kernel, published on 17 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2022-3541?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-3541?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-3541 being exploited?

There is no known exploitation of CVE-2022-3541 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-11132, DEBIAN-CVE-2022-3541, GHSA-mhhv-2rpc-5pwq, UBUNTU-CVE-2022-3541.

Is CVE-2022-3541 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free