android_kernel_samsung_a7y1.../security
Eric Biggers 1cacc84790 smack: use GFP_NOFS while holding inode_smack::smk_lock
commit e5bfad3d7acc5702f32aafeb388362994f4d7bd0 upstream.

inode_smack::smk_lock is taken during smack_d_instantiate(), which is
called during a filesystem transaction when creating a file on ext4.
Therefore to avoid a deadlock, all code that takes this lock must use
GFP_NOFS, to prevent memory reclaim from waiting for the filesystem
transaction to complete.

Reported-by: syzbot+0eefc1e06a77d327a056@syzkaller.appspotmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 08:07:26 +02:00
..
apparmor apparmor: enforce nullbyte at end of tag string 2020-04-06 19:16:20 +02:00
defex_lsm Revert "security: defex: set Defex to Permissive status" 2020-04-06 19:40:02 +05:30
dsms A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
integrity A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keys keys: Fix missing null pointer check in request_key_auth_describe() 2020-04-06 21:37:05 +02:00
mstdrv A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
proca A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
samsung A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sdp A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
selinux selinux: fix memory leak in policydb_init() 2020-04-06 20:27:38 +02:00
smack smack: use GFP_NOFS while holding inode_smack::smk_lock 2020-04-07 08:07:26 +02:00
tima_uevent A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tomoyo A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tz_iccc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
yama A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
commoncap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
device_cgroup.c device_cgroup: fix RCU imbalance in error case 2020-04-06 15:57:12 +02:00
inode.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lsm_audit.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
min_addr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
security.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30