commit | 756125289285f6e55a03861bf4b6257aa3d19a93 | [log] [tgz] |
---|---|---|
author | Paul Moore <paul@paul-moore.com> | Mon Feb 24 16:38:57 2020 -0500 |
committer | Paul Moore <paul@paul-moore.com> | Mon Feb 24 16:38:57 2020 -0500 |
tree | 9ac13d57ce90c154e423a4c1408ea50fcc47b3f1 | |
parent | 2ad3e17ebf94b7b7f3f64c050ff168f9915345eb [diff] |
audit: always check the netlink payload length in audit_receive_msg() This patch ensures that we always check the netlink payload length in audit_receive_msg() before we take any action on the payload itself. Cc: stable@vger.kernel.org Reported-by: syzbot+399c44bf1f43b8747403@syzkaller.appspotmail.com Reported-by: syzbot+e4b12d8d202701f08b6d@syzkaller.appspotmail.com Signed-off-by: Paul Moore <paul@paul-moore.com>