login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
21
Re: Oops in authenc: 2.6.26.3
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Matt LaPlante
Subject:
Re: Oops in authenc: 2.6.26.3
Date: Thursday, August 21, 2008 - 6:08 am
On Thu, 21 Aug 2008 18:36:15 +1000 Herbert Xu <herbert@gondor.apana.org.au> wrote:
quoted text
> On Thu, Aug 21, 2008 at 07:02:25AM +0000, Sascha Biberhofer wrote: > > I have the same problem on my system, starting with the release of > > 2.6.26. Shortly afterwards I've had the same problem with the 2.6.25 > > series starting with 2.6.25.12. I've looked up the changes between > > 2.6.25.11 and .12 and found commit > > c2bd04d8040a91fe2ee2e9fee1a6562ca9792249 (it's commit > > 872ac8743cb400192a9fce4ba2d3ffd7bb309685 in the 2.6.26 series). > > Reverting the commit seems to solve the problem here, I've been running > > a 2.6.25.12 kernel without this commit for some weeks now. > > In case it's important: I'm using an IPSec ESP transport with AES-256 > > and sha-256 auth. > > Sorry, I was skimping on memory and ended up calling a clobbered > function pointer. > > This patch should fix it. > > crypto: authenc - Avoid using clobbered request pointer > > Authenc works in two stages for encryption, it first encrypts and > then computes an ICV. The context memory of the request is used > by both operations. The problem is that when an asynchronous > encryption completes, we will compute the ICV and then reread the > context memory of the encryption to get the original request. > > It just happens that we have a buffer of 16 bytes in front of the > request pointer, so ICVs of 16 bytes (such as SHA1) do not trigger > the bug. However, any attempt to uses a larger ICV instantly kills > the machine when the first asynchronous encryption is completed. > > This patch fixes this by saving the request pointer before we start > the ICV computation. > > Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Matt LaPlante <kernel1@cyberdogtech.com> Thanks for the quick fix! -- Matt LaPlante --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Oops in authenc: 2.6.26.3
, Matt LaPlante
, (Wed Aug 20, 6:32 pm)
Re: Oops in authenc: 2.6.26.3
, Andrew Morton
, (Wed Aug 20, 8:31 pm)
Re: Oops in authenc: 2.6.26.3
, Sascha Biberhofer
, (Thu Aug 21, 12:02 am)
Re: Oops in authenc: 2.6.26.3
, Herbert Xu
, (Thu Aug 21, 1:36 am)
Re: Oops in authenc: 2.6.26.3
, Matt LaPlante
, (Thu Aug 21, 6:08 am)
Re: Oops in authenc: 2.6.26.3
, Henrique de Moraes H ...
, (Thu Aug 21, 7:56 am)
Re: Oops in authenc: 2.6.26.3
, Herbert Xu
, (Thu Aug 21, 3:13 pm)
Re: Oops in authenc: 2.6.26.3
, Sascha Biberhofer
, (Fri Aug 22, 2:05 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Stephen Smalley
Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Arnd Bergmann
Re: [PATCH] rcu: remove SPARSE_RCU_POINTER
Andy Whitcroft
Re: Why is kslowd accumulating so much CPU time?
git
:
Mike Miller
git message
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Wincent Colaiuta
Re: [RFC PATCH] Make the rebase edit mode really end up in an edit state
Scott Chacon
Re: why not TortoiseGit
Michael Boutros
Git - index-pack missing
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Badalian Vyacheslav
Re: tc filter flow hash question
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Parav Pandit
ip6 route output() and ip_route_output_key() by drivers
Sebastian Andrzej Siewior
[PATCH v2] net/core: use ntohs for skb->protocol
git-commits-head
:
Linux Kernel Mailing List
mm: fix build on non-mmu machines
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
[ARM] 4671/1: ep93xx: remove obsolete gpio_line_* operations
Linux Kernel Mailing List
Staging: rt2870: Removal of kernel_thread() API
openbsd-misc
:
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
Daniel Ouellet
sysctl kern.maxproc help needed
L. V. Lammert
Re: OT, .. but has anyone seen a crontab editor
Breen Ouellette
Re: Hifn 7955: fatal: cipher_init: EVP_CipherInit: set key failed for aes256-cbc
Colocation donated by:
Syndicate