Paul Moore 25344530b5 audit: always check the netlink payload length in audit_receive_msg()
[ Upstream commit 756125289285f6e55a03861bf4b6257aa3d19a93 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-03-11 07:51:15 +01:00
..
2019-08-04 09:34:46 +02:00
2018-01-23 19:50:10 +01:00
2015-11-04 08:23:51 -05:00
2019-11-28 18:26:01 +01:00
2019-06-22 08:18:22 +02:00
2015-11-23 09:44:58 +01:00
2020-02-28 15:38:49 +01:00
2015-11-05 19:34:48 -08:00
2020-01-12 11:22:40 +01:00
2018-05-16 10:06:47 +02:00