From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Jones Subject: USB/SCSI slab corruption. Date: Thu, 12 Jan 2006 18:36:06 -0500 Message-ID: <20060112233606.GP19827@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx1.redhat.com ([66.187.233.31]:24727 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1161473AbWALXgX (ORCPT ); Thu, 12 Jan 2006 18:36:23 -0500 Content-Disposition: inline Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: linux-scsi@vger.kernel.org Cc: linux-usb-devel@lists.sourceforge.net A nasty 2.6.15 report from one of our Fedora users. Dave > then when it got to map my USB drive: > SCSI device sdb: 321672960 512-byte hdwr sectors (164697 MB) > slab error in cache_free_debugcheck(): cache `sgpool-8': double free, or > memory outside object was overwritten > [] cache_free_debugcheck+0x1ab/0x22f [] > mempool_free+0x3a/0x73 > [] kmem_cache_free+0x2a/0x69 [] > mempool_free+0x3a/0x73 > [] scsi_io_completion+0x207/0x4d2 [scsi_mod] [] > scsi_finish_command+0x82/0xd0 [scsi_mod] > [] scsi_softirq+0xc0/0x137 [scsi_mod] [] > __do_softirq+0x72/0xdc > [] do_softirq+0x4b/0x4f > ======================= > [] do_IRQ+0x55/0x86 [] common_interrupt+0x1a/0x20 > [] default_idle+0x0/0x55 [] default_idle+0x2c/0x55 > [] cpu_idle+0x6c/0xa7 > f79a41d0: redzone 1: 0x170fc2a5, redzone 2: 0xc014d2d1. > slab error in cache_free_debugcheck(): cache `sgpool-8': double free, or > memory outside object was overwritten > [] cache_free_debugcheck+0x1ab/0x22f [] > mempool_free+0x3a/0x73 > [] kmem_cache_free+0x2a/0x69 [] > mempool_free+0x3a/0x73 > [] scsi_io_completion+0x207/0x4d2 [scsi_mod] [] > scsi_finish_command+0x82/0xd0 [scsi_mod] > [] scsi_softirq+0xc0/0x137 [scsi_mod] [] > __do_softirq+0x72/0xdc > [] do_softirq+0x4b/0x4f > ======================= > [] do_IRQ+0x55/0x86 [] common_interrupt+0x1a/0x20 > [] default_idle+0x0/0x55 [] default_idle+0x2c/0x55 > [] cpu_idle+0x6c/0xa7 > f79a41d0: redzone 1: 0x170fc2a5, redzone 2: 0xc014d2d1. > sdb: got wrong page > sdb: assuming drive cache: write through > SCSI device sdb: 321672960 512-byte hdwr sectors (164697 MB) > slab error in cache_free_debugcheck(): cache `sgpool-8': double free, or > memory outside object was overwritten > [] cache_free_debugcheck+0x1ab/0x22f [] > mempool_free+0x3a/0x73 > [] kmem_cache_free+0x2a/0x69 [] > mempool_free+0x3a/0x73 > [] scsi_io_completion+0x207/0x4d2 [scsi_mod] [] > scsi_finish_command+0x82/0xd0 [scsi_mod] > [] scsi_softirq+0xc0/0x137 [scsi_mod] [] > __do_softirq+0x72/0xdc > [] do_softirq+0x4b/0x4f > ======================= > [] do_IRQ+0x55/0x86 [] filp_close+0x3e/0x62 > [] common_interrupt+0x1a/0x20 > f79a41d0: redzone 1: 0x170fc2a5, redzone 2: 0xc014d2d1. > slab error in cache_free_debugcheck(): cache `sgpool-8': double free, or > memory outside object was overwritten > [] cache_free_debugcheck+0x1ab/0x22f [] > mempool_free+0x3a/0x73 > [] kmem_cache_free+0x2a/0x69 [] > mempool_free+0x3a/0x73 > [] scsi_io_completion+0x207/0x4d2 [scsi_mod] [] > scsi_finish_command+0x82/0xd0 [scsi_mod] > [] scsi_softirq+0xc0/0x137 [scsi_mod] [] > __do_softirq+0x72/0xdc > [] do_softirq+0x4b/0x4f > ======================= > [] do_IRQ+0x55/0x86 [] common_interrupt+0x1a/0x20 > f79a41d0: redzone 1: 0x170fc2a5, redzone 2: 0xc014d2d1. > sdb: got wrong page > sdb: assuming drive cache: write through > sdb: sdb1 sdb2 sdb4 < sdb5 sdb6 sdb7 sdb8 sdb9 > > sd 3:0:0:0: Attached scsi disk sdb