root@heroic-lamb:~# podman run --rm -it --privileged --network host -u0 
--entrypoint bash ubuntu:devel
Resolved "ubuntu" as an alias 
(/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/ubuntu:devel...
Getting image source signatures
Copying blob 3c261c4d22b0 done  
Copying config ec90772179 done  
Writing manifest to image destination
Storing signatures
root@heroic-lamb:/# apt update
root@heroic-lamb:/# apt install nftables
...
Setting up libnftnl11:amd64 (1.3.1-1) ...
Setting up libnftables1:amd64 (1.1.6-1) ...
Setting up nftables (1.1.6-1) ...
Processing triggers for libc-bin (2.42-2ubuntu2) ...
root@heroic-lamb:/# nft add table test
root@heroic-lamb:/# nft 'add set test dummy { type ipv4_addr; }'
root@heroic-lamb:/# nft list ruleset
table ip test {
        set dummy {
                type ipv4_addr
        }
}
root@heroic-lamb:/# exit
exit


root@heroic-lamb:~# apt install nftables
...
Unpacking nftables (1.0.2-1ubuntu3) ...
Setting up libjansson4:amd64 (2.13.1-1.1build3) ...
Setting up libnftables1:amd64 (1.0.2-1ubuntu3) ...
Setting up nftables (1.0.2-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.13) ...

root@heroic-lamb:~# nft list ruleset
Segmentation fault


root@heroic-lamb:~# apt install nftables/jammy-proposed 
libnftables1/jammy-proposed
...
Unpacking libnftables1:amd64 (1.0.2-1ubuntu3.1) over (1.0.2-1ubuntu3) ...
Setting up libnftables1:amd64 (1.0.2-1ubuntu3.1) ...
Setting up nftables (1.0.2-1ubuntu3.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.13) ...

root@heroic-lamb:~# nft list ruleset
table ip test {
        set dummy {
                type ipv4_addr
        }
}

Same reproducer on jammy host; resolute created table; causes segfault
and the one from proposed works.

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142552

Title:
  netlink: fix crash when ops doesn't support udata

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nftables/+bug/2142552/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to