CVE-2023-54279 MIPS: fw: Allow firmware to pass a empty env

Not scored Published Updated

A null pointer dereference in the MIPS firmware environment handling allows local attackers to cause a denial of service.

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

What is CVE-2023-54279?

CVE-2023-54279 is a vulnerability in Linux, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

MIPS: fw: Allow firmware to pass a empty env

fw_getenv will use env entry to determine style of env, however it is legal for firmware to just pass a empty list.

Check if first entry exist before running strchr to avoid null pointer dereference.

Which versions are affected by CVE-2023-54279?

How do I fix CVE-2023-54279?

Apply the vendor's patch.

Is CVE-2023-54279 being exploited?

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

Sources

Also known as BELL-CVE-2023-54279, DEBIAN-CVE-2023-54279, GHSA-fp2g-4w3c-p2mv, UBUNTU-CVE-2023-54279.

Is CVE-2023-54279 in your software?

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

Check your SBOMs for free