https://github.com/torvalds/linux
Revision ff57cd5863cf3014c1c5ed62ce2715294f065b17 authored by Jan Kara on 21 February 2014, 18:14:11 UTC, committed by Jan Kara on 25 February 2014, 10:18:06 UTC
Commit 7053aee26a35 "fsnotify: do not share events between notification
groups" used overflow event statically allocated in a group with the
size of the generic notification event. This causes problems because
some code looks at type specific parts of event structure and gets
confused by a random data it sees there and causes crashes.

Fix the problem by allocating overflow event with type corresponding to
the group type so code cannot get confused.

Signed-off-by: Jan Kara <jack@suse.cz>
1 parent 482ef06
History
Tip revision: ff57cd5863cf3014c1c5ed62ce2715294f065b17 authored by Jan Kara on 21 February 2014, 18:14:11 UTC
fsnotify: Allocate overflow events with proper type
Tip revision: ff57cd5
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 266.3 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top