[SRU Jammy, Kinetic, Lunar, Mantic, OEM-5.17, OEM-6.0, OEM-6.1 0/1] CVE-2023-31248

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Thu Jul 6 09:49:24 UTC 2023

An unprivileged user can trigger a use-after-free on a chain when adding a
rule by using CHAIN_ID. An attacker could use this to cause denial of
service (crash) or achieve code execution.

The fix was applied in the netfilter/nf.git tree and a tag has been pushed.
It is likely to get merged with the same SHA1. The provenance has been added,
but no SAUCE.

[Test case]
A reproducer has been tested.

[Potential regression]
nftables users may regress.

Thadeu Lima de Souza Cascardo (1):
  netfilter: nf_tables: do not ignore genmask when looking up chain by

 net/netfilter/nf_tables_api.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)


More information about the kernel-team mailing list