[LTP] af_alg01.c:36: TFAIL: instantiated nested hmac algorithm ('hmac(hmac(md5))')!

Naresh Kamboju naresh.kamboju@linaro.org
Tue Sep 24 13:23:18 CEST 2024


On Tue, 24 Sept 2024 at 15:16, Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>
> The following LTP crypto tests failed on Linus mainline master branch.
>
> LTP
>   ltp-crypto:
>     * af_alg03
>     * af_alg01
>
> First seen on e8fc317dfca9 (v6.11-2185-ge8fc317dfca9)
>   Good: v6.11-rc7
>   BAD:  e8fc317dfca9 (v6.11-2185-ge8fc317dfca9) and (v6.11)

Also seen on Linux next from next-20240909 tag.

Good:  next-20240906
Bad:   next-20240909

>
> Devices and qemu's:
>   - dragonboard-410c
>   - dragonboard-845c
>   - e850-96
>   - juno-r2
>   - arm64
>   - qemu-arm64
>   - qemu-armv7
>   - qemu-riscv64
>   - qemu-x86_64
>   - rk3399-rock-pi-4b
>   - x15
>   - x86_64
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> Warning log:
> ----------
> tst_test.c:1617: TINFO: Timeout per run is 0h 02m 30s
> af_alg01.c:36: TFAIL: instantiated nested hmac algorithm ('hmac(hmac(md5))')!
> tst_af_alg.c:46: TBROK: unexpected error binding AF_ALG socket to hash
> algorithm 'hmac(hmac(md5))': EINVAL (22)
>
> HINT: You _MAY_ be missing kernel fixes:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf
>
> HINT: You _MAY_ be vulnerable to CVE(s):
>
> https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17806
>
> HINT: You _MAY_ be missing kernel fixes:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf
>
> HINT: You _MAY_ be vulnerable to CVE(s):
>
> https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17806
>
> ...
> tst_test.c:1617: TINFO: Timeout per run is 0h 02m 30s
> af_alg03.c:22: TFAIL: instantiated rfc7539 template with wrong digest size
>
> HINT: You _MAY_ be missing kernel fixes:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e57121d08c38
>
>
> boot Log links,
> --------
>  - https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.11-8836-gf8eb5bd9a818/testrun/25191971/suite/ltp-crypto/test/af_alg03/log
> - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2m983y1hatxwkXBtrAYvCPw6pK2
>
> Test results history:
> ----------
> - https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.11-8836-gf8eb5bd9a818/testrun/25191971/suite/ltp-crypto/test/af_alg01/history/
> - https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.11-8836-gf8eb5bd9a818/testrun/25191971/suite/ltp-crypto/test/af_alg01/history/
>
> metadata:
> ----
>   git describe:  v6.11-2185-ge8fc317dfca9 .. v6.11-5002-g200289db261f
>   git repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline
>   git sha:  abf2050f51fdca0fd146388f83cddd95a57a008d  (v6.11)
>   kernel config:
> https://storage.tuxsuite.com/public/linaro/lkft/builds/2m980TaGzPk0qjtFUPnMNoDj7Sw/config
>   build url: https://storage.tuxsuite.com/public/linaro/lkft/builds/2m980TaGzPk0qjtFUPnMNoDj7Sw/
>   toolchain: gcc-13
>
> Steps to reproduce:
> ---------
> - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2m983y1hatxwkXBtrAYvCPw6pK2/reproducer
> - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2m983y1hatxwkXBtrAYvCPw6pK2/tux_plan
>
> --
> Linaro LKFT
> https://lkft.linaro.org

- Naresh


More information about the ltp mailing list