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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200129132319.GE12867@shao2-debian>
Date:   Wed, 29 Jan 2020 21:23:19 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     renxudong <renxudong1@...wei.com>
Cc:     Jens Axboe <axboe@...nel.dk>,
        Zhiqiang Liu <liuzhiqiang26@...wei.com>,
        LKML <linux-kernel@...r.kernel.org>, Jens Axboe <axboe@...com>,
        lkp@...ts.01.org
Subject: [blk] 78acda3832:
 kmsg.blk_update_request:critical_target_error,dev_sr#,sector#op#:(READ)flags#phys_seg#prio_class


FYI, we noticed the following commit (built with gcc-7):

commit: 78acda3832d1324cd7fd726d8dc5b8d95727a60e ("blk-map: add kernel address validation in blk_rq_map_kern func")
https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git for-5.6/block-test

in testcase: blktests
with following parameters:

	disk: 1SSD
	test: block-group1



on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>


[   42.716630] blk_update_request: critical target error, dev sr1, sector 2097136 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   42.721177] sr 3:0:0:0: [sr1] tag#30 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[   42.721180] sr 3:0:0:0: [sr1] tag#30 Sense Key : Illegal Request [current] 
[   42.721181] sr 3:0:0:0: [sr1] tag#30 Add. Sense: Logical block address out of range
[   42.721183] sr 3:0:0:0: [sr1] tag#30 CDB: Read(10) 28 00 00 07 ff fc 00 00 01 00
[   42.721184] blk_update_request: critical target error, dev sr1, sector 2097136 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   42.721194] sr 3:0:0:0: [sr1] tag#31 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[   42.721196] sr 3:0:0:0: [sr1] tag#31 Sense Key : Illegal Request [current] 
[   42.721197] sr 3:0:0:0: [sr1] tag#31 Add. Sense: Logical block address out of range
[   42.721198] sr 3:0:0:0: [sr1] tag#31 CDB: Read(10) 28 00 00 07 ff fd 00 00 01 00
[   42.721199] blk_update_request: critical target error, dev sr1, sector 2097140 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   42.722276] sr 3:0:0:0: [sr1] tag#1 unaligned transfer
[   42.722284] blk_update_request: I/O error, dev sr1, sector 2 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   42.726003] sr 3:0:0:0: [sr1] tag#4 unaligned transfer
[   42.726005] blk_update_request: I/O error, dev sr1, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   42.726008] sr 3:0:0:0: [sr1] tag#5 unaligned transfer
[   42.726010] blk_update_request: I/O error, dev sr1, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0



To reproduce:

        # build kernel
	cd linux
	cp config-5.5.0-rc2-00192-g78acda3832d13 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Rong Chen


View attachment "config-5.5.0-rc2-00192-g78acda3832d13" of type "text/plain" (202415 bytes)

View attachment "job-script" of type "text/plain" (5250 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (77344 bytes)

View attachment "blktests" of type "text/plain" (1808 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ