Linux 2.6.27.44
Subsystems (6)
I'm announcing the release of the 2.6.27.44 kernel. All users of the 2.6.27 kernel series are very strongly encouraged to upgrade.
The updated 2.6.27.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=summarythanks,
greg k-h
------------
Makefile | 2 - arch/powerpc/kernel/align.c | 63 +++++++++++++++++++++++++++++----------- arch/powerpc/kernel/fpu.S | 5 +++ arch/powerpc/kernel/misc_64.S | 8 +++++ kernel/audit_tree.c | 13 +++++--- kernel/signal.c | 3 + net/bridge/netfilter/ebtables.c | 6 +++ 7 files changed, 76 insertions(+), 24 deletions(-)
Al Viro (2):
fix braindamage in audit_tree.c untag_chunk() fix more leaks in audit_tree.c tag_chunk()
Andi Kleen (1):
kernel/signal.c: fix kernel information leak with print-fatal-signals=1
Florian Westphal (1):
netfilter: ebtables: enforce CAP_NET_ADMIN
Greg Kroah-Hartman (1):
Linux 2.6.27.44
Michael Neuling (1):
powerpc: Disable VSX or current process in giveup_fpu/altivec
Neil Campbell (1):
powerpc: Handle VSX alignment faults correctly in little-endian mode
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 27 -EXTRAVERSION = .43 +EXTRAVERSION = .44 NAME = Trembling Tortoise # *DOCUMENTATION*
arch/powerpc/kernel/align.c +46 -17
98 lines not on this page · raw message
arch/powerpc/kernel/fpu.S +5 -0
@@ -145,6 +145,11 @@ END_FTR_SECTION_IFSET(CPU_FTR_VSX) beq 1f PPC_LL r4,_MSR-STACK_FRAME_OVERHEAD(r5) li r3,MSR_FP|MSR_FE0|MSR_FE1 +#ifdef CONFIG_VSX +BEGIN_FTR_SECTION + oris r3,r3,MSR_VSX@h +END_FTR_SECTION_IFSET(CPU_FTR_VSX) +#endif andc r4,r4,r3 /* disable FP for previous task */ PPC_STL r4,_MSR-STACK_FRAME_OVERHEAD(r5) 1:
arch/powerpc/kernel/misc_64.S +8 -0
@@ -493,7 +493,15 @@ _GLOBAL(giveup_altivec) stvx vr0,r4,r3 beq 1f ld r4,_MSR-STACK_FRAME_OVERHEAD(r5) +#ifdef CONFIG_VSX +BEGIN_FTR_SECTION + lis r3,(MSR_VEC|MSR_VSX)@h +FTR_SECTION_ELSE + lis r3,MSR_VEC@h +ALT_FTR_SECTION_END_IFSET(CPU_FTR_VSX) +#else lis r3,MSR_VEC@h +#endif andc r4,r4,r3 /* disable FP for previous task */ std r4,_MSR-STACK_FRAME_OVERHEAD(r5) 1:
kernel/audit_tree.c +8 -5
@@ -276,7 +276,7 @@ static void untag_chunk(struct node *p) owner->root =NULL ; } -for (i = j =0 ; i < size; i++, j++) { +for (i = j =0 ; j <= size; i++, j++) {struct audit_tree *s;if (&chunk->owners[j] == p) {list_del_init (&p->list);
@@ -289,7 +289,7 @@ static void untag_chunk(struct node *p)if (!s)/* result of earlier fallback */ continue ;get_tree (s); -list_replace_init (&chunk->owners[i].list, &new->owners[j].list); +list_replace_init (&chunk->owners[j].list, &new->owners[i].list); }list_replace_rcu (&chunk->hash, &new->hash);
@@ -372,15 +372,17 @@ static int tag_chunk(struct inode *inode, struct audit_tree *tree)for (n =0 ; n < old->count; n++) {if (old->owners[n].owner == tree) {spin_unlock (&hash_lock); -put_inotify_watch (watch); +put_inotify_watch (&old->watch);return 0 ; } }spin_unlock (&hash_lock); chunk =alloc_chunk (old->count +1 ); -if (!chunk) +if (!chunk) { +put_inotify_watch (&old->watch);return -ENOMEM ; + }mutex_lock (&inode->inotify_mutex);if (inotify_clone_watch (&old->watch, &chunk->watch) <0 ) {
@@ -422,7 +424,8 @@ static int tag_chunk(struct inode *inode, struct audit_tree *tree)spin_unlock (&hash_lock);inotify_evict_watch (&old->watch);mutex_unlock (&inode->inotify_mutex); -put_inotify_watch (&old->watch); +put_inotify_watch (&old->watch);/* pair to inotify_find_watch */ +put_inotify_watch (&old->watch);/* and kill it */ return 0 ; }
kernel/signal.c +2 -1
@@ -884,7 +884,8 @@ static void print_fatal_signal(struct pt_regs *regs, int signr)for (i =0 ; i <16 ; i++) {unsigned char insn; -__get_user (insn, (unsigned char *)(regs->ip + i)); +if (get_user (insn, (unsigned char *)(regs->ip + i))) +break ;printk ("%02x " , insn); } }
net/bridge/netfilter/ebtables.c +6 -0
@@ -1436,6 +1436,9 @@ static int do_ebt_set_ctl(struct sock *sk, {int ret; +if (!capable (CAP_NET_ADMIN )) +return -EPERM ; +switch (cmd) {case EBT_SO_SET_ENTRIES : ret =do_replace (user, len);
@@ -1455,6 +1458,9 @@ static int do_ebt_get_ctl(struct sock *sk, int cmd, void __user *user, int *len)struct ebt_replace tmp;struct ebt_table *t; +if (!capable (CAP_NET_ADMIN )) +return -EPERM ; +if (copy_from_user (&tmp, user,sizeof (tmp)))return -EFAULT ;