Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'integrity-v5.12-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity

Pull integrity fix from Mimi Zohar:
"Just one patch to address a NULL ptr dereferencing when there is a
mismatch between the user enabled LSMs and IMA/EVM"

* tag 'integrity-v5.12-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
integrity: double check iint_cache was initialized

+8
+8
security/integrity/iint.c
··· 98 98 struct rb_node *node, *parent = NULL; 99 99 struct integrity_iint_cache *iint, *test_iint; 100 100 101 + /* 102 + * The integrity's "iint_cache" is initialized at security_init(), 103 + * unless it is not included in the ordered list of LSMs enabled 104 + * on the boot command line. 105 + */ 106 + if (!iint_cache) 107 + panic("%s: lsm=integrity required.\n", __func__); 108 + 101 109 iint = integrity_iint_find(inode); 102 110 if (iint) 103 111 return iint;