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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b5c9a4d9-894c-4812-8dbf-e623cb1baad2@kernel.org>
Date: Mon, 15 Jan 2024 09:13:11 +0900
From: Damien Le Moal <dlemoal@...nel.org>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: linux-block <linux-block@...r.kernel.org>, LTP List <ltp@...ts.linux.it>,
 Linux Regressions <regressions@...ts.linux.dev>,
 lkft-triage@...ts.linaro.org, open list <linux-kernel@...r.kernel.org>,
 Anders Roxell <anders.roxell@...aro.org>,
 Dan Carpenter <dan.carpenter@...aro.org>, chrubis <chrubis@...e.cz>,
 Petr Vorel <pvorel@...e.cz>, Hannes Reinecke <hare@...e.de>,
 Christoph Hellwig <hch@....de>, Niklas Cassel <niklas.cassel@....com>,
 "Martin K. Petersen" <martin.petersen@...cle.com>,
 Jens Axboe <axboe@...nel.dk>
Subject: Re: scsi: block: ioprio: Clean up interface definition -
 ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work

On 1/13/24 16:05, Naresh Kamboju wrote:
> On Fri, 12 Jan 2024 at 10:49, Damien Le Moal <dlemoal@...nel.org> wrote:
>>
>> On 1/12/24 14:15, Naresh Kamboju wrote:
>>> The LTP test 'iopri_set03' fails on all the devices.
>>> It fails on linux kernel >= v6.5. ( on Debian rootfs ).
>>> Test fail confirmed on LTP release 20230929 and 20230516.
>>>
>>> Test failed log:
>>> ------------
>>> tst_test.c:1690: TINFO: LTP version: 20230929
>>> tst_test.c:1574: TINFO: Timeout per run is 0h 05m 00s
>>> ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work
>>> ioprio_set03.c:48: TINFO: tested illegal priority with class NONE
>>> ioprio_set03.c:51: TPASS: returned correct error for wrong prio: EINVAL (22)
>>>
>>> Investigation:
>>> ----------
>>> Bisecting this test between kernel v6.4 and v6.5 shows patch
>>> eca2040972b4 ("scsi: block: ioprio: Clean up interface definition")
>>> as the first faulty commit.
>>>
>>> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
>>
>> This is fixed in LTP. Please update your LTP setup to avoid this issue.
> 
> Please point me to the fixed commit id.

git log --author="Damien Le Moal"

And of course you need to make sure that you are compiling LTP against the
kernel headers of the target test kernel.


-- 
Damien Le Moal
Western Digital Research


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ