Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp154447rdb; Sun, 21 Jan 2024 22:49:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8+xtkDzdvNc4ubNn80x7zovfFp5Ua610BlnUGtowQbrRFxQIeNt5oQu59jrItxYkGpu73 X-Received: by 2002:a05:6402:344f:b0:559:ea90:90f4 with SMTP id l15-20020a056402344f00b00559ea9090f4mr2033819edc.50.1705906147058; Sun, 21 Jan 2024 22:49:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705906147; cv=pass; d=google.com; s=arc-20160816; b=sUoRZt8BdVs67asIlHD3uFveXv/9JIfyv1MLYc8BNOLt7InQcSzec1mMb9vxzqpJmJ FUEykijtY58sncHh+CltOhLlROs39mrmaXFq1x0EEuAgq+Zx/1dFDwjOu+uNEkFPsOMt 9hZ/0573wiqDY9/G0Gh9qMqxC+UEDJgzRe5NWeruKUkHCI15mk/iwiwbdKmlz7BOUesP O1mmvOFJIE/FeytNf1CrtIeShA4sdtD/OXaYhxy+F+8lAf8NJe4sB6YYYpqv1AlK7zTj +FtBWeq1yxtX/Ocxl3t/PZ/vU0dyyVIGEHUjuWU4KdUkjBJTu/A+6b+5Rd5AdEPonnFx 5BJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=Gcy/WQSoKo8erqj8eiofkaa+oALZyeGyxz+3RjdG26M=; fh=rPYdJ5k2a3MNFY6Cwvyyullq80+itKAraUZ2xwmUhlQ=; b=S2NSKG6D706j3oNd1FwxpL02HltZIzwon4qrbl6mh41K6FXNieGP7XR4wys7jR0iIf vIXyRHFb1B3o4qHUbq5bdOw5OD3rfgocoZeKhmZoJ3LbjKQKZluCBU1KqW++I5uB6lz9 OCexluidzmQdnFkHhsbP3qsf8LdAmviml9iIK60GhZTuU9uSNO+wpbyXpn+A0Pi9XZPP brX+uvrSTYyRz7bxdgqQ1rwPR0QLP8c2eOCkOUf94ecr0hL8LoFew9fa8/8In95LFFkI y8M06suHX3NJGBV+wqRRuywcr1xvQZipIrdBeaKL5hd8KmoRE0myCLE9SuShX2L+QNen LiSg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-32399-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32399-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w16-20020a50d790000000b00559199f4626si8243863edi.92.2024.01.21.22.49.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 22:49:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32399-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-32399-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32399-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CEE111F218F9 for ; Mon, 22 Jan 2024 06:49:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CC6BDDB6; Mon, 22 Jan 2024 06:48:59 +0000 (UTC) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 1343953A9; Mon, 22 Jan 2024 06:48:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705906138; cv=none; b=EcVHC1SGOV/faD7zwQBfzScF+wC3w+JcjwFKinxf95/76bq7OEylOhwP9sXv+y5TkGlDO4Qpq2GwEbOL/khD+7eXBSCsKHa4PxZAKK8aTNfijfsfbwdvx3oqSAptc92FXAPRvkncFORMqojIbX+w6ovQvzvs358zNibe2L0OPKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705906138; c=relaxed/simple; bh=iYX5btOvXZ+HVrdCnYVC3rkClh4t1gU4z6NCu1jAYt0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=b587g1oajkkq61UYgnoorX5eMiHaFxyx3e3KhWW2NhxWmLvFqAitdpTuP4xZoVp6MWj2WTexTbl2VAkSnipQRvMsROhmr6NkzFbreivcy/ktNmLgv5hB+WgXKUa5uWuRlq+sIVLPm6XRrMfHg9HVQRrRzGrpSPIS5KUdAQeIuU4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-50eac018059so3593274e87.0; Sun, 21 Jan 2024 22:48:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705906135; x=1706510935; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Gcy/WQSoKo8erqj8eiofkaa+oALZyeGyxz+3RjdG26M=; b=GjVA5I9Pxv/eeO44pz13VczPWRzCNYqcMK5Wj8bAvvndw87but8kym8l4IWjXyZ56i xjvqgQccWDgxf9QONkqYNKiQBKZctECMKW68Zgzl2kuKhLo1pkYrS0rG8T7KcUyTEc/Z z3mTJxrBGU0JpbBfYH9DTWxvSFHY/6nS4j5a6VpaZvf0RMpweK4jrQMJXhmzrszuz+oo 6mJh+9ZKW2Hr0829c+ePJ75Sf57/0GuaVxLd4zCIDRnPkia5d7LJrKK+YlYKmUkQ6qUA doBBXpE2rj0ypMSJW/EdYZdKD1qT7bk46tf0XE82wJ817mDOw97lubYtBaJzQHA4utAl 0zwQ== X-Gm-Message-State: AOJu0YynhIqYtWvQZiEuLoNBKpkhRIWLcrKk5rtJnY9ffcD6FWIHYCyt sJG7D4HG+DLS0l3ug3lda+2jolCoQrqn4tu3gHgnZh5nxVGwQ7hr X-Received: by 2002:a05:6512:6d2:b0:50b:e713:574d with SMTP id u18-20020a05651206d200b0050be713574dmr1859640lff.75.1705906134688; Sun, 21 Jan 2024 22:48:54 -0800 (PST) Received: from ?IPV6:2a0b:e7c0:0:107::aaaa:59? ([2a0b:e7c0:0:107::aaaa:59]) by smtp.gmail.com with ESMTPSA id k3-20020a170906a38300b00a298d735a1bsm13236294ejz.149.2024.01.21.22.48.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Jan 2024 22:48:53 -0800 (PST) Message-ID: <82aa07d4-13ac-4b1d-80cd-0970c71752a5@kernel.org> Date: Mon, 22 Jan 2024 07:48:52 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] tty: vt: check for atomic context in con_write() Content-Language: en-US To: Tetsuo Handa , syzbot , syzkaller-bugs@googlegroups.com, Greg Kroah-Hartman , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-serial References: <00000000000039f237060f354ef7@google.com> <83414cb6-df16-4b6d-92e3-d54d22ba26cc@I-love.SAKURA.ne.jp> <9cd9d3eb-418f-44cc-afcf-7283d51252d6@I-love.SAKURA.ne.jp> From: Jiri Slaby Autocrypt: addr=jirislaby@kernel.org; keydata= xsFNBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6neJ i0WqPlbtIlIrpvWxckucNu6ZwXjFY0f3qIRg3Vqh5QxPkojGsq9tXVFVLEkSVz6FoqCHrUTx wr+aw6qqQVgvT/McQtsI0S66uIkQjzPUrgAEtWUv76rM4ekqL9stHyvTGw0Fjsualwb0Gwdx ReTZzMgheAyoy/umIOKrSEpWouVoBt5FFSZUyjuDdlPPYyPav+hpI6ggmCTld3u2hyiHji2H cDpcLM2LMhlHBipu80s9anNeZhCANDhbC5E+NZmuwgzHBcan8WC7xsPXPaiZSIm7TKaVoOcL 9tE5aN3jQmIlrT7ZUX52Ff/hSdx/JKDP3YMNtt4B0cH6ejIjtqTd+Ge8sSttsnNM0CQUkXps w98jwz+Lxw/bKMr3NSnnFpUZaxwji3BC9vYyxKMAwNelBCHEgS/OAa3EJoTfuYOK6wT6nadm YqYjwYbZE5V/SwzMbpWu7Jwlvuwyfo5mh7w5iMfnZE+vHFwp/wARA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wPmX2mWEoYuaBU0JN7wM+/zWgOf2zRwhEuD3A2cO2PxoiIfyUEfB9SSmffaK/ S4xXoB6wvGENZ85Hg37C7WDNdaAt6Xh2uQIly5grkgvWppkNy4ZHxE+jeNsU7tg= In-Reply-To: <9cd9d3eb-418f-44cc-afcf-7283d51252d6@I-love.SAKURA.ne.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 20. 01. 24, 11:34, Tetsuo Handa wrote: > syzbot is reporting sleep in atomic context, for gsmld_write() is calling > con_write() with spinlock held and IRQs disabled. gsm should never be bound to a console in the first place. Noone has sent a patch to deny that yet. Follow: https://lore.kernel.org/all/49453ebd-b321-4f34-a1a5-d828d8881010@kernel.org/ And feel free to patch that ;). thanks, -- js suse labs