Skip to content
Commit 75612528 authored by Paul Moore's avatar Paul Moore
Browse files

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: default avatar <syzbot+399c44bf1f43b8747403@syzkaller.appspotmail.com>
Reported-by: default avatar <syzbot+e4b12d8d202701f08b6d@syzkaller.appspotmail.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 2ad3e17e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment