Skip to content

ltp: new test for crypto_user information leak bug

Eric Biggers ltp 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Check all attributes, not just the first of each type
- Work around dependency bug in old kernel headers
- Rename __check_for_leaks() to do_check_for_leaks()
- Use SPDX license identifier

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lapi/cryptouser.h: add more declarationsinclude/lapi/cryptouser.h+73 -00 replies
2/3tst_netlink: inline functions in headerinclude/tst_netlink.h+6 -50 replies
3/3crypto/crypto_user01.c: new test for information leak bugruntest/crypto runtest/cve testcases/kernel/crypto/.gitignore +1 more+199 -01 reply
3/3crypto/crypto_user01.c: new test for information leak bug+0 -01 reply
3/3crypto/crypto_user01.c: new test for information leak bug+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/3] ltp: new test for crypto_user information leak bug

This series adds a test for an information leak bug in the crypto user configuration API which was recently fixed.

Changed since v1:
- Check all attributes, not just the first of each type
- Work around dependency bug in old kernel headers
- Rename __check_for_leaks() to do_check_for_leaks()
- Use SPDX license identifier

Eric Biggers (3):
lapi/cryptouser.h: add more declarations
tst_netlink: inline functions in header crypto/crypto_user01.c: new test for information leak bug

 include/lapi/cryptouser.h               |  73 +++++++++
 include/tst_netlink.h                   |  11 +-
 runtest/crypto                          |   1 +
 runtest/cve                             |   2 +
 testcases/kernel/crypto/.gitignore      |   1 +
 testcases/kernel/crypto/crypto_user01.c | 195 ++++++++++++++++++++++++
 6 files changed, 278 insertions(+), 5 deletions(-)
 create mode 100644 testcases/kernel/crypto/crypto_user01.c
Signature · 1 line
2.19.2