In the Linux kernel, the following vulnerability has been resolved:
bcache: Fix _bchbtreenodealloc to make the failure behavior consistent
In some specific situations, the return value of bchbtreenodealloc may be NULL. This may lead to a potential NULL pointer dereference in caller function like a calling chain : btreesplit->bchbtreenodealloc->bchbtreenodealloc.
Fix it by initializing the return value in _bchbtreenodealloc.