summaryrefslogtreecommitdiff
path: root/fs/btrfs/check-integrity.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2020-08-08 14:19:12 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-08-28 15:06:35 +0300
commit4f0835d6677dc69263f90f976524cb92b257d9f4 (patch)
tree8770fcd8530254e36a605179dee74ae4306b32bf /fs/btrfs/check-integrity.c
parent8a30c017c99603b216907c2f7aa22d3afe4137c3 (diff)
downloadlinux-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/btrfs/check-integrity.c')
0 files changed, 0 insertions, 0 deletions