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 833301 Details for
Bug 1038315
RHEL6.5: kernel 2.6.32-431.el6 + openafs 1.6.5.1 panics with RIP cache_alloc_refill called from getname, names_cache corrupted
[?]
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 -- openafs: fix the afs_putname definition when STRUCT_FILENAME_HAS_NAME is defined
0001-Linux-fix-the-afs_putname-definition-when-STRUCT_FIL.patch (text/plain), 1.02 KB, created by
Jeff Layton
on 2013-12-05 19:13:00 UTC
(
hide
)
Description:
patch -- openafs: fix the afs_putname definition when STRUCT_FILENAME_HAS_NAME is defined
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2013-12-05 19:13:00 UTC
Size:
1.02 KB
patch
obsolete
>From 94c5268a7b7c833e9e3fa937b8018014d1cbe30a Mon Sep 17 00:00:00 2001 >From: Jeff Layton <jlayton@redhat.com> >Date: Thu, 5 Dec 2013 14:10:02 -0500 >Subject: [PATCH] Linux: fix the afs_putname definition when > STRUCT_FILENAME_HAS_NAME is defined > >The current code has afs_putname defined as > > kmem_cache_free(names_cachep, (void *)name); > >This is wrong and will cause a double-free when syscall auditing is >enabled. Fix it to call putname properly. > >A better fix might be to just get rid of afs_putname altogether and >call putname directly. > >Signed-off-by: Jeff Layton <jlayton@redhat.com> >--- > src/afs/LINUX/osi_compat.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/src/afs/LINUX/osi_compat.h b/src/afs/LINUX/osi_compat.h >index 105a7e9..770a2a5 100644 >--- a/src/afs/LINUX/osi_compat.h >+++ b/src/afs/LINUX/osi_compat.h >@@ -577,7 +577,7 @@ afs_name_to_string(afs_name_t s) { > > static inline void > afs_putname(afs_name_t name) { >- kmem_cache_free(names_cachep, (void *)name); >+ putname(name); > } > #endif > >-- >1.8.4.2 >
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 1038315
:
833301
|
833684