summaryrefslogtreecommitdiffstats
path: root/scripts/tags.sh
diff options
context:
space:
mode:
authorSchspa Shi <schspa@gmail.com>2022-05-18 09:17:54 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-19 18:41:33 +0200
commitaed86f8add0e3f63a033861f247c9ae956b72c92 (patch)
treec2b1088b38013f9c542130de9cf107fbaa3a87ee /scripts/tags.sh
parentdafa5e9ab8b5b31d64c0ded188d95f8bb6be9746 (diff)
downloadlinux-aed86f8add0e3f63a033861f247c9ae956b72c92.tar.bz2
binder: fix atomic sleep when get extended error
binder_inner_proc_lock(thread->proc) is a spin lock, copy_to_user can't be called with in this lock. Copy it as a local variable to fix it. Fixes: bd32889e841c ("binder: add BINDER_GET_EXTENDED_ERROR ioctl") Reported-by: syzbot+46fff6434a7f968ecb39@syzkaller.appspotmail.com Reviewed-by: Carlos Llamas <cmllamas@google.com> Signed-off-by: Schspa Shi <schspa@gmail.com> Link: https://lore.kernel.org/r/20220518011754.49348-1-schspa@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/tags.sh')
0 files changed, 0 insertions, 0 deletions