linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 120371] New: UBSAN splat in drivers/scsi/scsi_devinfo.c:458:21
@ 2016-06-15 12:33 bugzilla-daemon
  2016-07-19  9:54 ` [Bug 120371] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-06-15 12:33 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=120371

            Bug ID: 120371
           Summary: UBSAN splat in drivers/scsi/scsi_devinfo.c:458:21
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 4.7.0-rc3
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
          Assignee: linux-scsi@vger.kernel.org
          Reporter: linux-kernel@lebenslange-mailadresse.de
        Regression: No

Created attachment 220111
  --> https://bugzilla.kernel.org/attachment.cgi?id=220111&action=edit
.config

While booting, UBSAN reports an index out of range use in
drivers/scsi/scsi_devinfo.c:458:21:

[    2.226941]
================================================================================
[    2.226944] UBSAN: Undefined behaviour in
/usr/local/src/kernel/linux-git/drivers/scsi/scsi_devinfo.c:458:21
[    2.226945] index 8 is out of range for type 'char [8]'
[    2.226948] CPU: 3 PID: 6 Comm: kworker/u16:0 Not tainted
4.7.0-rc3-00002-g44c5afa #1
[    2.226948] Hardware name: Apple Inc. MacBookPro8,2/Mac-94245A3940C91C80,
BIOS    MBP81.88Z.0047.B27.1201241646 01/24/12
[    2.226955] Workqueue: events_unbound async_run_entry_fn
[    2.226958]  000000000000000e ffff88026614fa50 ffffffff815c8665
ffffffff81190e52
[    2.226961]  ffff88026614fa78 0000000000000008 ffff88026614fa68
ffffffff8163e77d
[    2.226963]  ffffffff8263a560 ffff88026614fac0 ffffffff8163ee95
0000000000000286
[    2.226963] Call Trace:
[    2.226968]  [<ffffffff815c8665>] dump_stack+0x68/0xa3
[    2.226971]  [<ffffffff81190e52>] ? down_trylock+0x32/0x60
[    2.226975]  [<ffffffff8163e77d>] ubsan_epilogue+0xd/0x40
[    2.226978]  [<ffffffff8163ee95>] __ubsan_handle_out_of_bounds+0x75/0xa0
[    2.226980]  [<ffffffff8119758d>] ? trace_hardirqs_on+0xd/0x10
[    2.226984]  [<ffffffff817ccf49>] scsi_dev_info_list_find+0x279/0x2b0
[    2.226986]  [<ffffffff817cd49c>] scsi_get_device_flags_keyed+0x1c/0x80
[    2.226989]  [<ffffffff817cd50b>] scsi_get_device_flags+0xb/0x10
[    2.226991]  [<ffffffff817c6a79>] scsi_probe_and_add_lun+0x4b9/0x1200
[    2.226993]  [<ffffffff817c7fdb>] __scsi_add_device+0x11b/0x140
[    2.226996]  [<ffffffff817f920b>] ata_scsi_scan_host+0x10b/0x200
[    2.226999]  [<ffffffff817eefb5>] async_port_probe+0x45/0x80
[    2.227001]  [<ffffffff8114b052>] async_run_entry_fn+0x52/0x220
[    2.227003]  [<ffffffff8113b4a3>] process_one_work+0x273/0x8d0
[    2.227005]  [<ffffffff8113b43f>] ? process_one_work+0x20f/0x8d0
[    2.227007]  [<ffffffff8113bd0d>] worker_thread+0x20d/0x7e0
[    2.227009]  [<ffffffff8113bb00>] ? process_one_work+0x8d0/0x8d0
[    2.227011]  [<ffffffff81146dfd>] kthread+0x13d/0x1a0
[    2.227016]  [<ffffffff81b3232f>] ret_from_fork+0x1f/0x40
[    2.227018]  [<ffffffff81146cc0>] ? kthread_create_on_node+0x260/0x260
[    2.227019]
================================================================================

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 120371] UBSAN splat in drivers/scsi/scsi_devinfo.c:458:21
  2016-06-15 12:33 [Bug 120371] New: UBSAN splat in drivers/scsi/scsi_devinfo.c:458:21 bugzilla-daemon
@ 2016-07-19  9:54 ` bugzilla-daemon
  2017-02-22 20:06 ` bugzilla-daemon
  2017-02-25  9:31 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-07-19  9:54 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=120371

Navin <navinp1912@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |navinp1912@gmail.com

--- Comment #1 from Navin <navinp1912@gmail.com> ---
This is fixed by commit 5e7ff2ca7f2da55fe777167849d0c93403bd0dc8

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 120371] UBSAN splat in drivers/scsi/scsi_devinfo.c:458:21
  2016-06-15 12:33 [Bug 120371] New: UBSAN splat in drivers/scsi/scsi_devinfo.c:458:21 bugzilla-daemon
  2016-07-19  9:54 ` [Bug 120371] " bugzilla-daemon
@ 2017-02-22 20:06 ` bugzilla-daemon
  2017-02-25  9:31 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-02-22 20:06 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=120371

Wilfried Klaebe (linux-kernel@lebenslange-mailadresse.de) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #2 from Wilfried Klaebe (linux-kernel@lebenslange-mailadresse.de) ---
does not appear anymore in (at least) 4.10

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 120371] UBSAN splat in drivers/scsi/scsi_devinfo.c:458:21
  2016-06-15 12:33 [Bug 120371] New: UBSAN splat in drivers/scsi/scsi_devinfo.c:458:21 bugzilla-daemon
  2016-07-19  9:54 ` [Bug 120371] " bugzilla-daemon
  2017-02-22 20:06 ` bugzilla-daemon
@ 2017-02-25  9:31 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-02-25  9:31 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=120371

Wilfried Klaebe (linux-kernel@lebenslange-mailadresse.de) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-25  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-15 12:33 [Bug 120371] New: UBSAN splat in drivers/scsi/scsi_devinfo.c:458:21 bugzilla-daemon
2016-07-19  9:54 ` [Bug 120371] " bugzilla-daemon
2017-02-22 20:06 ` bugzilla-daemon
2017-02-25  9:31 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).