Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp619229lqj; Sun, 2 Jun 2024 14:07:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUkM1TI/Zn5KO7fDAv2kqLfcVkKZ4tTbjwvUd7lOPWrtWGV9HGbXsAlATgpc7Am/BpmzA9/RboXOJs43Ux5+wLr+C98DfpuFCSvauAvw== X-Google-Smtp-Source: AGHT+IF/bxEQOgjqfmBGtnAlK3eZfrQ8WNY+gSSh1DlU1DXsWD0z9rjd8uf5UMu5+oB6U9jdC1uU X-Received: by 2002:a05:6a21:99a0:b0:1a7:9476:6cb9 with SMTP id adf61e73a8af0-1b26f205182mr8303037637.32.1717362462785; Sun, 02 Jun 2024 14:07:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717362462; cv=pass; d=google.com; s=arc-20160816; b=VLzkQjcbNT8LBxFyPUjMUs4KQTfVz6MIMDLjuh8IDIvGTc1PpAP43wgaZ03qglX+ED SF4+aXqJLgDVSz9oIRqF3fmlPqkLBx9IZPzLT9s9kZrPo+1wZQdz2VR5WzECRHr9YS+s z7l8Dl3DAj8+1fgSQSky+DPPTxP4uKth90gA4VhII3rUhoPIv/0Ul2XeBdfdTlHN4Wft xsniqbBMd5mhCu6JAeInyVWV1c88KVUT66RE2dH4ute8ByLDXl6xzjyUqAVEg16j6/5T QinzLjXQJ0kqVI0VipctJCuTvaiFJ9CH34gsmIB0o9dxXrqB5Ad5LWhAKY47D0Jd//gs gcmQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:date:from:dkim-signature; bh=nP94ybM9FNYb88tz7HD/3vY+krh+IlSjX7kjHLs0wAc=; fh=wO9X6qTGtL/zn5XeQ35tFQc95efaqyVCvYLI67DPZpE=; b=UOMmFdNFiDV7B2XH5i3+Id88xXmy9V4EqlZfbGx9ABj5Y9qKq7Ud+E2o6H+eUfkc0D ++irHvDEmi08Ns75oL8Cd6JmtFpHqRqQXEnI1C5QTJZQ6b7xSQdV/i9uh79tH/QrxpsA vD2aCzlDjmUlQPCYhVkxrqSmcbvboTGs9Ruk5o6mUo7IMC/cwBxTHaKitKKilF/lz9tz vLmX6aFxmA3qaian9qFGnr4xwhydUZfdtfOqH0p8P8Jg68poe36mKkTPXXQariSFOYh8 JOkjoVxqwJtywnwhAx+WQv22ks08eKyJxDghTqeNZd7jE8oele7i+uo3/bijK0LW2Ppl ksXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=du4qhe7x; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-702425e161csi5306074b3a.55.2024.06.02.14.07.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 14:07:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=du4qhe7x; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 321E1B21018 for ; Sun, 2 Jun 2024 21:07:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B43F078269; Sun, 2 Jun 2024 21:07:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="du4qhe7x" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AA7A81F; Sun, 2 Jun 2024 21:06:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717362420; cv=none; b=dmdeciQ9+RggqurspW4yvzu1m6iXww3pB/NFr/wbYWqoVPk5hDx4DBwfekohPNCTFKbBPcrN6E6na4pHysf5pL0S1sieU2liP8nSdl23ojfcLnWiV8YF5XUD4mCgdu2cYmyWpi91cjfTZju+ql34k6Qs6YU55DPgljtRlLg5UWk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717362420; c=relaxed/simple; bh=OGAM9AAuO65imAAPVgw+QhYz5OoRAm3Xj8ZIOpiNhjI=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bkdc9VnIJ4BuWDb/EPHIJ1/k63lwOMUOpj7+dEiHSlfX7bDfHfSCFVoEc6BXuFLFe5dKaL/JFAFT9gpld6HE5mthnjX95aR0e86JF4xVVaqfPwDU3JQ62xg8eWYz/VEkTgLsCa/1a6bNnsF+A/8gWBSe1UpJpvKilDNbU4gnZ7k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=du4qhe7x; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-42122ac2f38so20743185e9.1; Sun, 02 Jun 2024 14:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717362417; x=1717967217; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=nP94ybM9FNYb88tz7HD/3vY+krh+IlSjX7kjHLs0wAc=; b=du4qhe7xNAltU2sYWi7qpAEmx16AfG/FIeicBjyw6Nv3xkTD8vRsg/tmRrWg78SpIu TrF0XUFLDIshoptKmq39DdIj7P+DIMfsOkWnnarDuN+udDYDkD3jPXqvNdW/Jeyj8EH/ aPxpAOZDLQDMwWzeevsAeUphbHbDo2dYSHK2wRNrWcKYptyuSQtPf51uL6YtFwO/aoar 50Je7U/v0w6ghV6Kkjq0OUXFun+vs+I/jMEEYLDIz8YSd6Jf6Zs+VUFb5KceTdhSpoMe BscItxzrNwIHM85gYU5CR8yWgVM4mBzQNrUNjOwDyajtIsP4kiOyZc3PzQkcegsBtK/R X75A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717362417; x=1717967217; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nP94ybM9FNYb88tz7HD/3vY+krh+IlSjX7kjHLs0wAc=; b=hqk/IZ2fktYocJCblm9ntxg6raeiZglen/93Mssv2gzmDyukV787/rJEr3tB1TrOR5 pxrbB3HazzrHJi2EbZEF5NWVQGW1yywL58pAAxcd3K/1GMXhRkX6YK2bllm5/2DcvKj7 njBzrjEBy581wIL0ZO14jBHJ2u9UYJ2M+ClwXFFyWrPliGvAiE6VgnnQXvahk+ayqCNE W8HthXcbCgSgx8h5NVl1s0jRcXjzSC849QuOyQwmsZhhIiqwyHzCXW4ijXqBM9uSFm/5 kB26bjU+YWSpGq0E+BKzNOtrNEslocKE8RC9YkjceYRMjpx/OuVdbStsMjZahvqwIw5c XAyw== X-Forwarded-Encrypted: i=1; AJvYcCWhDOzSBl8kwcM/efi0JlsF3Hh1UuGmicv12/d/MoG3rg4z5uKa5SdqxMNknM44H3c8tOpQ7VS4WRLNETEpnnyMz5i4v5zBz41CmxH5K06LhmHnB0YxoTH9hrDdsFGPPZzaTIQeTfhbrlJSZq0LCoNQVvLB4Cmp04ebKhzIkn4IJoXZYwzK X-Gm-Message-State: AOJu0YwXLZSfmChmniuAIXh4iFtSfk9q5sQr8+56ZANOFwoFqDPe8kfA KC9qlNhx3jsve1L5vmkXhnxUz0Ph5vm9YFcwGFReKxncXT79LCZd X-Received: by 2002:a05:600c:474a:b0:420:29dd:84d4 with SMTP id 5b1f17b1804b1-4212ddb68e8mr65427985e9.13.1717362417280; Sun, 02 Jun 2024 14:06:57 -0700 (PDT) Received: from krava ([83.240.60.202]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4213cd1c075sm14484845e9.0.2024.06.02.14.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 14:06:57 -0700 (PDT) From: Jiri Olsa X-Google-Original-From: Jiri Olsa Date: Sun, 2 Jun 2024 23:06:54 +0200 To: Jiri Olsa Cc: Masami Hiramatsu , syzbot , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, bpf@vger.kernel.org Subject: Re: [syzbot] Monthly trace report (May 2024) Message-ID: References: <00000000000061fac40619ba66f6@google.com> <20240602120950.8f08ef16ad9c485db374c08d@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sun, Jun 02, 2024 at 10:52:43PM +0200, Jiri Olsa wrote: > On Sun, Jun 02, 2024 at 12:09:50PM +0900, Masami Hiramatsu wrote: > > On Thu, 30 May 2024 23:50:32 -0700 > > syzbot wrote: > > > > > Hello trace maintainers/developers, > > > > > > This is a 31-day syzbot report for the trace subsystem. > > > All related reports/information can be found at: > > > https://syzkaller.appspot.com/upstream/s/trace > > > > > > During the period, 1 new issues were detected and 0 were fixed. > > > In total, 10 issues are still open and 35 have been fixed so far. > > > > > > Some of the still happening issues: > > > > > > Ref Crashes Repro Title > > > <1> 705 Yes WARNING in format_decode (3) > > > https://syzkaller.appspot.com/bug?extid=e2c932aec5c8a6e1d31c > > > > Could you send this to bpf folks? It seems bpf_trace_printk caused this errror. > > (Maybe skipping fmt string check?) > > > > > <2> 26 Yes INFO: task hung in blk_trace_ioctl (4) > > > https://syzkaller.appspot.com/bug?extid=ed812ed461471ab17a0c > > > > This looks like debugfs_mutex lock leakage. Need to rerun with lockdep. > > > > > <3> 7 Yes WARNING in get_probe_ref > > > https://syzkaller.appspot.com/bug?extid=8672dcb9d10011c0a160 > > > > Hm, fail on register_trace_block_rq_insert(). blktrace issue. > > > > > <4> 6 Yes INFO: task hung in blk_trace_remove (2) > > > https://syzkaller.appspot.com/bug?extid=2373f6be3e6de4f92562 > > > > This looks like debugfs_mutex lock leakage too. > > > > > <5> 5 Yes general protection fault in bpf_get_attach_cookie_tracing > > > https://syzkaller.appspot.com/bug?extid=3ab78ff125b7979e45f9 > > > > This is also BPF problem. > > this one seems to be easy to fix, can't reproduce with either the change > below or with instrumenting __bpf_prog_test_run_raw_tp to set current->bpf_ctx > as in __bpf_trace_run > > will send a patch > > thanks, > jirka > > > --- > diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c > index 593efccc2030..fc303c20f402 100644 > --- a/kernel/trace/bpf_trace.c > +++ b/kernel/trace/bpf_trace.c > @@ -1148,6 +1148,8 @@ BPF_CALL_1(bpf_get_attach_cookie_trace, void *, ctx) nah sry, sent wrong change, should be in bpf_get_attach_cookie_tracing will send formal patch jirka > { > struct bpf_trace_run_ctx *run_ctx; > > + if (!current->bpf_ctx) > + return 0; > run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); > return run_ctx->bpf_cookie; > }