mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Meelis Roos <mroos@linux.ee>
To: Linux Kernel list <linux-kernel@vger.kernel.org>,
	dri-devel@lists.freedesktop.org
Subject: Radeon R100 UBSAN warning
Date: Mon, 16 May 2016 16:16:52 +0300 (EEST)	[thread overview]
Message-ID: <alpine.LRH.2.20.1605161606150.17714@math.ut.ee> (raw)

I am seeing the following UBSAN warning on three of my computers (4.6.0 
with UBSAN turned on). I am reporting this because some of the UBSAN 
reports have been correct (some have been false positives though).

[    9.372287] ================================================================================
[    9.372423] UBSAN: Undefined behaviour in drivers/gpu/drm/radeon/r100.c:595:15
[    9.372559] shift exponent 255 is too large for 32-bit type 'int'
[    9.372696] CPU: 0 PID: 222 Comm: systemd-udevd Not tainted 4.6.0 #129
[    9.372831] Hardware name: MicroLink                               /D850MV                         , BIOS MV85010A.86A.0067.P24.0304081124 04/08/2003
[    9.373058]  00000000 c12244c8 f8df9704 c1224aa4 f8df96d4 00000001 00000202 00353532
[    9.373516]  00000236 00000246 00000246 00000006 00000000 00010246 0000001c 00000006
[    9.373972]  c17f6842 00000031 c1074ab1 00000000 00000000 00000246 00000002 f4a06800
[    9.374427] Call Trace:
[    9.374567]  [<c12244c8>] ? ubsan_epilogue+0x8/0x23
[    9.374704]  [<c1224aa4>] ? __ubsan_handle_shift_out_of_bounds+0xd5/0xdd
[    9.374843]  [<c1074ab1>] ? vprintk_emit+0x37a/0x390
[    9.375156]  [<f8ce6bac>] ? r100_hpd_init+0x72/0xb7 [radeon]
[    9.375437]  [<f8cdb105>] ? radeon_modeset_init+0x753/0xe7b [radeon]
[    9.375719]  [<f8cb044e>] ? radeon_driver_load_kms+0xd8/0x196 [radeon]
[    9.375884]  [<f8891eee>] ? drm_dev_register+0x75/0xad [drm]
[    9.376041]  [<f88948f1>] ? drm_get_pci_dev+0x11d/0x23e [drm]
[    9.376135]  [<c12306b2>] ? pci_device_probe+0x9f/0xee
[    9.376135]  [<c12bfb7c>] ? driver_probe_device+0x149/0x271
[    9.376135]  [<c12bfd2a>] ? __driver_attach+0x86/0xa1
[    9.376135]  [<c12bdea0>] ? bus_for_each_dev+0x47/0x5a
[    9.376135]  [<c12bf3f7>] ? driver_attach+0x24/0x27
[    9.376135]  [<c12bfca4>] ? driver_probe_device+0x271/0x271
[    9.376135]  [<c12bf111>] ? bus_add_driver+0xed/0x1db
[    9.376135]  [<f8e58000>] ? 0xf8e58000
[    9.376135]  [<c12c0603>] ? driver_register+0x9a/0xcb
[    9.376135]  [<c10004c1>] ? do_one_initcall+0x159/0x1d9
[    9.376135]  [<c10b25d4>] ? __free_one_page+0x1a1/0x369
[    9.376135]  [<c10e4e66>] ? kernel_poison_pages+0x10/0xc4
[    9.376135]  [<c10b1e8e>] ? free_pages_prepare+0x1f7/0x21c
[    9.376135]  [<c10e82e2>] ? kmem_cache_alloc+0xa2/0xd6
[    9.376135]  [<c10abbe7>] ? do_init_module+0x17/0x21a
[    9.376135]  [<c10abc46>] ? do_init_module+0x76/0x21a
[    9.376135]  [<c109768a>] ? load_module+0x1b28/0x206a
[    9.376135]  [<c1097ced>] ? SyS_finit_module+0x71/0x79
[    9.376135]  [<c100169f>] ? do_fast_syscall_32+0xd9/0x111
[    9.376135]  [<c13ebad7>] ? sysenter_past_esp+0x40/0x6a
[    9.376135] ================================================================================

-- 
Meelis Roos (mroos@linux.ee)

             reply	other threads:[~2016-05-16 13:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-16 13:16 Meelis Roos [this message]
2016-05-16 13:38 ` Alex Deucher

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=alpine.LRH.2.20.1605161606150.17714@math.ut.ee \
    --to=mroos@linux.ee \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®