From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 1BDE547FB1C for ; Wed, 2 Sep 2026 12:09:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788350985; cv=none; b=Z1Q19KZ3hXOHjr8vCWq/m8kYri9AhkGDTzjeus/I3ud2M7AAs2c5Xk7mTL+wSpALp3kNSLEhRc80O2n1IwyNbw2Ks5f+XHkii2bB4kWT2fnLw3zGYK5EjRVGtV2BAa+VEQuv0rOaDvn/Qg7D4MTHOUAkpz516Tedw6El2Tc3HtU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788350985; c=relaxed/simple; bh=GTLCTugw7PjjvVnLCGl/oOTPq/b39jKFstNMsphi4vM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=R+X1T+jEPJwrf0Dc83uLaqzww5YJz/43dD4zGxD7fVgSHX8IBZj5uI/cA2mgt1OE+apMZIG57s1PeQW2zekvkZCenjwnFj9tdNK9vK/6wGC6GoigEKYnxFEF7VxodSy+Z9SxIuM2ZdPUATSGyMxW9WwmYwtuu4OXgbuBHwfH1Mo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Fx9WXIjc; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Fx9WXIjc" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-47f96c5b722so704789f8f.0 for ; Wed, 02 Sep 2026 05:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1788350977; x=1788955777; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=cpv4ZZhQaX1kdYbkUZt5Cm50+G2KZgBu15PDYo6wGO0=; b=Fx9WXIjc9tFoB+puGS7uNB+7hiVoiTnw/bXD8PoBgNROG/eDIV0ogbpD7WkdmfIoph eyaCG1UYCyuu/DFeMW46YqPg1Jk1/duzRSRsBJW877JWSksGvz3ze01zhJyoW3pHla2K ffHleycdGK9KpU+lKApuGpLylXbWuneU+bDHTogu+VESouaUAdnSFHnaBsbBVK3qpSzv SknU520PLpW3QZdIObCmM7DR3pCF9fDxz1yLQR6ok5H8WlgVZz449rmoecS/gdAbtwsQ Gxp5SYGpJZuM7ZmOZx5sRDQkK41Jy+bwr/oJVRJp7IFX8UaXEkGNhaKaDQwrEp/MVyf4 zOFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788350977; x=1788955777; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=cpv4ZZhQaX1kdYbkUZt5Cm50+G2KZgBu15PDYo6wGO0=; b=dQCvFB2dHnVyqEMuyStNqZRDL2TshgWphY/QRJ13c/qol9ZYsvQCddY6hz6wP6NnK7 kUKVrj3oohpBERCjd9kRppaG1OCyxax+94AlGLa8z1CHqsI+IdWVy5NzCZjZXnjUBSZj z2mzhvw1Kg1jJ5+KGi3cesFx/gP9i+2HZnBt9wQjY+E+iFMbXv2CvrzXugMk/Oyk7anc 7UQEbgV9Wn5wlqSYCeXVf3tILRk+cdOYS+lTLBaq2bFDRuxOgxppBInKcI7BNjEaTq6G fzMSImXSRfiLtRFpxsH+rZ6mXnO5nCO/3qbLDYt8uz8FvFibT9ora+TLmL7d2fQnccfr ZkNw== X-Forwarded-Encrypted: i=1; AKwUvBwOyALH0Oto3l7JxyppUbS+xNL9s5K69oPun/iLDkgGdV6xaJPU+Y60J/P5VzVTB5y8NuTb41pJ+aHGGy8=@vger.kernel.org X-Gm-Message-State: AFuF++nDXPP8wMRpfolp/EN6TejOFRYSwzTkFmskGZGd0i8UJ4gRN71y AuKe57mMdjAEgrrYksEc9Q89fzz9UatY2zs5vKJlAtyFuEShrASwT5qytled0fy4Bm4= X-Gm-Gg: AYBFou36AFmu7gdVHozd/zDSJcjQ6ZkQ75SNUmZ8gCyAeD4NKRSBDdev+p+y++55OvI YbwlSzV3LMwIUZQNKgsKWnY3zhcAd6xrMqVEq8dsjaaL3j9a4E3oPGq8YJfFY4Btmkb88O4Rj7V 0h+CqgROy8sFxwOoGtHRqwCzFuCjqXiF4dsFBdUAQNBlrVRVfXqmbZEN1KLsRYeD5n+Kebep2DF fgy0/eYTiXyHvIi6StD3oTDH6CGqTaX58ODpprWtfuM9ncsBWQuvwqGn4tZnKilMoi3gcEjErJj UBtR/6YRGozfiYpMJ1d5U2oOkSGInjkYXmc2cEbtPw2OkpFJj+vK4nnwi9cHqXiAbywRYC13Lmc xbi0vK0l18Y6NQnWk6GsVKHLTr5FhrM3AGzueDtpGK31QOX0yjICx9XFNOi+u8sWk9vcRm6s6kC /SnL+ewx+JsY2xgScqsrBSlLMwAIItj9/Q06dyBWQtJ3c5C81zoRBXZMIoDcCE4ZE2ZPCOLf8rF zWaJHI7ATMs/fVOGCkg1D9l0/9uonX6rhK0hQYp X-Received: by 2002:a05:6000:61e:b0:484:36c8:ffde with SMTP id ffacd0b85a97d-4847b625aafmr8604788f8f.0.1788350976883; Wed, 02 Sep 2026 05:09:36 -0700 (PDT) Received: from ?IPV6:2001:a61:1304:a201:f0d3:bdff:55cd:3f16? ([2001:a61:1304:a201:f0d3:bdff:55cd:3f16]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48448e6f604sm6073105f8f.2.2026.09.02.05.09.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Sep 2026 05:09:36 -0700 (PDT) Message-ID: Date: Wed, 2 Sep 2026 14:09:35 +0200 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: [syzbot] [usb?] [input?] KASAN: slab-use-after-free Read in k90_record_led_work To: Jeffin Philip , syzbot+0b8bff5929865345b29e@syzkaller.appspotmail.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <6a937393.1d9ded08.62e62.0113.GAE@google.com> <20260831054632.18179-1-jeffinphilip14@gmail.com> Content-Language: en-US From: Oliver Neukum In-Reply-To: <20260831054632.18179-1-jeffinphilip14@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 31.08.26 07:46, Jeffin Philip wrote: > I believe there is a patch for this already[1], but it has not been merged > yet. Was written just as the merge window for v7.3 opened, so might have > been the reason for not being merged. > > [1]: https://lore.kernel.org/all/20260817072831.139954-1-ccc194101@163.com/ Looking at this patch the following sequence seems possible: CPU A CPU B enter k90_brightness_set() if (led->removed) [FALSE] Enter k90_cleanup_backlight() drvdata->backlight->removed = true; [TOO LATE] cancel_work_sync(&drvdata->backlight->work); [NOP] schedule_work(&led->work); [THIS IS BAD] Just cancelling the work is not enough. Regards Oliver