aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-10-15 06:06:18 -0400
committerTakashi Iwai <tiwai@suse.de>2010-10-17 04:11:40 -0400
commitaa73aec6c385e2c797ac25cc7ccf0318031de7c8 (patch)
tree97ab3c6e917c2592f2c432c703a058ac0cebc574 /tools/perf/scripts/python
parentcd07202cc8262e1669edff0d97715f3dd9260917 (diff)
ALSA: rawmidi: fix oops (use after free) when unloading a driver module
When a driver module is unloaded and the last still open file is a raw MIDI device, the card and its devices will be actually freed in the snd_card_file_remove() call when that file is closed. Afterwards, rmidi and rmidi->card point into freed memory, so the module pointer is likely to be garbage. (This was introduced by commit 9a1b64caac82aa02cb74587ffc798e6f42c6170a.) Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Reported-by: Krzysztof Foltman <wdev@foltman.com> Cc: 2.6.30-2.6.35 <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
s='alt'>
8d730cfb50cc
10b63956fce7



c7bb349e7c25
283039fb7ded
de78912582bc
10b63956fce7
8d730cfb50cc
7cfddeef357a
7712401ae900

de78912582bc
7712401ae900
10b63956fce7

de78912582bc
d8ecc5cd8e22



10b63956fce7




7712401ae900
d8ecc5cd8e22
40f1d4c20018
10b63956fce7












de78912582bc
7712401ae900
10b63956fce7
7712401ae900
8d730cfb50cc
7712401ae900
10b63956fce7
de78912582bc
7712401ae900
684753599afc
7712401ae900

db1bec4f5271
10b63956fce7
d8ecc5cd8e22
10b63956fce7
d8ecc5cd8e22
db1bec4f5271
8d730cfb50cc
7712401ae900

8d730cfb50cc
7712401ae900
7211b8b90288


10b63956fce7
7211b8b90288

7712401ae900
de78912582bc
7712401ae900
de78912582bc
7712401ae900



de78912582bc
7712401ae900




de78912582bc
684753599afc
7712401ae900

8d730cfb50cc
7712401ae900


8d730cfb50cc
7712401ae900
de78912582bc
7712401ae900




8d730cfb50cc
7712401ae900


4e420aa94c9e
7712401ae900

8d730cfb50cc

7712401ae900


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131