Linux
netfilter: x_tables: add and use xtables_unregister_table_exit
In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: add and use xtables_unregister_table_exit Previous change added xtables_unregister_table_pre_exit to detach the table from the packetpath and to unlink it from the active table list. In case of rmmod, userspace that is doing set/getsockopt for this table will not be able to re-instantiate the table: 1. The larval table has been removed already 2. existing instantiated table is no longer on the xt pernet table list. This adds the second stage helper: unlink the table from the dying list, free the hook ops (if any) and do the audit notification. It replaces xt_unregister_table().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, < 86ee5bc9c0f0e652e19f395675a432de11b75514
- >= fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, < 8026e5163cca1d1db436c7bfb89ddea8b5e8c2cf
- >= fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, < b4597d5fd7d2f8cebfffd40dffb5e003cc78964c
Fixed in 86ee5bc9c0f0e652e19f395675a432de11b75514, 8026e5163cca1d1db436c7bfb89ddea8b5e8c2cf, b4597d5fd7d2f8cebfffd40dffb5e003cc78964c
- 5.15
Fixed in 0, 6.18.34, 7.0.11, 7.1
Mitigation
Upgrade Linux to 86ee5bc9c0f0e652e19f395675a432de11b75514 or 8026e5163cca1d1db436c7bfb89ddea8b5e8c2cf or b4597d5fd7d2f8cebfffd40dffb5e003cc78964c or later.
Upgrade Linux to 0 or 6.18.34 or 7.0.11 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.