public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v4 0/4] Test for CVE 2023-31248
@ 2023-11-21 15:42 Martin Doucha
  2023-11-21 15:42 ` [LTP] [PATCH v4 1/4] tst_netlink: Add helper functions for handling generic attributes Martin Doucha
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Martin Doucha @ 2023-11-21 15:42 UTC (permalink / raw)
  To: ltp

Add test for CVE 2023-31248. Support for older kernels requires some
changes in tst_netlink_check_acks() and a new LAPI header.

Changes tested on kernels 4.4, 4.12 and 5.14.

Martin Doucha (4):
  tst_netlink: Add helper functions for handling generic attributes
  tst_netlink_check_acks(): Stop on first error regardless of ACK
    request
  Add lapi/nf_tables.h
  Add test for CVE 2023-31248

 configure.ac                          |   1 +
 doc/C-Test-Network-API.asciidoc       |  66 +++++---
 include/lapi/nf_tables.h              |  19 +++
 include/tst_netdevice.h               |   6 +-
 include/tst_netlink.h                 |  38 ++++-
 lib/tst_netdevice.c                   |  20 +--
 lib/tst_netlink.c                     |  97 +++++++++++-
 runtest/cve                           |   1 +
 testcases/cve/tcindex01.c             |  12 +-
 testcases/network/iptables/.gitignore |   1 +
 testcases/network/iptables/Makefile   |   2 +-
 testcases/network/iptables/nft02.c    | 216 ++++++++++++++++++++++++++
 12 files changed, 423 insertions(+), 56 deletions(-)
 create mode 100644 include/lapi/nf_tables.h
 create mode 100644 testcases/network/iptables/.gitignore
 create mode 100644 testcases/network/iptables/nft02.c

-- 
2.42.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-21 16:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21 15:42 [LTP] [PATCH v4 0/4] Test for CVE 2023-31248 Martin Doucha
2023-11-21 15:42 ` [LTP] [PATCH v4 1/4] tst_netlink: Add helper functions for handling generic attributes Martin Doucha
2023-11-21 15:42 ` [LTP] [PATCH v4 2/4] tst_netlink_check_acks(): Stop on first error regardless of ACK request Martin Doucha
2023-11-21 15:42 ` [LTP] [PATCH v4 3/4] Add lapi/nf_tables.h Martin Doucha
2023-11-21 15:42 ` [LTP] [PATCH v4 4/4] Add test for CVE 2023-31248 Martin Doucha
2023-11-21 16:26   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox