linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Audit fixes for v5.6 (#1)
@ 2020-02-27  1:50 Paul Moore
  2020-02-27  1:50 ` Paul Moore
  2020-02-27 19:40 ` pr-tracker-bot
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Moore @ 2020-02-27  1:50 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-audit, linux-kernel

Hi Linus,

Two audit patches to fix problems found by syzbot, please merge for
the next v5.6-rcX release.

* Moving audit filter structure fields into a union caused some
problems in the code which populates that filter structure.  We keep
the union (that idea is a good one), but we are fixing the code so
that it doesn't needlessly set fields in the union and mess up the
error handling.

* The audit_receive_msg() function wasn't validating user input as
well as it should in all cases, we add the necessary checks.

Thanks,
-Paul

--
The following changes since commit cb5172d96d16df72db8b55146b0ec00bfd97f079:

 audit: Add __rcu annotation to RCU pointer (2019-12-09 15:19:03 -0500)

are available in the Git repository at:

 git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
   tags/audit-pr-20200226

for you to fetch changes up to 756125289285f6e55a03861bf4b6257aa3d19a93:

 audit: always check the netlink payload length in audit_receive_msg()
   (2020-02-24 16:38:57 -0500)

----------------------------------------------------------------
audit/stable-5.6 PR 20200226

----------------------------------------------------------------
Paul Moore (2):
     audit: fix error handling in audit_data_to_entry()
     audit: always check the netlink payload length in audit_receive_msg()

kernel/audit.c       | 40 +++++++++++++++--------------
kernel/auditfilter.c | 71 +++++++++++++++++++++++++++---------------------
2 files changed, 60 insertions(+), 51 deletions(-)

-- 
paul moore
www.paul-moore.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [GIT PULL] Audit fixes for v5.6 (#1)
  2020-02-27  1:50 [GIT PULL] Audit fixes for v5.6 (#1) Paul Moore
@ 2020-02-27  1:50 ` Paul Moore
  2020-02-27 19:40 ` pr-tracker-bot
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Moore @ 2020-02-27  1:50 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-audit, linux-kernel

Hi Linus,

Two audit patches to fix problems found by syzbot, please merge for
the next v5.6-rcX release.

* Moving audit filter structure fields into a union caused some
problems in the code which populates that filter structure.  We keep
the union (that idea is a good one), but we are fixing the code so
that it doesn't needlessly set fields in the union and mess up the
error handling.

* The audit_receive_msg() function wasn't validating user input as
well as it should in all cases, we add the necessary checks.

Thanks,
-Paul

--
The following changes since commit cb5172d96d16df72db8b55146b0ec00bfd97f079:

 audit: Add __rcu annotation to RCU pointer (2019-12-09 15:19:03 -0500)

are available in the Git repository at:

 git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
   tags/audit-pr-20200226

for you to fetch changes up to 756125289285f6e55a03861bf4b6257aa3d19a93:

 audit: always check the netlink payload length in audit_receive_msg()
   (2020-02-24 16:38:57 -0500)

----------------------------------------------------------------
audit/stable-5.6 PR 20200226

----------------------------------------------------------------
Paul Moore (2):
     audit: fix error handling in audit_data_to_entry()
     audit: always check the netlink payload length in audit_receive_msg()

kernel/audit.c       | 40 +++++++++++++++--------------
kernel/auditfilter.c | 71 +++++++++++++++++++++++++++---------------------
2 files changed, 60 insertions(+), 51 deletions(-)

-- 
paul moore
www.paul-moore.com


--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Audit fixes for v5.6 (#1)
  2020-02-27  1:50 [GIT PULL] Audit fixes for v5.6 (#1) Paul Moore
  2020-02-27  1:50 ` Paul Moore
@ 2020-02-27 19:40 ` pr-tracker-bot
  2020-02-27 19:40   ` pr-tracker-bot
  1 sibling, 1 reply; 4+ messages in thread
From: pr-tracker-bot @ 2020-02-27 19:40 UTC (permalink / raw)
  To: Paul Moore; +Cc: Linus Torvalds, linux-audit, linux-kernel

The pull request you sent on Wed, 26 Feb 2020 20:50:44 -0500:

> git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git tags/audit-pr-20200226

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ed5fa5591866f95be1fe75cd267cf9df2c0390f5

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Audit fixes for v5.6 (#1)
  2020-02-27 19:40 ` pr-tracker-bot
@ 2020-02-27 19:40   ` pr-tracker-bot
  0 siblings, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2020-02-27 19:40 UTC (permalink / raw)
  To: Paul Moore; +Cc: linux-audit, Linus Torvalds, linux-kernel

The pull request you sent on Wed, 26 Feb 2020 20:50:44 -0500:

> git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git tags/audit-pr-20200226

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ed5fa5591866f95be1fe75cd267cf9df2c0390f5

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-02-27 20:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27  1:50 [GIT PULL] Audit fixes for v5.6 (#1) Paul Moore
2020-02-27  1:50 ` Paul Moore
2020-02-27 19:40 ` pr-tracker-bot
2020-02-27 19:40   ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).