diff options
author | Sean Young <sean@mess.org> | 2020-08-08 14:19:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-09 20:14:29 +0300 |
commit | 9af0c46a761293ef04c57f001cc2641d4ec1add3 (patch) | |
tree | fd3c832fa1ca3361b40fe82f02fcd795a2820a3c /Documentation/filesystems/cramfs.rst | |
parent | bff924ee40ae3857e7373536fdda203378795e3c (diff) | |
download | linux-9af0c46a761293ef04c57f001cc2641d4ec1add3.tar.xz |
media: rc: uevent sysfs file races with rc_unregister_device()
commit 4f0835d6677dc69263f90f976524cb92b257d9f4 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/filesystems/cramfs.rst')
0 files changed, 0 insertions, 0 deletions