Skip to content

Fix for IPsec leakage with SELinux enabled - V.03

Venkat Yekkirala netdev selinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Fix for IPsec leakage with SELinux enabled - V.03: Fix xfrm codeinclude/linux/security.h include/net/xfrm.h net/ipv4/xfrm4_policy.c +7 more+62 -490 replies
1/3Fix for IPsec leakage with SELinux enabled - V.03include/net/flow.h net/core/flow.c net/xfrm/xfrm_policy.c+82 -302 replies
3/3Fix for IPsec leakage with SELinux enabled - V.03: Process security errors for scket policies alsonet/xfrm/xfrm_policy.c+18 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fix for IPsec leakage with SELinux enabled - V.03

This version takes into account David Miller's comments regarding treatment of security layer errors in the case of socket policies. Specifically, these errors will be treated like how these kind of errors are treated for the main/sub policies, which is to return a full lookup failure.

 include/linux/security.h        |   24 ++-----
 include/net/flow.h              |    2 
 include/net/xfrm.h              |    3 
 net/core/flow.c                 |   42 ++++++++----
 net/ipv4/xfrm4_policy.c         |    2 
 net/ipv6/xfrm6_policy.c         |    2 
 net/key/af_key.c                |    5 -
 net/xfrm/xfrm_policy.c          |  101 ++++++++++++++++++++++--------
 net/xfrm/xfrm_user.c            |    9 --
 security/dummy.c                |    3 
 security/selinux/include/xfrm.h |    3 
 security/selinux/xfrm.c         |   53 ++++++++++++---
 12 files changed, 162 insertions(+), 87 deletions(-)

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.