syzbot


KASAN: null-ptr-deref Write in media_request_close
Status: upstream: reported C repro on 2020/06/17 11:12
Reported-by: syzbot+6bed2d543cf7e48b822b@syzkaller.appspotmail.com
Fix commit: media: media-request: Fix crash if memory allocation fails
Patched on: [ci-upstream-linux-next-kasan-gce-root], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 21d, last: 2d02h

Cause bisection: introduced by (bisect log):

commit 016baa59bf9f6c2550480b73f18100285e3a4fd2
Author: Ezequiel Garcia <ezequiel@collabora.com>
Date: Tue Apr 14 22:06:24 2020 +0000

  media: Kconfig: Don't expose the Request API option

Crash: KASAN: null-ptr-deref Write in media_request_put (log)
Repro: C syz .config

Sample crash report:

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro Maintainers
ci-upstream-kasan-gce-smack-root 2020/06/18 14:10 upstream 7ae77150 d45a4d69 .config log report syz C laurent.pinchart@ideasonboard.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, sakari.ailus@linux.intel.com
ci-upstream-kasan-gce-smack-root 2020/07/02 20:05 upstream cd77006e bed10395 .config log report laurent.pinchart@ideasonboard.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, sakari.ailus@linux.intel.com
ci-upstream-kasan-gce-smack-root 2020/06/18 14:00 upstream 7ae77150 d45a4d69 .config log report laurent.pinchart@ideasonboard.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, sakari.ailus@linux.intel.com
ci-upstream-kasan-gce-smack-root 2020/06/12 22:51 upstream 7ae77150 df590254 .config log report laurent.pinchart@ideasonboard.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, sakari.ailus@linux.intel.com
ci-upstream-kasan-gce-386 2020/06/26 19:16 upstream 4a21185c aea82c00 .config log report laurent.pinchart@ideasonboard.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, sakari.ailus@linux.intel.com