From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 C32A43C0C for ; Sat, 3 Jan 2026 11:33:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767440033; cv=none; b=i06YSK/B3AII0P82IZCoWKucIOn/Yr0mGBdieV145C0OuqfN82vIenwfVfVGB5AdssQgYDuJNl4F5xOI4AGJRFKisXyvGBzyEnZajvXJXIvJZMLtwG8AZCJMkbUmzFjBiMdmWD/qWqatgPZDRDdT0Wt1I2fUcV3OlZSLA03ztFI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767440033; c=relaxed/simple; bh=R29kdBhr4Ys/fp6QB97hNwawADUCldVF5jOA/zcRW9c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UCTTJCFVkwVkPBk6YE29NkzoD9CAUs6tsJDifDAK5EEjA95IXN7p6ftBlfZRPTCfd2SCO78lNvz2ufo+V2uWeHLGjrIJ6FtYio3NoNSS04PPBeQkY8jOJjM50eBHMxaMgp58Q020a4EJH7lor8eqB86U2MwXWPvvphag5xcxMKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cCd6Cg+t; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cCd6Cg+t" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-477985aea2bso11462895e9.3 for ; Sat, 03 Jan 2026 03:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767440030; x=1768044830; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=ufcefJVsovNbptadQDCIANuVGLP5nh4jVV/94BHGrao=; b=cCd6Cg+tCbHc+EcYJ4kPesGFDwM4X+AmhlvQSJLI/4WMv5b0BeuiY8wndt8ZOuU/kr MwFq2XMlJAAKNVkucmhU0qYMBXD40KtG+VcC7YJ+cHC6EJfahKhTJHjZEqDGx/Md5iaK uIdpMZ/XHsxswaufyuIqWqtTuqVCULPIx9FOnFwSG8+5XDT/+z1BMDmwvHxXh3upXulb IHfjtw2c2KbRCpwkKOUbXx8mTNqIeQdp+ArV3CLPttO5DhBmrGYJCvdh927A9GVPbhsd m5mKlBb11V5ZayNJ61GiArC0nIzGY7d6cN6dZjxQ17P0Nz9hYAtIGKOfOwmYl5O8tOvc bdwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767440030; x=1768044830; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ufcefJVsovNbptadQDCIANuVGLP5nh4jVV/94BHGrao=; b=QGLZE1iAouRhqXhPNfzzUCPFu7FJ3V+lzukK3d3gjZbjHR4p7cdzXk4Pxzhd9yrbhU 5l3WyDLGfN3FncEuzRAwCoaB6KqhzdSlFMTdM+lvi1CqyJEbi7A2QrOuVpOMtY8xieYD z4ellJY9DTzLqVD+Ey5R4inIZFyI1krMzXPYVoyS7nx3+am2wTszK7HmkRpd3bLasah+ 8Xu+8DrmifIDJg210XDzQ/OI+4tdeBA2GVat18i7FILuM8RtDLqrGgcxg6KoQgyvzQoV ZzOca1ypylHZZRSFdG1qi7wuN1fpD43ccyiIc1cfNgtsMLr+butMXrBzjMp9cW9N3bQR +6/w== X-Forwarded-Encrypted: i=1; AJvYcCUXV67K5V/tGiUhCTgc4FO51Nz9lgmPypUO7JMf98w+HHaATEutCywjuXr5djgIdUOsf5S+61RdazoinLE=@vger.kernel.org X-Gm-Message-State: AOJu0YzXlYs3X0PLwOFKEOVrYeUs5ZXlGp6cnfBg9fuY2kxD9vYwgNU4 Nd8eVRv6iXxdKhGTyNBKQf0igrxbgYh9AI+vruTxrQ6qZMFTJIf58Yc8 X-Gm-Gg: AY/fxX4Q8Xrgv3OSckzBax4VdtkODmjlmBT/cjFKZMHj73P2BrgIjtnWiZJib/q43ux BWUm9GESItQvT+QFPJy1K5gGzZtsDwza7Xe4Ag2vkTNIF1WAOGI+P8alagXbdayjdJeq5Pc4/Ww jUcraHts6d25wNPKKy6oN8TKM71RyM7+2q+5RRT+GU2hC3RlObH3t82aAqfUAmIXc2uVMmMa1Cm yfDJFgyCZMUBYdkUnLd92/d+qoN7GEMSJxKT/Tapgunhw7QHAR4cFTG8xppSBRKvd59OVfINqlQ a/ra3kj66NezLDYcDieRs5ggqpE6EGVrav9a6VIxZqgpw8ZIuIKalopAvIkfqpEZ7sUY5jqb3Uc rnP+R7SUTnsD3K1NMyXRLU+RZHnPJhlgpDJDr7LXuK3f2PIl+oEc1NasYKRPaya6ZHtKmLnx1Qn +FZhf7Kz6nMDH05VP3QJB6Fw== X-Google-Smtp-Source: AGHT+IH3pBngYGrXfax3dXFTdYtopPEIucZI6Xy95b+JVFKyiDopAVgfxaAI2m507ZcWZ3YvIO71Ow== X-Received: by 2002:a05:6000:4020:b0:429:bde0:1da8 with SMTP id ffacd0b85a97d-4324e70cadcmr33580502f8f.7.1767440029849; Sat, 03 Jan 2026 03:33:49 -0800 (PST) Received: from debian ([88.97.178.141]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4324eab2a94sm89501609f8f.43.2026.01.03.03.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jan 2026 03:33:49 -0800 (PST) Date: Sat, 3 Jan 2026 11:33:47 +0000 From: Sudip Mukherjee To: Paul Menzel , Salvatore Bonaccorso Cc: Sudip Mukherjee , linux-kernel@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, regressions@lists.linux.dev, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Hans de Goede , Ilpo =?iso-8859-1?Q?J=E4rvinen?= Subject: Re: BUG: kernel NULL pointer dereference, address: 0000000000000000 Message-ID: References: <6ba903ad-9897-42bb-8c2d-337385cc3746@molgen.mpg.de> <49cdd663-bcbd-48b4-ac38-77ce94ef0c8d@molgen.mpg.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49cdd663-bcbd-48b4-ac38-77ce94ef0c8d@molgen.mpg.de> On Sat, Jan 03, 2026 at 12:01:19PM +0600, Paul Menzel wrote: > Dear Salvatore, > > > Thank you for the follow-up. > > Am 03.01.26 um 01:59 schrieb Salvatore Bonaccorso: > > > On Mon, Dec 01, 2025 at 05:05:59PM +0100, Paul Menzel wrote: > > > > Am 01.12.25 um 14:25 schrieb Sudip Mukherjee: > > > > On Thu, 27 Nov 2025 at 22:55, Paul Menzel wrote: > > > > > > > > Am 27.11.25 um 19:51 schrieb Paul Menzel: > > > > > > > > > > > Unfortunately, not reproducible, but starting with Linux 6.18-rc7, I got > > > > > > the oops below *once*: > > > > https://bugs.debian.org/1124075 > > This is > > AMD AM5 ASUS ROG STRIX B650-A GAMING WIFI, BIOS 3067 12/10/2024 > > > https://bugs.debian.org/1124463 > > This is > > Dell Latitude E5470/0VHKV0, BIOS 1.34.3 11/20/2022 > > > Does it make a difference to cold-boot or reboot into the system? > > I only did cold boots, and I am not able to reproduce it anymore, and wrote > it off to some hardware issue – despite the system working fine otherwise. > > I am adding the x86 folks, and regression lists. Thanks Salvatore for the Debian bug links. I had been trying to reproduce this but have not seen it on my machine so far. But looking at the traces from the Debian bugs and the trace from Paul, my best guess is that its happening because the low level driver, parport_pc in these cases, has not completed setting up the hardware. When 'lp' starts registering, parport driver will check if there is any port, if no ports are found then it will try to load the low level module. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/parport/share.c?h=v6.19-rc3#n198 As mentioned in the comment request_module() is not trying to load a real module and it depends on the alias. Also, mentioned in the Documentation. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/parport.rst?h=v6.19-rc3#n45 I am not sure why the problem is seen now, but is it possible to test the below diff please and see if that fixes the issue. diff --git a/drivers/parport/share.c b/drivers/parport/share.c index 427abdf3c4c4a..8f45daf7b3825 100644 --- a/drivers/parport/share.c +++ b/drivers/parport/share.c @@ -287,8 +287,16 @@ int __parport_register_driver(struct parport_driver *drv, struct module *owner, */ ret = bus_for_each_dev(&parport_bus_type, NULL, NULL, port_detect); - if (!ret) + + /* Return if no port has been found. The driver has been + * registered, so whenever a new port registers + * attach_driver_chain() will be called which will then check + * all registered drivers. + */ + if (!ret) { get_lowlevel_driver(); + return 0; + } mutex_lock(®istration_lock); if (drv->match_port) -- Regards Sudip