#1138454 nftables: nft -j monitor leaks memory

Package:
nftables
Source:
nftables
Description:
Program to control packet filtering rules by Netfilter project
Submitter:
Anton Khirnov
Date:
2026-05-30 16:18:07 UTC
Severity:
normal
#1138454#5
Date:
2026-05-30 16:12:20 UTC
From:
To:
Package: nftables
Version: 1.1.3-1
Severity: normal

Dear Maintainer,
'nft -j monitor' leaks a small amount of memory for every set element
event. The leak has been fixed upstream in commit [1]. While the leak is
small, it can add up when the monitor runs for a long time, as it does
on my router (with another long-running process parsing nft's JSON
output). I would thus greatly appreciate it if the fix made its way into
trixie in some form.

[1] d2a427c4abfadd2ce51bdab54c40fbf3d990c724
https://git.netfilter.org/nftables/commit/?id=d2a427c4abfadd2ce51bdab54c40fbf3d990c724

Cheers,