From: kernel test robot <oliver.sang@intel.com>
To: Cryolitia PukNgae via B4 Relay <devnull+Cryolitia.gmail.com@kernel.org>
Cc: oe-lkp@lists.linux.dev, lkp@intel.com,
linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org,
"Jean Delvare" <jdelvare@suse.com>,
"Guenter Roeck" <linux@roeck-us.net>,
"Cryolitia PukNgae" <Cryolitia@gmail.com>,
"Jonathan Corbet" <corbet@lwn.net>,
linux-doc@vger.kernel.org,
"Celeste Liu" <CoelacanthusHex@gmail.com>,
"Yao Zi" <ziyao@disroot.org>,
"Derek John Clark" <derekjohn.clark@gmail.com>,
"Marcin Strągowski" <marcin@stragowski.com>,
someone5678 <someone5678.dev@gmail.com>,
"Justin Weiss" <justin@justinweiss.com>,
oliver.sang@intel.com
Subject: Re: [PATCH v5 1/2] hwmon: add GPD devices sensor driver
Date: Mon, 17 Feb 2025 13:03:49 +0800 [thread overview]
Message-ID: <202502171113.9faaae-lkp@intel.com> (raw)
In-Reply-To: <20250211-gpd_fan-v5-1-608f4255f0e1@gmail.com>
Hello,
kernel test robot noticed "Oops:general_protection_fault,probably_for_non-canonical_address#:#[##]PREEMPT_KASAN" on:
commit: 143d683070d6cedc02b6406f98f21bd5ffed8a70 ("[PATCH v5 1/2] hwmon: add GPD devices sensor driver")
url: https://github.com/intel-lab-lkp/linux/commits/Cryolitia-PukNgae-via-B4-Relay/hwmon-add-GPD-devices-sensor-driver/20250211-150418
patch link: https://lore.kernel.org/all/20250211-gpd_fan-v5-1-608f4255f0e1@gmail.com/
patch subject: [PATCH v5 1/2] hwmon: add GPD devices sensor driver
in testcase: boot
config: x86_64-randconfig-004-20250215
compiler: gcc-12
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+--------------------------------------------------------------------------------------+-------+------------+
| | v6.13 | 143d683070 |
+--------------------------------------------------------------------------------------+-------+------------+
| boot_successes | 12 | 0 |
| boot_failures | 0 | 12 |
| Oops:general_protection_fault,probably_for_non-canonical_address#:#[##]PREEMPT_KASAN | 0 | 12 |
| KASAN:null-ptr-deref_in_range[#-#] | 0 | 12 |
| RIP:gpd_fan_init | 0 | 12 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 12 |
+--------------------------------------------------------------------------------------+-------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202502171113.9faaae-lkp@intel.com
[ 24.206559][ T1] pps_ldisc: PPS line discipline registered
[ 24.221748][ T1] Driver for 1-wire Dallas network protocol.
[ 24.228882][ T1] usbcore: registered new interface driver DS9490R
[ 24.241341][ T1] applesmc: supported laptop not found!
[ 24.245457][ T1] applesmc: driver init failed (ret=-19)!
[ 24.253994][ T1] Oops: general protection fault, probably for non-canonical address 0xdffffc000000002a: 0000 [#1] PREEMPT KASAN
[ 24.255395][ T1] KASAN: null-ptr-deref in range [0x0000000000000150-0x0000000000000157]
[ 24.255395][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper Tainted: G T 6.13.0-00001-g143d683070d6 #1
[ 24.255395][ T1] Tainted: [T]=RANDSTRUCT
[ 24.255395][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 24.255395][ T1] RIP: 0010:gpd_fan_init (kbuild/src/consumer/drivers/hwmon/gpd-fan.c:568)
[ 24.255395][ T1] Code: c5 08 eb b2 48 c7 c7 40 16 90 87 e8 49 ea b6 f9 48 8d b8 50 01 00 00 49 89 c5 b8 ff ff 37 00 48 c1 e0 2a 48 89 fa 48 c1 ea 03 <80> 3c 02 00 74 05 e8 a7 5d e9 f5 4d 8b bd 50 01 00 00 b8 ed ff ff
All code
========
0: c5 08 eb (bad)
3: b2 48 mov $0x48,%dl
5: c7 c7 40 16 90 87 mov $0x87901640,%edi
b: e8 49 ea b6 f9 call 0xfffffffff9b6ea59
10: 48 8d b8 50 01 00 00 lea 0x150(%rax),%rdi
17: 49 89 c5 mov %rax,%r13
1a: b8 ff ff 37 00 mov $0x37ffff,%eax
1f: 48 c1 e0 2a shl $0x2a,%rax
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
2a:* 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 74 05 je 0x35
30: e8 a7 5d e9 f5 call 0xfffffffff5e95ddc
35: 4d 8b bd 50 01 00 00 mov 0x150(%r13),%r15
3c: b8 .byte 0xb8
3d: ed in (%dx),%eax
3e: ff (bad)
3f: ff .byte 0xff
Code starting with the faulting instruction
===========================================
0: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
4: 74 05 je 0xb
6: e8 a7 5d e9 f5 call 0xfffffffff5e95db2
b: 4d 8b bd 50 01 00 00 mov 0x150(%r13),%r15
12: b8 .byte 0xb8
13: ed in (%dx),%eax
14: ff (bad)
15: ff .byte 0xff
[ 24.255395][ T1] RSP: 0018:ffffc9000001fcd8 EFLAGS: 00010202
[ 24.255395][ T1] RAX: dffffc0000000000 RBX: 1ffff92000003f9c RCX: ffffffff8c800034
[ 24.255395][ T1] RDX: 000000000000002a RSI: 0000000000000001 RDI: 0000000000000150
[ 24.255395][ T1] RBP: ffffc9000001fd88 R08: 0000000e56910ec6 R09: 0000000e56910ec6
[ 24.255395][ T1] R10: fffffbfff130e5ad R11: ffffffff8261d8e0 R12: ffffc9000001fd60
[ 24.255395][ T1] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
[ 24.255395][ T1] FS: 0000000000000000(0000) GS:ffffffff8890a000(0000) knlGS:0000000000000000
[ 24.255395][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 24.255395][ T1] CR2: 00007fd5127dc480 CR3: 00000000088d4000 CR4: 00000000000406b0
[ 24.255395][ T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 24.255395][ T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 24.255395][ T1] Call Trace:
[ 24.255395][ T1] <TASK>
[ 24.255395][ T1] ? show_regs (kbuild/src/consumer/arch/x86/kernel/dumpstack.c:479)
[ 24.255395][ T1] ? __die_body (kbuild/src/consumer/arch/x86/kernel/dumpstack.c:421)
[ 24.255395][ T1] ? die_addr (kbuild/src/consumer/arch/x86/kernel/dumpstack.c:455)
[ 24.255395][ T1] ? exc_general_protection (kbuild/src/consumer/arch/x86/kernel/traps.c:751 kbuild/src/consumer/arch/x86/kernel/traps.c:693)
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250217/202502171113.9faaae-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-02-17 5:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-11 7:01 [PATCH v5 0/2] hwmon: add GPD devices sensor driver Cryolitia PukNgae
2025-02-11 7:01 ` Cryolitia PukNgae via B4 Relay
2025-02-11 7:01 ` [PATCH v5 1/2] " Cryolitia PukNgae
2025-02-11 7:01 ` Cryolitia PukNgae via B4 Relay
2025-02-13 19:32 ` kernel test robot
2025-02-17 5:03 ` kernel test robot [this message]
2025-03-02 17:31 ` Guenter Roeck
2025-03-13 20:12 ` Cryolitia PukNgae
2025-02-11 7:01 ` [PATCH v5 2/2] hwmon: document: add gpd-fan Cryolitia PukNgae
2025-02-11 7:01 ` Cryolitia PukNgae via B4 Relay
-- strict thread matches above, loose matches on Subject: below --
2025-02-14 6:05 [PATCH v5 1/2] hwmon: add GPD devices sensor driver kernel test robot
2025-02-15 2:35 kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202502171113.9faaae-lkp@intel.com \
--to=oliver.sang@intel.com \
--cc=CoelacanthusHex@gmail.com \
--cc=Cryolitia@gmail.com \
--cc=corbet@lwn.net \
--cc=derekjohn.clark@gmail.com \
--cc=devnull+Cryolitia.gmail.com@kernel.org \
--cc=jdelvare@suse.com \
--cc=justin@justinweiss.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lkp@intel.com \
--cc=marcin@stragowski.com \
--cc=oe-lkp@lists.linux.dev \
--cc=someone5678.dev@gmail.com \
--cc=ziyao@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.