From: bugzilla-daemon@bugzilla.kernel.org
To: linuxppc-dev@lists.ozlabs.org
Subject: [Bug 204479] KASAN hit at modprobe zram
Date: Tue, 13 Aug 2019 11:21:57 +0000 [thread overview]
Message-ID: <bug-204479-206035-yggrwokVsI@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-204479-206035@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=204479
--- Comment #20 from Erhard F. (erhard_f@mailbox.org) ---
(In reply to Christophe Leroy from comment #18)
> Two possibilities, either the value in .rodata.cst16 is wrong or the stack
> gets corrupted.
>
> Maybe you could try disabling KASAN in lib/raid6/Makefile for altivec8.o ?
> Or maybe for the entire lib/raid6/ directory, just to see what happens ?
Disabled KASAN with KASAN_SANITIZE := n in lib/raid6/Makefile. As you can see
in my latest dmesg, the G4 continues booting without further issues.
If btrfs gets loaded it still fails with KASAN (will update bug #204397).
Another funny issue. Mounting my nfs share works via:
modprobe nfs
mount /media/distanthome
If I mount it without modprobing nfs beforehand I get:
[...]
[ 66.271748]
==================================================================
[ 66.272076] BUG: KASAN: global-out-of-bounds in _copy_to_iter+0x3d4/0x5a8
[ 66.272331] Write of size 4096 at addr f1c27000 by task modprobe/312
[ 66.272598] CPU: 0 PID: 312 Comm: modprobe Tainted: G W
5.3.0-rc4+ #1
[ 66.272883] Call Trace:
[ 66.272964] [e100b848] [c075026c] dump_stack+0xb0/0x10c (unreliable)
[ 66.273211] [e100b878] [c02334a8] print_address_description+0x80/0x45c
[ 66.273456] [e100b908] [c0233128] __kasan_report+0x140/0x188
[ 66.273667] [e100b948] [c0233fbc] check_memory_region+0x28/0x184
[ 66.273889] [e100b958] [c023206c] memcpy+0x48/0x74
[ 66.274061] [e100b978] [c044342c] _copy_to_iter+0x3d4/0x5a8
[ 66.274265] [e100baa8] [c04437a8] copy_page_to_iter+0x90/0x550
[ 66.274482] [e100bb08] [c01b6898] generic_file_read_iter+0x5c8/0x7bc
[ 66.274720] [e100bb78] [c0249034] __vfs_read+0x1b0/0x1f4
[ 66.274912] [e100bca8] [c0249134] vfs_read+0xbc/0x124
[ 66.275094] [e100bcd8] [c02491f0] kernel_read+0x54/0x70
[ 66.275284] [e100bd08] [c02535c8] kernel_read_file+0x240/0x358
[ 66.275499] [e100bdb8] [c02537cc] kernel_read_file_from_fd+0x54/0x74
[ 66.275737] [e100bdf8] [c01068ac] sys_finit_module+0xd8/0x140
[ 66.275949] [e100bf38] [c001a274] ret_from_syscall+0x0/0x34
[ 66.276152] --- interrupt: c01 at 0xa602c4
LR = 0xbe87c4
[ 66.276417] Memory state around the buggy address:
[ 66.276588] f1c27a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 66.276824] f1c27a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 66.277060] >f1c27b00: 00 00 00 00 00 00 00 00 05 fa fa fa fa fa fa fa
[ 66.277293] ^
[ 66.277453] f1c27b80: 07 fa fa fa fa fa fa fa 00 03 fa fa fa fa fa fa
[ 66.277688] f1c27c00: 04 fa fa fa fa fa fa fa 00 06 fa fa fa fa fa fa
[ 66.277920]
==================================================================
[ 66.428224] RPC: Registered named UNIX socket transport module.
[ 66.428484] RPC: Registered udp transport module.
[ 66.428647] RPC: Registered tcp transport module.
[ 66.428809] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 66.741275] Key type dns_resolver registered
[ 67.974192] NFS: Registering the id_resolver key type
[ 67.974534] Key type id_resolver registered
[ 67.974681] Key type id_legacy registered
But maybe it's better to not open too many ppc32 KASAN related bugs for now. ;)
It probably can wait until you patches are in some later 5.3-rc I guess.
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2019-08-13 11:23 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-204479-206035@https.bugzilla.kernel.org/>
2019-08-05 0:34 ` [Bug 204479] KASAN hit at modprobe zram bugzilla-daemon
2019-08-05 7:07 ` bugzilla-daemon
2019-08-05 14:00 ` bugzilla-daemon
2019-08-08 13:57 ` bugzilla-daemon
2019-08-08 21:55 ` bugzilla-daemon
2019-08-08 21:57 ` bugzilla-daemon
2019-08-08 21:58 ` bugzilla-daemon
2019-08-09 5:34 ` bugzilla-daemon
2019-08-09 5:38 ` bugzilla-daemon
2019-08-09 10:44 ` bugzilla-daemon
2019-08-09 14:08 ` bugzilla-daemon
2019-08-09 15:10 ` bugzilla-daemon
2019-08-09 17:50 ` bugzilla-daemon
2019-08-09 17:52 ` bugzilla-daemon
2019-08-09 20:31 ` bugzilla-daemon
2019-08-10 14:42 ` bugzilla-daemon
2019-08-12 16:01 ` bugzilla-daemon
2019-08-12 16:06 ` bugzilla-daemon
2019-08-13 11:12 ` bugzilla-daemon
2019-08-13 11:21 ` bugzilla-daemon [this message]
2019-08-13 11:49 ` bugzilla-daemon
2019-10-06 20:52 ` bugzilla-daemon
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=bug-204479-206035-yggrwokVsI@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.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.