From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0A5ADC77B7F for ; Thu, 11 May 2023 08:07:31 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4QH4J23nqkz3fWw for ; Thu, 11 May 2023 18:07:30 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=TrRGOX+L; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62b; helo=mail-pl1-x62b.google.com; envelope-from=bagasdotme@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=TrRGOX+L; dkim-atps=neutral Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4QH4H63fYLz3bcT for ; Thu, 11 May 2023 18:06:41 +1000 (AEST) Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1a516fb6523so77798105ad.3 for ; Thu, 11 May 2023 01:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683792397; x=1686384397; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=A7QbPnBDL1WlC0RtCpxIH+4dZbN5BQbuvyxRLAdP9w4=; b=TrRGOX+L2x0710EGYTBWrtlPClFSWOELaPCGC2vhtalQnIRtFtvo81NA8mV2DndSq8 3iE3P+eMA+0LCRJlsz2dWx8ApH3/1NatXMyOkQ2FdOn53ncaEpa6KrioKX2zVMFuYYW6 2RWVJUEtjMN2W+J9zKVYxeK7bm/ecYyMuNeu+0684Prb+iqYa/xfZ5GI9HwOp38jRM9B DqNSLiWhqOAkHCJqG/yLJzJ5S9sH+NJhx7HPzgW5qb8xxCJ4RKLi1hUh2ETuaYWLH+vJ nFTSjwJe6UUUMt7dlZFdaBWukWDfLfblYN+S6tsFtsPmX3wYggB85IkSQQJPQEHUCOOy kNGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683792397; x=1686384397; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=A7QbPnBDL1WlC0RtCpxIH+4dZbN5BQbuvyxRLAdP9w4=; b=QKI4a4sRg/44ST/rKLDCo3jrxkgNt0LJ8F7s4sSkW/Z4qAMHA6PqMXUm7SVYNW3Fsz aKxWEN9mGg+VpO5d2F3sM4JJvxF9yCCuPudfkLlfTfXUQUzrqphZdCGKEQqqb+/8r9gt XD8ZGczam7d/YDJxmFGNxxBPuYvAjW34NfgLfKIPBk4ig4araiX/BI6yfClp5iV49+AP 44Cgo/QAX5NF/f7jYocAaMn7ASyI1ph3pLjOcUSjewMW+zrI0GQGXaaQiF5hqaYDBaS6 6isQ9gdJM5Y1O6kg1hdd1t30dC73aWWTy1cISmtH5p5cJCaE4ChyUNUZNDb4+F+sjJPs YOHA== X-Gm-Message-State: AC+VfDzSP8l9ZEerjJtE7nD8aUQ+9z9rOvBKO15BpuZ+GJXsPIrkYTLJ HZgarvzFvXpW6o25YKHoo/s= X-Google-Smtp-Source: ACHHUZ7ULQYFgsqX1Oj0GVr3eEYZZUmzujxkY1jm2RQrpViuEZWmkaaytm5Mkf4lELo/fqD5/gEHTg== X-Received: by 2002:a17:902:e806:b0:1ac:727b:3a60 with SMTP id u6-20020a170902e80600b001ac727b3a60mr16266666plg.4.1683792397296; Thu, 11 May 2023 01:06:37 -0700 (PDT) Received: from [192.168.43.80] (subs10b-223-255-225-226.three.co.id. [223.255.225.226]) by smtp.gmail.com with ESMTPSA id h5-20020a170902748500b001ac2a73dbf2sm5187538pll.291.2023.05.11.01.06.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 01:06:36 -0700 (PDT) Message-ID: <588c1a66-9976-c96f-dcdd-beec8b7410f0@gmail.com> Date: Thu, 11 May 2023 15:06:29 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US To: Linux Regressions , Linux for PowerPC , Linux AMDGPU From: Bagas Sanjaya Subject: Fwd: Linux 6.3.1 + AMD RX 570 on ppc64le 4K: Kernel attempted to read user page (1128) - exploit attempt? (uid: 0) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex Deucher , darkbasic@linuxsystems.it Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi, I notice a regression report on bugzilla ([1]). As many developers don't keep an eye on it, I decide to forward it by email. Quoting from it: > darkbasic 2023-05-10 13:36:37 UTC > > I'm using Gentoo Linux on a Raptor CS Talos 2 ppc64le, GPU is an AMD RX 570. So far the past dozen of kernels (up to 6.2.14) worked flawlessly, but with 6.3.1 I don't get any video output and I get the following in journalctl: > > May 10 15:09:01 talos2 kernel: Kernel attempted to read user page (1128) - exploit attempt? (uid: 0) > May 10 15:09:01 talos2 kernel: BUG: Unable to handle kernel data access on read at 0x00001128 > May 10 15:09:01 talos2 kernel: Faulting instruction address: 0xc00800000d1a805c > May 10 15:09:01 talos2 kernel: Oops: Kernel access of bad area, sig: 11 [#1] > May 10 15:09:01 talos2 kernel: LE PAGE_SIZE=4K MMU=Radix SMP NR_CPUS=512 NUMA PowerNV > May 10 15:09:01 talos2 kernel: Modules linked in: rfkill(+) 8021q garp mrp stp llc binfmt_misc amdgpu uvcvideo uvc videobuf2_vmalloc videobuf2_memops gpu_sched snd_hda_codec_hdmi i2c_algo_bit at24(+) videobuf2_v4l2 drm_ttm_helper regmap_i2c videobuf2_common ttm snd_usb_audio drm_di> > May 10 15:09:01 talos2 kernel: CPU: 0 PID: 188 Comm: kworker/0:3 Not tainted 6.3.1-gentoo-dist #1 > May 10 15:09:01 talos2 kernel: Hardware name: T2P9S01 REV 1.01 POWER9 0x4e1202 opal:skiboot-9858186 PowerNV > May 10 15:09:01 talos2 kernel: Workqueue: events_long drm_dp_check_and_send_link_address [drm_display_helper] > May 10 15:09:01 talos2 kernel: NIP: c00800000d1a805c LR: c00800000d1a8018 CTR: c000000000c87900 > May 10 15:09:01 talos2 kernel: REGS: c00000000beb3370 TRAP: 0300 Not tainted (6.3.1-gentoo-dist) > May 10 15:09:01 talos2 kernel: MSR: 900000000280b033 CR: 88048223 XER: 0000005a > May 10 15:09:01 talos2 kernel: CFAR: c000000000c87980 DAR: 0000000000001128 DSISR: 40000000 IRQMASK: 0 > GPR00: c00800000d1a8018 c00000000beb3610 c00800000d690f00 0000000000000000 > GPR04: 0000000000000002 c00800000d6297c0 0000000000000000 c00000002a00b740 > GPR08: 0000000000000000 0000000000001124 0000000000000000 c00800000d431560 > GPR12: c000000000c87900 c000000002a6b000 c000000000170ad8 c00000001a460310 > GPR16: 0000000000000045 c000000022858388 c000000026000340 0000000000000001 > GPR20: 0000000000000000 0000000000000001 c0000000260001a0 0000000000004000 > GPR24: 0000000000004000 c000000026000010 c0000000228580b8 fffffffffffffffd > GPR28: 0000000000000000 c0000000228580a0 c000000022856000 c000000022858000 > May 10 15:09:01 talos2 kernel: NIP [c00800000d1a805c] is_synaptics_cascaded_panamera+0x244/0x600 [amdgpu] > May 10 15:09:01 talos2 kernel: LR [c00800000d1a8018] is_synaptics_cascaded_panamera+0x200/0x600 [amdgpu] > May 10 15:09:01 talos2 kernel: Call Trace: > May 10 15:09:01 talos2 kernel: [c00000000beb3610] [c00800000d1a8018] is_synaptics_cascaded_panamera+0x200/0x600 [amdgpu] (unreliable) > May 10 15:09:01 talos2 kernel: [c00000000beb36d0] [c00800000b7c2b18] drm_helper_probe_single_connector_modes+0x230/0x698 [drm_kms_helper] > May 10 15:09:01 talos2 kernel: [c00000000beb3810] [c000000000c57174] drm_client_modeset_probe+0x2b4/0x16c0 > May 10 15:09:01 talos2 kernel: [c00000000beb3a10] [c00800000b7c7a30] __drm_fb_helper_initial_config_and_unlock+0x68/0x640 [drm_kms_helper] > May 10 15:09:01 talos2 kernel: [c00000000beb3af0] [c00800000b7c5b08] drm_fbdev_client_hotplug+0x40/0x1d0 [drm_kms_helper] > May 10 15:09:01 talos2 kernel: [c00000000beb3b70] [c000000000c55480] drm_client_dev_hotplug+0x120/0x1b0 > May 10 15:09:01 talos2 kernel: [c00000000beb3c00] [c00800000b7c1130] drm_kms_helper_hotplug_event+0x58/0x80 [drm_kms_helper] > May 10 15:09:01 talos2 kernel: [c00000000beb3c30] [c00800000b80b298] drm_dp_check_and_send_link_address+0x330/0x3a0 [drm_display_helper] > May 10 15:09:01 talos2 kernel: [c00000000beb3cd0] [c000000000162d84] process_one_work+0x2f4/0x580 > May 10 15:09:01 talos2 kernel: [c00000000beb3d70] [c0000000001630b8] worker_thread+0xa8/0x600 > May 10 15:09:01 talos2 kernel: [c00000000beb3e00] [c000000000170bf4] kthread+0x124/0x130 > May 10 15:09:01 talos2 kernel: [c00000000beb3e50] [c00000000000dd14] ret_from_kernel_thread+0x5c/0x64 > May 10 15:09:01 talos2 kernel: --- interrupt: 0 at 0x0 > May 10 15:09:01 talos2 kernel: NIP: 0000000000000000 LR: 0000000000000000 CTR: 0000000000000000 > May 10 15:09:01 talos2 kernel: REGS: c00000000beb3e80 TRAP: 0000 Not tainted (6.3.1-gentoo-dist) > May 10 15:09:01 talos2 kernel: MSR: 0000000000000000 <> CR: 00000000 XER: 00000000 > May 10 15:09:01 talos2 kernel: CFAR: 0000000000000000 IRQMASK: 0 > GPR00: 0000000000000000 c00000000beb4000 0000000000000000 0000000000000000 > GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > GPR12: 0000000000000000 0000000000000000 c000000000170ad8 c00000000a8fb240 > GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > GPR24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > GPR28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > May 10 15:09:01 talos2 kernel: NIP [0000000000000000] 0x0 > May 10 15:09:01 talos2 kernel: LR [0000000000000000] 0x0 > May 10 15:09:01 talos2 kernel: --- interrupt: 0 > May 10 15:09:01 talos2 kernel: Code: 41820094 e91f0568 e95f0000 813f0088 81080030 3d4a0001 39290444 e94a7ca0 79291764 1d0811f0 7d4a4214 7d2a4a14 <81290004> 91270074 813f0088 39290424 > May 10 15:09:01 talos2 kernel: ---[ end trace 0000000000000000 ]--- > May 10 15:09:01 talos2 kernel: at24 4-0054: supply vcc not found, using dummy regulator See the report for details. Anyway, I'm adding this to regzbot: #regzbot introduced: v6.2..v6.3 https://bugzilla.kernel.org/show_bug.cgi?id=217427 #regzbot title: No video output from AMD RX 570 and kernel exploit attempt on ppc64le Thanks. [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217427 -- An old man doll... just what I always wanted! - Clara