diff options
author | Sean Young <sean@mess.org> | 2020-08-08 13:19:12 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-08-28 14:06:35 +0200 |
commit | 4f0835d6677dc69263f90f976524cb92b257d9f4 (patch) | |
tree | 8770fcd8530254e36a605179dee74ae4306b32bf /tools/perf/scripts/python | |
parent | 8a30c017c99603b216907c2f7aa22d3afe4137c3 (diff) |
media: rc: uevent sysfs file races with rc_unregister_device()
Only report uevent file contents if device still registered, else we
might read freed memory.
Reported-by: syzbot+ceef16277388d6f24898@syzkaller.appspotmail.com
Cc: Hillf Danton <hdanton@sina.com>
Cc: <stable@vger.kernel.org> # 4.16+
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions