path: root/
diff options
authorKaleb S KEITHLEY <>2016-01-21 15:03:38 -0500
committerRaghavendra G <>2016-02-02 21:13:09 -0800
commit29bd2316b6d4f522e1bd00e3c9a1c97dcc7d80ea (patch)
tree5cf32a00c59a820200aa5da2b6c485dbaeb0b32b /
parentac3183a5012bfed26fa0aead7f359f5d5b00e23e (diff)
fuse: use-after-free fix in fuse-bridge, revisited
Prompted by the email exchange in gluster-devel between Oleksandr Natalenko, xavi, and soumyak, I looked at this because the fuse client on the longevity cluster has also been suffering from a serious memory leak for some time. (longevity cluster is currently running 3.7.6) The longevity cluster manifests the same kernel notifier loop terminated log message the Oleksandr sees, and some sample runs suggest that the length passed to the (sys_)write call is unexpectedly and abnormally large. Basically this fix a) uses correct types for len and rv, b) copies the len from potentially incorrectly aligned memory (in a way that should minimize potential performance issues related to accessing unaligned memory.) c) changes log level of the kernel notifier loop terminated message d) fixes a potential mutex lock/unlock issue Change-Id: Icedb3525706f59803878bb37ef6b4ffe4a986880 BUG: 1288857 Signed-off-by: Kaleb S KEITHLEY <> Reviewed-on: Smoke: Gluster Build System <> Reviewed-by: Xavier Hernandez <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Raghavendra Bhat <> Reviewed-by: Raghavendra G <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions