diff options
author | Sean Young <sean@mess.org> | 2020-08-08 14:19:12 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-08-28 15:06:35 +0300 |
commit | 4f0835d6677dc69263f90f976524cb92b257d9f4 (patch) | |
tree | 8770fcd8530254e36a605179dee74ae4306b32bf /fs/xfs/xfs_iops.c | |
parent | 8a30c017c99603b216907c2f7aa22d3afe4137c3 (diff) | |
download | linux-4f0835d6677dc69263f90f976524cb92b257d9f4.tar.xz |
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 'fs/xfs/xfs_iops.c')
0 files changed, 0 insertions, 0 deletions