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]
Date:   Mon, 7 Aug 2023 21:44:41 +0200
From:   Mirsad Todorovac <mirsad.todorovac@....unizg.hr>
To:     netdev@...r.kernel.org
Cc:     "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>, Shuah Khan <shuah@...nel.org>,
        Kuniyuki Iwashima <kuniyu@...zon.com>,
        Florian Westphal <fw@...len.de>,
        Mirsad Goran Todorovac <mirsad.todorovac@....unizg.hr>,
        Alexander Mikhalitsyn <alexander@...alicyn.com>,
        linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: selftests: net/af_unix test_unix_oob [FAILED]

Hi all,

In the kernel 6.5-rc5 build on Ubuntu 22.04 LTS (jammy jellyfish) on a Ryzen 7950 assembled box,
vanilla torvalds tree kernel, the test test_unix_oob unexpectedly fails:

# selftests: net/af_unix: test_unix_oob
# Test 2 failed, sigurg 23 len 63 OOB %

It is this code:

         /* Test 2:
          * Verify that the first OOB is over written by
          * the 2nd one and the first OOB is returned as
          * part of the read, and sigurg is received.
          */
         wait_for_data(pfd, POLLIN | POLLPRI);
         len = 0;
         while (len < 70)
                 len = recv(pfd, buf, 1024, MSG_PEEK);
         len = read_data(pfd, buf, 1024);
         read_oob(pfd, &oob);
         if (!signal_recvd || len != 127 || oob != '#') {
                 fprintf(stderr, "Test 2 failed, sigurg %d len %d OOB %c\n",
                 signal_recvd, len, oob);
                 die(1);
         }

In 6.5-rc4, this test was OK, so it might mean we have a regression?

marvin@...iant:~/linux/kernel/linux_torvalds$ grep test_unix_oob ../kselftest-6.5-rc4-1.log
/net/af_unix/test_unix_oob
# selftests: net/af_unix: test_unix_oob
ok 2 selftests: net/af_unix: test_unix_oob
marvin@...iant:~/linux/kernel/linux_torvalds$

Hope this helps.

NOTE: the kernel is vanilla torvalds tree, only "dirty" because the selftests were modified.

Kind regards,
Mirsad Todorovac
Download attachment "config-6.5.0-rc5-debug-dirty.xz" of type "application/x-xz" (57752 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ