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: <CANP3RGcW6DWei2bXrAQn8B4Uf0ggx_MgEfVyX_D7AaYZcYOchQ@mail.gmail.com>
Date:   Sat, 28 May 2022 01:54:25 -0700
From:   Maciej Żenczykowski <maze@...gle.com>
To:     Steffen Klassert <steffen.klassert@...unet.com>
Cc:     Linux NetDev <netdev@...r.kernel.org>,
        Benedict Wong <benedictwong@...gle.com>,
        Yan Yan <evitayan@...gle.com>
Subject: 5.18 breaks Android net test PFKEY AddSA test case

I've not gotten to the bottom of the root cause, since I'm hoping
someone will know off the top of their head,
why this might now be broken...

##### ./pf_key_test.py (13/25)

E
======================================================================
ERROR: testAddDelSa (__main__.PfKeyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./pf_key_test.py", line 42, in testAddDelSa
    pf_key.SADB_X_AALG_SHA2_256HMAC, ENCRYPTION_KEY)
  File "/aosp-tests/net/test/pf_key.py", line 254, in AddSa
    self.SendAndRecv(msg, self.PackPfKeyExtensions(extlist))
  File "/aosp-tests/net/test/pf_key.py", line 218, in SendAndRecv
    return self.Recv()
  File "/aosp-tests/net/test/pf_key.py", line 208, in Recv
    raise OSError(msg.errno, os.strerror(msg.errno))
OSError: [Errno 3] No such process

The failure is at
  https://cs.android.com/android/platform/superproject/+/master:kernel/tests/net/test/pf_key_test.py;l=42
ie.

ENCRYPTION_KEY =
("308146eb3bd84b044573d60f5a5fd15957c7d4fe567a2120f35bae0f9869ec22".decode("hex"))

src4 = csocket.Sockaddr(("192.0.2.1", 0))
dst4 = csocket.Sockaddr(("192.0.2.2", 1))
self.pf_key.AddSa(src4, dst4, 0xdeadbeef, pf_key.SADB_TYPE_ESP,
pf_key.IPSEC_MODE_TRANSPORT, 54321,
pf_key.SADB_X_EALG_AESCBC, ENCRYPTION_KEY,
pf_key.SADB_X_AALG_SHA2_256HMAC, ENCRYPTION_KEY)

Thanks,
Maciej

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ