Linux 2.6.16.16
Subsystems (3)
We (the -stable team) are announcing the release of the 2.6.16.16 kernel.
The diffstat and short summary of the fixes are below.
I'll also be replying to this message with a copy of the patch between 2.6.16.15 and 2.6.16.16, as it is small enough to do so.
The updated 2.6.16.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git
and can be browsed at the normal kernel.org git web browser:
www.kernel.org/git/
thanks,
-chris
--------
Makefile | 2 +- fs/locks.c | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-)
Summary of changes from v2.6.16.15 to v2.6.16.16
================================================
Chris Wright:
Linux 2.6.16.16
Trond Myklebust:
fs/locks.c: Fix lease_init (CVE-2006-1860)
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 16 -EXTRAVERSION = .15 +EXTRAVERSION = .16 NAME=Sliding Snow Leopard # *DOCUMENTATION*
fs/locks.c +12 -9
@@ -432,15 +432,14 @@ static struct lock_manager_operations le*/ static int lease_init (struct file *filp,int type,struct file_lock *fl) { +if (assign_type (fl, type) !=0 ) +return -EINVAL ; + fl->fl_owner = current->files; fl->fl_pid = current->tgid; fl->fl_file = filp; fl->fl_flags =FL_LEASE ; -if (assign_type (fl, type) !=0 ) { -locks_free_lock (fl); -return -EINVAL ; - } fl->fl_start =0 ; fl->fl_end =OFFSET_MAX ; fl->fl_ops =NULL ;
@@ -452,16 +451,19 @@ static int lease_init(struct file *filp,static int lease_alloc (struct file *filp,int type,struct file_lock **flp) {struct file_lock *fl =locks_alloc_lock (); -int error; +int error = -ENOMEM ;if (fl ==NULL ) -return -ENOMEM ; + goto out; error =lease_init (filp, type, fl); -if (error) -return error; +if (error) { +locks_free_lock (fl); + fl =NULL ; + } +out: *flp = fl; -return 0 ; +return error; }/* Check if two locks overlap each other.
@@ -1337,6 +1339,7 @@ static int __setlease(struct file *filp, goto out;if (my_before !=NULL ) { + *flp = *my_before; error = lease->fl_lmops->fl_change (my_before, arg); goto out; }
Hello Chris,
Quoted 2 lines · you
Trond Myklebust:
fs/locks.c: Fix lease_init (CVE-2006-1860)
I want to say that I like the quick stable cycle. People like to see fixes. Big thanks!
However...
I must say that usually I know if I need the the update, eg. I do not care for SCTP that much so I could skip that update.
But this one looks important, something that every kernel build has in its code path, however I am unable to say if I need it badly or maybe not.
The url: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1860
says nothing about it.
Could we have a word or two under each patchlet that would qualify them somehow?
Like:
"Important, not required for all, apply if using SCTP" "Important, required for all, may *do bad things*, apply ASAP" "Critical, required for all, surely will *do bad things*, apply ASAP"
Not only distro kernel developers/maintainers use these, so I think it would be nice.
Best Regards,
Maciej
Quoted 7 lines · Maciej Soltysiak
But this one looks important, something that every kernel build has in its code path, however I am unable to say if I need it badly or maybe not.
The url: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1860
says nothing about it.
Quoted 6 lines
Could we have a word or two under each patchlet that would qualify them somehow?
Like:
"Important, not required for all, apply if using SCTP" "Important, required for all, may *do bad things*, apply ASAP" "Critical, required for all, surely will *do bad things*, apply ASAP"
This is exactly my thoughts. I read the changelog:
http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.16.16
and it does look important, but I am not sure either if I need to apply.
Good suggestion, Maciej!
Nick
Quoted 8 lines · Maciej Soltysiak
Hello Chris,
Quoted 2 lines · you
Trond Myklebust:
fs/locks.c: Fix lease_init (CVE-2006-1860)I want to say that I like the quick stable cycle. People like to see fixes. Big thanks!
Quoted 7 lines
However...
I must say that usually I know if I need the the update, eg. I do not care for SCTP that much so I could skip that update.But this one looks important, something that every kernel build has in its code path, however I am unable to say if I need it badly or maybe not.
It looks from the commit that it is a user-triggerable lockup and memory leak. Perhaps the posting of the patch should include the comments?
-Daniel
*This .sig left intentionally blank*
Quoted 3 lines · * Maciej Soltysiak ([email protected]) wrote:
But this one looks important, something that every kernel build has in its code path, however I am unable to say if I need it badly or maybe not.
The patch fixes a possible user-triggerable system lockup or memory leak. In both cases it's a local DoS.
BTW, the CVE folks have decided to track this as two separate issues:
CVE-2006-1860 - the system lockup
CVE-2006-1859 - the memory leak
Quoted 6 lines
Could we have a word or two under each patchlet that would qualify them somehow?
Like:
"Important, not required for all, apply if using SCTP" "Important, required for all, may *do bad things*, apply ASAP" "Critical, required for all, surely will *do bad things*, apply ASAP"
Assigning any official severity is a bit of a slippery slope, but making sure it's clear what type of issue (i.e. local DoS in this case) is very reasonable.
thanks,
-chris
BUG: soft lockup detected on CPU#0!
Error:
kernel: hdi: drive_cmd: status=0xd0 { Busy }
kernel: ide: failed opcode was: 0xea
BUG: soft lockup detected on CPU#0!
the odd thing is the system experiences a hard lockup, so it is not a false positive. I am working on a trace, but it is hard to get.
My supervisor has asked me to help research this problem. We are using multiple ata cards in our backup machine. We have a Promiss sata 300tx4, and three ATA cards (3 SIG UltraATA 133 PCI) or (3 promise ultra 100tx2). We are experiencing hard lockups. The system resides on a scsi drive connected to the on board controler Adaptec AIC-7899P (Tyan S2462 motherboard)the error is repeated for all drives connected to the promis cards, and the error continues until a lock up is eventualy reached.
Also, its in dma mode, not pio.PREEMPT_NONE is already set, so its not the preemption model
possibly related posts
http://www.ussg.iu.edu/hypermail/linux/kernel/0309.1/0444.html
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: BUG: soft lockup detected on CPU#0!
I noticed another post the other day, and contacted the indavidual who posted it. note his message below.
Hi Winn,
Latest news i had was a *hint* from Andrew Morton telling me to try with kernel 2.6.17-rc3 and report if the problem was gone or not. I've had no
time to give it a try yet.Your problem seems similar to mine, a few person argued that the message was bogus and that no harm was done but i guess they did not read carefully the post since the consequences are pretty bad.
Let me know if you manage to try with the latest rc of the 2.6.17 kernel and if things are better.
Quoted 26 lines · --- Winn Johnston
Error:
kernel: hdi:
drive_cmd: status=0xd0 { Busy }
kernel: ide: failed opcode was:0xeaBUG: soft lockup detected on CPU#0!the odd thing is the system experiences a hard lockup,
so it is not a false positive. I am working on a trace, but it is hard to get.My supervisor has asked me to help research this problem. We are using multiple ata cards in our backup
machine. We have a Promiss sata 300tx4, and three ATA
cards (3 SIG UltraATA 133 PCI) or (3 promise ultra 100tx2). We are experiencing hard lockups. The system
resides on a scsi drive connected to the on board controler Adaptec AIC-7899P (Tyan S2462 motherboard)the error is repeated for all drives connected to the promis cards, and the error continues
until a lock up is eventualy reached.
Quoted 7 lines
Also, its in dma mode, not pio.
PREEMPT_NONEis already set, so its not the preemption
modelpossibly related posts
http://www.ussg.iu.edu/hypermail/linux/kernel/0309.1/0444.html
Quoted 2 lines
Quoted 5 lines
Quoted 13 lines
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi Chris,
first of all: Thanks for the good work!
Quoted 3 lines · Chris Wright
Assigning any official severity is a bit of a slippery slope, but making sure it's clear what type of issue (i.e. local DoS in this case) is very reasonable.
Yes, I agree.
I would like to know:
- local or remote exploitable
- if a DoS: hang, only service failure, major slowdown
- privilege escalation possiible and how far (valid user, root, kernel-level)
- required privileges (root or user)
That would help risk management a lot :-)
If you have a lot of time: Affected software components, but these can be taken from the patches/commit info or CVE.
Thanks & Regards
Ingo Oeser
Quoted 17 lines · Ingo Oeser
Hi Chris,
first of all: Thanks for the good work!
Quoted 3 lines · Chris Wright
Assigning any official severity is a bit of a slippery slope, but making sure it's clear what type of issue (i.e. local DoS in this case) is very reasonable.
Yes, I agree.
I would like to know:
- local or remote exploitable
- if a DoS: hang, only service failure, major slowdown
- privilege escalation possiible and how far (valid user, root, kernel-level)
- required privileges (root or user)
Quoted 4 lines
That would help risk management a lot :-)
If you have a lot of time: Affected software components, but these can be taken from the patches/commit info or CVE.
The CVE should be enough for easily getting all information you requested.
Information whether it's a DoS or a root exploit is helpful, but any qualified person doing risk management will anyways lookup the CVE.
Quoted 3 lines
Thanks & Regards
Ingo Oeser
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 5 lines · Adrian Bunk
The CVE should be enough for easily getting all information you requested.
Information whether it's a DoS or a root exploit is helpful, but any qualified person doing risk management will anyways lookup the CVE.
Well, yes, but some people do *actually* use the latest kernel at home and not in labs (et al), and as Maciej asked, we are not sure whether the (whatever) latest patch is needed or not on whatever our current config is the way the latest stable fixes are announced.
" [PATCH] fs/locks.c: Fix lease_init (CVE-2006-1860)
It is insane to be giving lease_init() the task of freeing the lock it is supposed to initialise, given that the lock is not guaranteed to be allocated on the stack. This causes lockups in fcntl_setlease(). Problem diagnosed by Daniel Hokka Zakrisson <[email protected]>
Also fix a slab leak in __setlease() due to an uninitialised return value. Problem diagnosed by Björn Steinbrink.
"
OK, great. But what does it mean?
It would be nice to have a short explanation of what the fix is for in real world terms.
Nick
Quoted 24 lines · Nick Warne
Quoted 5 lines · Adrian Bunk
The CVE should be enough for easily getting all information you requested.
Information whether it's a DoS or a root exploit is helpful, but any qualified person doing risk management will anyways lookup the CVE.
Well, yes, but some people do *actually* use the latest kernel at home and not in labs (et al), and as Maciej asked, we are not sure whether the (whatever) latest patch is needed or not on whatever our current config is the way the latest stable fixes are announced.
" [PATCH]
fs/locks.c: Fixlease_init(CVE-2006-1860)It is insane to be giving
lease_init()the task of freeing the lock it is supposed to initialise, given that the lock is not guaranteed to be allocated on the stack. This causes lockups infcntl_setlease(). Problem diagnosed by Daniel Hokka Zakrisson <[email protected]>Also fix a slab leak in
__setlease()due to an uninitialised return value.
Problem diagnosed by Bj????rn Steinbrink.
"
Quoted 4 lines
OK, great. But what does it mean?
It would be nice to have a short explanation of what the fix is for in real world terms.
To be fair, the extra work of writing out a detailed exploit, complete with example code, for every security update, would just take way too long. If you look for where this patch was discussed on lkml, you will see a full description of the problem, and how to hit it.
thanks,
greg k-h
Hi Greg,
Quoted 27 lines · Greg KH
Quoted 26 lines · Nick Warne
Quoted 5 lines · Adrian Bunk
The CVE should be enough for easily getting all information you requested.
Information whether it's a DoS or a root exploit is helpful, but any qualified person doing risk management will anyways lookup the CVE.
Well, yes, but some people do *actually* use the latest kernel at home and not in labs (et al), and as Maciej asked, we are not sure whether the (whatever) latest patch is needed or not on whatever our current config is the way the latest stable fixes are announced.
" [PATCH]
fs/locks.c: Fixlease_init(CVE-2006-1860)It is insane to be giving
lease_init()the task of freeing the lock it is supposed to initialise, given that the lock is not guaranteed to be allocated on the stack. This causes lockups infcntl_setlease(). Problem diagnosed by Daniel Hokka Zakrisson <[email protected]>Also fix a slab leak in
__setlease()due to an uninitialised return value.
Problem diagnosed by Bj????rn Steinbrink.
"OK, great. But what does it mean?
Quoted 7 lines
Quoted 2 lines
It would be nice to have a short explanation of what the fix is for in real world terms.
To be fair, the extra work of writing out a detailed exploit, complete with example code, for every security update, would just take way too long. If you look for where this patch was discussed on lkml, you will see a full description of the problem, and how to hit it.
I second this. I try to write detailed changes or at least to compact the original explanations for patches that go into 2.4 hotfixes, and sometimes I wonder if I don't do too much. It takes nearly 1/3 of the time to get the patches in and compile the kernel, and 2/3 of the time to write things that I sometimes think very few people will read. I think that if i still do it, it's because I release far less often than you and Chris do. Otherwise I would have given up.
One compromise might be to post the full changelog in the announcement in addition to the shortlog. But I agree that security fixes are rarely well documented by their authors, and CVE descriptions are sometimes rather obscure :-(
Quoted 3 lines
thanks,
greg k-h
Regards,
Willy
Hello Greg,
Quoted 3 lines · you
To be fair, the extra work of writing out a detailed exploit, complete with example code, for every security update, would just take way too long.
Well, I think what we meant is just a one-liner hint from a wise developer suggesting some action, meaning something like: "This one I recommend to all" or "Use this if you use SCTP" or "X can do nasty things, you should upgrade if you are using it". If the patch title is "Fix a buffer overflow in foo" everybody knows what to do, but when it says "Fix foo so that baz stays barred" an additional hint would be nice, because it's ambiguous for someone just tracking stable releases and not being knowledgible enough to decide whether baz is a function or system call that they are using.
I was not suggesting full detailed reports, I know the developers have better things to do, just some hints :-)
Signature · 2 lines
Best regards, Maciej
Quoted 15 lines · Maciej Soltysiak
Hello Greg,
Quoted 3 lines · you
To be fair, the extra work of writing out a detailed exploit, complete with example code, for every security update, would just take way too long.
Well, I think what we meant is just a one-liner hint from a wise developer suggesting some action, meaning something like: "This one I recommend to all" or "Use this if you use SCTP" or "X can do nasty things, you should upgrade if you are using it". If the patch title is "Fix a buffer overflow in foo" everybody knows what to do, but when it says "Fix foo so that baz stays barred" an additional hint would be nice, because it's ambiguous for someone just tracking stable releases and not being knowledgible enough to decide whether baz is a function or system call that they are using.
Quoted 2 lines
I was not suggesting full detailed reports, I know the developers have better things to do, just some hints :-)
If you read the full patch description, or the full changelog, you will almost always get those hints. The changelog is always availble on kernel.org next to the kernel patch/source tree.
thanks,
greg k-h
Quoted 4 lines · * Willy Tarreau ([email protected]) wrote:
One compromise might be to post the full changelog in the announcement in addition to the shortlog. But I agree that security fixes are rarely well documented by their authors, and CVE descriptions are sometimes rather obscure :-(
My preference is to leave things concise. If one has a question, the CVE and the full Changelog are pretty easy to obtain and read.
thanks,
-chris