From nobody Sat Apr 4 00:14:22 2026 Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199]) (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 925BA27FB05 for ; Sat, 21 Mar 2026 18:07:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.199 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774116474; cv=none; b=I+26G9kXPCPNoCOXd+8ghu+auJwRi/GIA0jBpy1giuYzo97FvTJhqYBnhxFwKZUsnnRQgYQVB/FcA+b6WY9ViDqakqVGukVVowfsM48zrntAdjEP7/JNm0YaXMMR1xfkKG3E7deU3PR6qVXKm7bNKHMxrrBpSP3eVqk9otKTMCY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774116474; c=relaxed/simple; bh=z+7sSP5uD8p73c8coxOpU/n12Mpj74AS2pRG4hHCDfk=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=ggz6bC7Ylsh2juRVVeQfAAWDNbPp2fEGJVQjlZFeP0G86DaDtP4TYyUFKTGgQu4zGnf6T+Qv3pqJLgzQik573G7dyGAtkexcbpTmydIZV1S9Q4p56FTXl93JZ/N83b9gOYrLIV7WOQFY2hUo8Vr6QcgghPgUN5wf8Usq3+hhXXI= 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.167.199 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-oi1-f199.google.com with SMTP id 5614622812f47-467c9c61cadso25469493b6e.0 for ; Sat, 21 Mar 2026 11:07:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774116472; x=1774721272; 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=tsDX1D1EO+Ly/iVk5lmoU4uXNzV1e++/2RMgC+jNE1k=; b=PpI9dIi1W/vrUuOWv/xIADh6USEX0FL7fwdK9ABogb+ZaBSHbm5g4jvKiHTJj541hq c0IghEQ/VkB0M7pt6TlD/mwWuF1QPejypsmfIPl57t+Mmdwse7yqaQqQxU1DBJDbSzzP T82suo6Ry+3pfiQIe+jrjUf3JO8mrkOjlfLypvK0DSRR+QwZk7ZJhuleUf5fjqJ0HHml SdpV4kIuscsCkbcDQyCm+CLFOzrJgzDDh6ZfZYh/N/JzyuWHKC/B5Xwc1NYq793VYosE x28KopJEewntDOBNm5xvZ5MrDct/6Nw9giwguoH3ga6qyO0KvGbdWnUqjmJJzXuTuWoK 9eiw== X-Gm-Message-State: AOJu0Yzzuf4kLDpqOf7xTgBQgRaLfwM7XCAlTnP941qqkxV1/Cx2pFpg ItMLAN5Z2q/ILiDc4Q0fnVmjQHQo8xuk3GgQw5P4Rif50cc+c+L7+hijRVoIMjr4xdtZTlbVvrF 8n9TOE55DAWdsG0h/hDB3FW0inCv9qgbjLVhQBFwFjt2DO27Ftrvv7hdLyco= 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:f029:b0:67c:c4e:4dc with SMTP id 006d021491bc7-67c22f744c0mr5705062eaf.34.1774116472653; Sat, 21 Mar 2026 11:07:52 -0700 (PDT) Date: Sat, 21 Mar 2026 11:07:52 -0700 In-Reply-To: <688fa86e.050a0220.1fc43d.0005.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69bede78.050a0220.3bf4de.0057.GAE@google.com> Subject: Forwarded: syzkaller-bugs@googlegroups.com 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: syzkaller-bugs@googlegroups.com Author: syoshida@redhat.com #syz test diff --git a/security/integrity/ima/ima_crypto.c b/security/integrity/ima/i= ma_crypto.c index aff61643415d..7b721b9c944f 100644 --- a/security/integrity/ima/ima_crypto.c +++ b/security/integrity/ima/ima_crypto.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include =20 @@ -416,6 +417,12 @@ static int ima_calc_file_hash_atfm(struct file *file, =20 if (rbuf[1]) active =3D !active; /* swap buffers, if we use two */ + + if (fatal_signal_pending(current)) { + ahash_wait(ahash_rc, &wait); + rc =3D -EINTR; + goto out3; + } } /* wait for the last update request to complete */ rc =3D ahash_wait(ahash_rc, &wait); @@ -491,6 +498,10 @@ static int ima_calc_file_hash_tfm(struct file *file, rc =3D crypto_shash_update(shash, rbuf, rbuf_len); if (rc) break; + if (fatal_signal_pending(current)) { + rc =3D -EINTR; + break; + } } kfree(rbuf); out: