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.
https://git.kernel.org/stable/c/f334b31625683418aaa2a335470eec950a95a254
https://git.kernel.org/stable/c/ee1809ed7bc456a72dc8410b475b73021a3a68d5
https://git.kernel.org/stable/c/aeed787bbbbe1b842beec9a065a36c915226f704
https://git.kernel.org/stable/c/ad79828f133e98585ab2236cad04a55eb7141bbe
https://git.kernel.org/stable/c/a6b54af407873227caef6262e992f5422cdcb6ae
https://git.kernel.org/stable/c/830181ddced5a05a711dc9da8043203b1f33a77e
https://git.kernel.org/stable/c/47e61cadc7a5f3dffd42d2d6fda81be163f1ab82
https://git.kernel.org/stable/c/3ef93b7bd9e042db240843f24a80e14da38c6830
https://git.kernel.org/stable/c/0f91290774c798199ba4b8df93de5c3156b5163d