In the Linux kernel, the following vulnerability has been resolved: ext4: xattr: fix null pointer deref in ext4_raw_inode() If ext4_get_inode_loc() fails (e.g. if it returns -EFSCORRUPTED), iloc.bh will remain set to NULL. Since ext4_xattr_inode_dec_ref_all() lacks error checking, this will lead to a null pointer dereference in ext4_raw_inode(), called right after ext4_get_inode_loc(). Found by Linux Verification Center (linuxtesting.org) with SVACE.
https://git.kernel.org/stable/c/ce5f54c065a4a7cbb92787f4f140917112350142
https://git.kernel.org/stable/c/b97cb7d6a051aa6ebd57906df0e26e9e36c26d14
https://git.kernel.org/stable/c/b5d942922182e82724b7152cb998f540132885ec
https://git.kernel.org/stable/c/5b154e901fda2e98570b8f426a481f5740097dc2
https://git.kernel.org/stable/c/190ad0f22ba49f1101182b80e3af50ca2ddfe72f