From nobody Sat Feb 7 17:13:57 2026 Received: from mail-oa1-f69.google.com (mail-oa1-f69.google.com [209.85.160.69]) (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 617C32C028B for ; Tue, 23 Dec 2025 09:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.69 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766482698; cv=none; b=Wglb7EhWbRO/qBVPO6FS/72ZVdKskIWqgrcrFnsmEZX9YJ7UJ8btK0brOFEDKR+eEzLmXWkoe8bYVQJM14j4km5g/VmbdKeBAF/UdHMhKhr09ihLMEyqh2T/asEQv/W+g9ISJuNTdEGx+8xu29bOtYpQWbhc56/bB3Uyfwc3LiE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766482698; c=relaxed/simple; bh=GXXwZgfwyHhjYclByiMmBLFgLURcwJzHI0rjbx1VtTc=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=rcCq5eyATr/ufBsexKBcBy/tbw9qQI39qY10h8UIZ1bxXD0HK4kIKaJtfVzdv2vuiKeSLNUZSvHvz+GBcw25ZHcS8/DMe5uls7NXMzNLSGb11XA3gAcQzDSKTSjt/JgqUUvmDu/1gCGTmUWmPXB3TJiml7rqjpV5AEpm64DkoPY= 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.160.69 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-oa1-f69.google.com with SMTP id 586e51a60fabf-3ed141de56aso7170936fac.2 for ; Tue, 23 Dec 2025 01:38:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766482696; x=1767087496; h=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=YiQzCa03khYHkVZZnRsZktuD+OFX5ipFcwHNOwHdSOg=; b=iFVQMlVfTk8TMX5qDfqVtuCDfgeRJ5wj3S7Ilu1MmeZtbr7JKnQQKCpQWcF7MknS+H HOrnZe5zUD6eUBHZFejuVgxqplSulglkMMptBFIr3V3Mbkac5LYRonivhzZN1/daiGWb ZS3GZAVh/LnXoJ/0i4ulz2fLOmsWDakM9soxtxgchsx8NGgAAq1lhL6RuDCyKxcGljqD A6a9Ziy9k5UiPk6fja943eygtewBm3o/3LMrkQxYY1NZ1HEzbpZHWnsQemT/menBeTXe 9W5phWALAGTyUAz7Z5skkzUG/woStDxZBs0iWgyM2aV0zwv+qiWu6N9k26+OafVOnrT/ w3PA== X-Gm-Message-State: AOJu0YyeRpaSB38yvtYMNAr/n8uhXef3i3GM5h3wbolDmX7xVJ9sn8pI O7PRQMB2VpzNxPwJL0yq8QRR6vCgTW65OF+aCmpuYHwJO2+0G7UbOT4bsSg9rqUBKf7gGQI7g46 ARhCqh/wLfrjA6m4nXJ6Gtxlv4JbsdAKSuG46x3bx6xwKCGRBKSu/+b5MMa4= X-Google-Smtp-Source: AGHT+IEMGKQC/uzctwqNlKmQuLHAHaBTKsZWiNp0S1iMPQKlwoQIqsSFFkJg8Oateugm07CGSI2hIV5O7yTrZMLnFVGeNVQiG6no 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:602:b0:65d:363:b869 with SMTP id 006d021491bc7-65d0eb125c5mr5786657eaf.71.1766482696348; Tue, 23 Dec 2025 01:38:16 -0800 (PST) Date: Tue, 23 Dec 2025 01:38:16 -0800 In-Reply-To: <693540fe.a70a0220.38f243.004c.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <694a6308.050a0220.19928e.001b.GAE@google.com> Subject: Forwarded: [PATCH] for test From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com. *** Subject: [PATCH] for test Author: wangjinchao600@gmail.com #syz test Signed-off-by: Jinchao Wang --- lib/buildid.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/buildid.c b/lib/buildid.c index aaf61dfc0919..7131594cb071 100644 --- a/lib/buildid.c +++ b/lib/buildid.c @@ -280,7 +280,10 @@ static int __build_id_parse(struct vm_area_struct *vma= , unsigned char *build_id, int ret; =20 /* only works for page backed storage */ - if (!vma->vm_file) + if (!vma->vm_file || + !S_ISREG(file_inode(vma->vm_file)->i_mode) || + !vma->vm_file->f_mapping->a_ops || + !vma->vm_file->f_mapping->a_ops->read_folio) return -EINVAL; =20 freader_init_from_file(&r, buf, sizeof(buf), vma->vm_file, may_fault); --=20 2.43.0