Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 299408 Details for
Bug 404291
CVE-2007-6282 IPSec ESP kernel panics
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch as merged upstream
esp_frag_fix (text/plain), 1.44 KB, created by
Thomas Graf
on 2008-03-27 23:22:31 UTC
(
hide
)
Description:
patch as merged upstream
Filename:
MIME Type:
Creator:
Thomas Graf
Created:
2008-03-27 23:22:31 UTC
Size:
1.44 KB
patch
obsolete
>[ESP]: Ensure IV is in linear part of the skb to avoid BUG() due to OOB access > >ESP does not account for the IV size when calling pskb_may_pull() to >ensure everything it accesses directly is within the linear part of a >potential fragment. This results in a BUG() being triggered when the >both the IPv4 and IPv6 ESP stack is fed with an skb where the first >fragment ends between the end of the esp header and the end of the IV. > >This bug was found by Dirk Nehring <dnehring@gmx.net> . > >Signed-off-by: Thomas Graf <tgraf@suug.ch> > >Index: net-2.6/net/ipv4/esp4.c >=================================================================== >--- net-2.6.orig/net/ipv4/esp4.c 2008-03-27 23:47:48.000000000 +0100 >+++ net-2.6/net/ipv4/esp4.c 2008-03-27 23:47:58.000000000 +0100 >@@ -336,7 +336,7 @@ > struct scatterlist *asg; > int err = -EINVAL; > >- if (!pskb_may_pull(skb, sizeof(*esph))) >+ if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) > goto out; > > if (elen <= 0) >Index: net-2.6/net/ipv6/esp6.c >=================================================================== >--- net-2.6.orig/net/ipv6/esp6.c 2008-03-27 23:47:48.000000000 +0100 >+++ net-2.6/net/ipv6/esp6.c 2008-03-27 23:47:58.000000000 +0100 >@@ -282,7 +282,7 @@ > struct scatterlist *sg; > struct scatterlist *asg; > >- if (!pskb_may_pull(skb, sizeof(*esph))) { >+ if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) { > ret = -EINVAL; > goto out; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 404291
:
272881
| 299408