diff options
author | James Morris <jmorris@namei.org> | 2006-11-05 09:00:45 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-11-05 09:00:45 +0100 |
commit | d1ce361a6c0115e2ef500e9e7dfe77763d287fcd (patch) | |
tree | cc00ae16fafd01c4293d404d3c5c53a61b40f49c /kernel | |
parent | e4943436e258e9f993be30d7ab41f7202f8adbf7 (diff) |
[IPV6]: fix lockup via /proc/net/ip6_flowlabel (CVE-2006-5619)
There's a bug in the seqfile handling for /proc/net/ip6_flowlabel, where,
after finding a flowlabel, the code will loop forever not finding any
further flowlabels, first traversing the rest of the hash bucket then just
looping.
This patch fixes the problem by breaking after the hash bucket has been
traversed.
Note that this bug can cause lockups and oopses, and is trivially invoked
by an unpriveleged user.
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions