lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090323092802.GA30122@roarinelk.homelinux.net>
Date:	Mon, 23 Mar 2009 10:28:02 +0100
From:	Manuel Lauss <mano@...rinelk.homelinux.net>
To:	Pierre Ossman <drzeus@...eus.cx>
Cc:	linux-kernel@...r.kernel.org
Subject: MMC layer regression with single-block controllers

Hello Pierre,

Since about 2.6.28-rc1, I hit the following BUG_ON() in mmc/core.c
(line 155):

        if (mrq->data) {
                BUG_ON(mrq->data->blksz > host->max_blk_size);
>>>>>>>>>       BUG_ON(mrq->data->blocks > host->max_blk_count);  <<<<<<
                BUG_ON(mrq->data->blocks * mrq->data->blksz >
                        host->max_req_size);

It's easy to reproduce; just set your favorite host controllers'
mmc->max_blk_cnt to 1 (or anything smaller than 4).  As far as I can
tell it was introduced with some block layer changes before 2.6.28-rc1
was released.

Thanks,
	Manuel Lauss
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ