[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <69ddd90e-91fa-78d7-63e6-9d6a8036c6b5@linaro.org>
Date: Fri, 16 Sep 2022 21:14:11 -0700
From: Tadeusz Struk <tadeusz.struk@...aro.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] usb: mon: make mmapped memory read only
On 9/16/22 15:47, Tadeusz Struk wrote:
> Syzbot found an issue in usbmon where it can corrupt monitor
> internal memory causing the usbmon to crash with segfault,
> UAF, etc. The reproducer mmaps the /dev/usbmon memory to userspace
> and overwrites it with arbitrary data, which causes the issues.
> To prevent that explicitly clear the VM_WRITE flag in mon_bin_mmap().
>
> Cc:linux-usb@...r.kernel.org
> Cc:linux-kernel@...r.kernel.org
> Cc:stable@...r.kernel.org
> Fixes: 6f23ee1fefdc ("USB: add binary API to usbmon")
> Link:https://syzkaller.appspot.com/bug?id=2eb1f35d6525fa4a74d75b4244971e5b1411c95a
> Signed-off-by: Tadeusz Struk<tadeusz.struk@...aro.org>
I forgot to add:
Reported-by: syzbot+23f57c5ae902429285d7@...kaller.appspotmail.com
--
Thanks,
Tadeusz
Powered by blists - more mailing lists