What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-54279 or the next vulnerability affects your stack