diff options
author | 2019-01-16 15:41:11 -0800 | |
---|---|---|
committer | 2019-01-16 15:41:11 -0800 | |
commit | a5795fd38ee8194451ba3f281f075301a3696ce2 (patch) | |
tree | e1081bd211b1ea0857073db96b05d65e896012ac /net/unix/af_unix.c | |
parent | Yama: Check for pid death before checking ancestry (diff) | |
download | wireguard-linux-a5795fd38ee8194451ba3f281f075301a3696ce2.tar.xz wireguard-linux-a5795fd38ee8194451ba3f281f075301a3696ce2.zip |
LSM: Check for NULL cred-security on free
From: Casey Schaufler <casey@schaufler-ca.com>
Check that the cred security blob has been set before trying
to clean it up. There is a case during credential initialization
that could result in this.
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
Reported-by: syzbot+69ca07954461f189e808@syzkaller.appspotmail.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions