From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) (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 64B701F9F7A for ; Sat, 20 Dec 2025 19:22:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766258561; cv=none; b=VafpZ/Pzp4BF7LLH2ubIrw6TwbDtK0mxHu4300JJvEtcHW7Hots8smOOmD1OU8GFN0RG61Hvgbt3XQ7HM6rucCooak9zmTFP6PCQZvHqTs0A4l3rYsmPqKAMyFlJBnIGdr2ynDOyaF1jW6ezTLGrNWcksD0ySgP5FEl6+jaNCW0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766258561; c=relaxed/simple; bh=aPQ85anu1Ii9wOobTneYzg/6ZS5Hyrvmo96LnNAxUbQ=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To:Cc: Content-Type; b=T/OrsHAHlpt5V3iYKGmut8+7d8eRoA+qGJcn1DmEl2pFOu89rzRd7arWIlAlyW90p41AUcv4cSwx7HHlDE8dBUVVaWDzGcgv9VD0h49x+rmol0KN3JNvU3FAlSczU3x9vyjNdjeAC63Cc6HCNMasyIrHIPgDAhs70KDKMsTyzAs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.210.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-ot1-f70.google.com with SMTP id 46e09a7af769-7c6c91ba9caso4575446a34.0 for ; Sat, 20 Dec 2025 11:22:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766258559; x=1766863359; h=cc:to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wXBuMKsbM+KwTrBICDHBdfzXtgBQf2h5Z/6bZ4D2vbk=; b=VHG84JjOFalVpCzrAZ0FI+WcWzd43/sOiGgxr5DFc/p8lA3Z5dwqXsmf2b9fGtT0OY aQIODpqqt3sHkfCY1KJTORp3WmapRLdrwttrKBqvcDfb0zPt9mZdv5tU3e/2agLqxU7n Ry9McBufW1yxkhAP3iXOP2iQBhqkLNvl3CqZkwxMXaxpPVySHGnyJ0Np56/MXZHtl89Q Z6ML5qf+7DIz9RsdDQ20Xyx+NNY7QWh2/3tOGfYWnFu3GKMqXnncOuH3Z9v8QMmK36x/ OMIiIhr9tgVygsjul3XWGjsoiO8eZqgfdGeUrRAPlb0VAlgDy6WeDb3J5EzmpeyjPQCJ jJ3g== X-Forwarded-Encrypted: i=1; AJvYcCVxxYVSGIuWCa240HJ3HZBI4UrwpAPjyYHARuYEuVTVzyWw6Jvaavg38P4VEgGdcFIHrvOB1QQUfhmnYOo=@vger.kernel.org X-Gm-Message-State: AOJu0YzEUhGufDEzu7Cnj5l8P14uztF4vmhvI7phwyDRgziYbfW4i13l ZTW8m5WNHSTJLjt553d0/tfEOYSBW1yTCeyynCmOedKqoqTNfYvUTw05+gP3zmQZUDOwyGnhR7v 7GKQI1n3wUlaU8fd0HRBK+t8Ij1X7Uccwn0SImZvhgko+grZhJmURghq8fFI= X-Google-Smtp-Source: AGHT+IEFvvW4sFfICXsBjWL7HLiwQzByWYxuBpxiryOzRSkiF+Rs7HQiqXIBG29DxZUQGipiZQleuih4ce9em2r6jbf6FZrMgkh0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:2291:b0:659:9a49:8f25 with SMTP id 006d021491bc7-65d0ea9c905mr2793790eaf.54.1766258559494; Sat, 20 Dec 2025 11:22:39 -0800 (PST) Date: Sat, 20 Dec 2025 11:22:39 -0800 In-Reply-To: <20251220192210.399423-1-szymonwilczek@gmx.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6946f77f.050a0220.1b4e0c.0023.GAE@google.com> Subject: Re: [PATCH] dma-buf: fix WARNING in dma_buf_vmap From: syzbot To: szymonwilczek@gmx.com Cc: christian.koenig@amd.com, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, sumit.semwal@linaro.org, syzkaller-bugs@googlegroups.com, szymonwilczek@gmx.com Content-Type: text/plain; charset="UTF-8" > When a driver's vmap callback returns an error (e.g. -ENOMEM), dma_buf_vmap() > triggers a WARN_ON_ONCE(). This is incorrect as vmap operations can legitimately > fail due to resource exhaustion or other transient conditions, as documented. > > Fix this by removing the WARN_ON_ONCE(). The error code is already correctly > propagated to the caller. > > Reported-by: syzbot+cd944c467e4d4bc24cf6@syzkaller.appspotmail.com > Closes: https://syzkaller.appspot.com/bug\?extid\=4317d7108e14e5d56308 > Signed-off-by: Szymon Wilczek > --- > drivers/dma-buf/dma-buf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c > index edaa9e4ee4ae..14b55f67ee1c 100644 > --- a/drivers/dma-buf/dma-buf.c > +++ b/drivers/dma-buf/dma-buf.c > @@ -1525,7 +1525,7 @@ int dma_buf_vmap(struct dma_buf *dmabuf, struct iosys_map *map) > BUG_ON(iosys_map_is_set(&dmabuf->vmap_ptr)); > > ret = dmabuf->ops->vmap(dmabuf, &ptr); > - if (WARN_ON_ONCE(ret)) > + if (ret) > return ret; > > dmabuf->vmap_ptr = ptr; > -- > 2.52.0 > I see the command but can't find the corresponding bug. The email is sent to syzbot+HASH@syzkaller.appspotmail.com address but the HASH does not correspond to any known bug. Please double check the address.