Files
twx-linux/kernel
Paul Moore 64c0c48324 audit: check the length of userspace generated audit records
commit 763dafc520 upstream.

Commit 7561252892 ("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: 7561252892 ("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>
2020-04-29 16:31:31 +02:00
..
…
2019-12-13 08:51:11 +01:00
…
2019-12-01 09:17:17 +01:00
…
…
…
…
…
…
…
2020-03-25 08:06:14 +01:00
…
…
…
…
…
…
2020-03-25 08:06:13 +01:00
…
…
…
…
…
…
…
2020-04-17 10:48:47 +02:00
…
…
…
…
2020-01-09 10:18:59 +01:00
…
…
…
…
…
…
…
…
…