2009-04-20 05:26:19

by Eugene Teo

[permalink] [raw]
Subject: Re: patch 0022-CIFS-Fix-memory-overwrite-when-saving-nativeFileSys.patch added to 2.6.27-stable tree

[email protected] wrote:
[...]
> From 15bd8021d870d2c4fbf8c16578d72d03cfddd3a7 Mon Sep 17 00:00:00 2001
> From: Steve French <[email protected]>
> Date: Thu, 26 Mar 2009 23:05:15 +0000
> Subject: CIFS: Fix memory overwrite when saving nativeFileSystem field during mount
>
> upstream commit: b363b3304bcf68c4541683b2eff70b29f0446a5b
>
> CIFS can allocate a few bytes to little for the nativeFileSystem field
> during tree connect response processing during mount. This can result
> in a "Redzone overwritten" message to be logged.

The same for 2.6.28-stable tree.

On top of commit b363b330, we need:
f083def6 - cifs: fix buffer size for tcon->nativeFileSystem field
22c9d52b - cifs: remove unnedded bcc_ptr update in CIFSTCon
and maybe this too:
313fecfa - cifs: add cFYI messages with some of the saved strings from
ssetup/tcon

There is no CVE name for this yet. Still waiting.

Thanks, Eugene
--
Eugene Teo / Red Hat Security Response Team