android_kernel_motorola_sm6375/security/smack
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tetsuo Handa 681a426e6b smackfs: use __GFP_NOFAIL for smk_cipso_doi()
[ Upstream commit f91488ee15bd3cac467e2d6a361fc2d34d1052ae ]

syzbot is reporting kernel panic at smk_cipso_doi() due to memory
allocation fault injection [1]. The reason for need to use panic() was
not explained. But since no fix was proposed for 18 months, for now
let's use __GFP_NOFAIL for utilizing syzbot resource on other bugs.

Link: https://syzkaller.appspot.com/bug?extid=89731ccb6fec15ce1c22 [1]
Reported-by: syzbot <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
Signed-off-by: Casey Schaufler <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-11-17 09:48:32 +01:00
..
Kconfig
Makefile
smack.h smack: avoid unused 'sip' variable warning 2020-06-17 16:40:22 +02:00
smack_access.c Smack: Fix wrong semantics in smk_access_entry() 2021-09-22 12:26:27 +02:00
smack_lsm.c smack: avoid unused 'sip' variable warning 2020-06-17 16:40:22 +02:00
smack_netfilter.c
smackfs.c smackfs: use __GFP_NOFAIL for smk_cipso_doi() 2021-11-17 09:48:32 +01:00