summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2020-04-20 23:24:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-29 17:31:31 +0300
commit64c0c4832465cbef373b9f876511e1a4590c544d (patch)
treedc87002a0ffacbb547a12051d5d8882bb02b289b /sound
parentddbfab6a4a85435eb10e08886038d0a814ba16a6 (diff)
downloadlinux-64c0c4832465cbef373b9f876511e1a4590c544d.tar.xz
audit: check the length of userspace generated audit records
commit 763dafc520add02a1f4639b500c509acc0ea8e5b upstream. Commit 756125289285 ("audit: always check the netlink payload length in audit_receive_msg()") fixed a number of missing message length checks, but forgot to check the length of userspace generated audit records. The good news is that you need CAP_AUDIT_WRITE to submit userspace audit records, which is generally only given to trusted processes, so the impact should be limited. Cc: stable@vger.kernel.org Fixes: 756125289285 ("audit: always check the netlink payload length in audit_receive_msg()") Reported-by: syzbot+49e69b4d71a420ceda3e@syzkaller.appspotmail.com Signed-off-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions