All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix AppArmor issues found through static analysis
@ 2018-07-06  5:24 ` Tyler Hicks
  0 siblings, 0 replies; 14+ messages in thread
From: Tyler Hicks @ 2018-07-06  5:24 UTC (permalink / raw)
  To: John Johansen
  Cc: James Morris, Serge Hallyn, Seth Arnold, linux-security-module,
	linux-kernel

This set fixes three issues, discovered by CoverityScan, that I don't
believe are serious in practice but are worth fixing to make the
AppArmor code more robust and prevent them from becoming more serious
issues in the future. The first patch fixes possible out of bounds
access issues when mapping a permissions mask to a string. The second
fixes an uninitialized struct that could have some of its contents
leaked to userspace during a permissions query.

I've tested the patches with the AppArmor regression test suite. The
test results are the same with and without these patches applied. There
are identical failures, in both situations, from the aa_policy_cache
test but that's likely due to some unrelated, recent changes in the
AppArmor userspace code.

Tyler


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

end of thread, other threads:[~2018-07-19 23:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-06  5:24 [PATCH 0/2] Fix AppArmor issues found through static analysis Tyler Hicks
2018-07-06  5:24 ` Tyler Hicks
2018-07-06  5:25 ` [PATCH 1/2] apparmor: Check buffer bounds when mapping permissions mask Tyler Hicks
2018-07-06  5:25   ` Tyler Hicks
2018-07-10 15:00   ` Serge E. Hallyn
2018-07-10 15:00     ` Serge E. Hallyn
2018-07-19 23:28   ` John Johansen
2018-07-19 23:28     ` John Johansen
2018-07-06  5:25 ` [PATCH 2/2] apparmor: Fully initialize aa_perms struct when answering userspace query Tyler Hicks
2018-07-06  5:25   ` Tyler Hicks
2018-07-10 15:03   ` Serge E. Hallyn
2018-07-10 15:03     ` Serge E. Hallyn
2018-07-19 23:28   ` John Johansen
2018-07-19 23:28     ` John Johansen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.