Skip to contentSkip to conversation

Patch "security: fix typo in security_task_prctl" has been added to the 4.2-stable tree

PATCH [email protected] 2 participants 3 messages Oct 17, 2015 – Oct 18, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

security: fix typo in security_task_prctl

to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
security-fix-typo-in-security_task_prctl.patch
and it can be found in the queue-4.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From b7f76ea2ef6739ee484a165ffbac98deb855d3d3 Mon Sep 17 00:00:00 2001

From: Jann Horn <[email protected]>
Date: Fri, 18 Sep 2015 23:41:23 +0200
Subject: security: fix typo in security_task_prctl

From: Jann Horn <[email protected]>

commit b7f76ea2ef6739ee484a165ffbac98deb855d3d3 upstream.

---
 include/linux/security.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/security.h +1 -1
@@ -946,7 +946,7 @@ static inline int security_task_prctl(in
 				      unsigned long arg4,
 				      unsigned long arg5)
 {
-	return cap_task_prctl(option, arg2, arg3, arg3, arg5);
+	return cap_task_prctl(option, arg2, arg3, arg4, arg5);
 }
 
 static inline void security_task_to_inode(struct task_struct *p, struct inode *inode)

Patches currently in stable-queue which might be from [email protected] are

queue-4.2/security-fix-typo-in-security_task_prctl.patch

#1 lore raw
Quoted 8 lines · On Oct 17, 2015 3:04 PM, <[email protected]> wrote:

This is a note to let you know that I've just added the patch titled

security: fix typo in security_task_prctl

to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

It should be safe, but I don't think the bug is observable in any released kernel. Jann noticed it because it interferes with ambient capabilities, but those are new in 4.3.

--Andy

author maintainer
#2 lore raw
Quoted 5 lines · Andy Lutomirski
Quoted 4 lines · On Oct 17, 2015 3:04 PM, <[email protected]> wrote:

This is a note to let you know that I've just added the patch titled

Quoted 8 lines
Quoted 4 lines

security: fix typo in security_task_prctl

to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

It should be safe, but I don't think the bug is observable in any released kernel. Jann noticed it because it interferes with ambient capabilities, but those are new in 4.3.

Yeah, I figured it was just a good thing to get fixed no matter what :)

thanks for the review,

greg k-h