stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org, James Bottomley <jejb@linux.vnet.ibm.com>
Subject: Re: [PATCH] Revert "ima: limit file hash setting by user to fix and log modes"
Date: Fri, 1 Jun 2018 19:09:14 +0200	[thread overview]
Message-ID: <20180601170914.GC13517@kroah.com> (raw)
In-Reply-To: <20180531174231.GA9708@rapoport-lnx>

On Thu, May 31, 2018 at 08:42:31PM +0300, Mike Rapoport wrote:
> Hi,
> 
> On a system that has IMA appraisal enabled it is impossible to create
> security.ima extended attribute files that contain IMA hash.
> 
> For instance, consider the following use case:
> 
> 1) extract application files to a staging area as non root user
> 2) verify that installation is correct
> 3) create IMA extended attributes for the installed files
> 4) move the files to their destination
> 5) change the files ownership to root
> 
> With the longterm kernels 4.4.x and 4.9.x step 3 will fail.
> 
> The issues is fixed in upstream kernels by the commit
> f5acb3dcba1ffb7f0b8cbb9dba61500eea5d610b ("Revert "ima: limit file hash
> setting by user to fix and log modes"), with the patch also quoted below.

Now queued up, thanks.

greg k-h

      reply	other threads:[~2018-06-01 17:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-31 17:42 [PATCH] Revert "ima: limit file hash setting by user to fix and log modes" Mike Rapoport
2018-06-01 17:09 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180601170914.GC13517@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=rppt@linux.vnet.ibm.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).