Linux
netfilter: nf_tables: always walk all pending catchall elements
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: always walk all pending catchall elements During transaction processing we might have more than one catchall element: 1 live catchall element and 1 pending element that is coming as part of the new batch. If the map holding the catchall elements is also going away, its required to toggle all catchall elements and not just the first viable candidate. Otherwise, we get: WARNING: ./include/net/netfilter/nf_tables.h:1281 at nft_data_release+0xb7/0xe0 [nf_tables], CPU#2: nft/1404 RIP: 0010:nft_data_release+0xb7/0xe0 [nf_tables] [..] __nft_set_elem_destroy+0x106/0x380 [nf_tables] nf_tables_abort_release+0x348/0x8d0 [nf_tables] nf_tables_abort+0xcf2/0x3ac0 [nf_tables] nfnetlink_rcv_batch+0x9c9/0x20e0 [..]
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8, < ae8f3cedc5f5653a5bed45c5ed016fe156e2af55
- >= d60be2da67d172aecf866302c91ea11533eca4d9, < c4d4e86fda707d89eaba80e343321737375f8582
- >= 628bd3e49cba1c066228e23d71a852c23e26da73, < 4830fb44d12f586f3f544609e086933649a9175a
- >= 628bd3e49cba1c066228e23d71a852c23e26da73, < eb0948fa13298212c5f8b30ee48efdae4389ab09
- >= 628bd3e49cba1c066228e23d71a852c23e26da73, < de47a88c6b807910f05703fb6605f7efdaa11417
- >= 628bd3e49cba1c066228e23d71a852c23e26da73, < 77c26b5056d693ffe5e9f040e946251cdb55ae55
- >= 628bd3e49cba1c066228e23d71a852c23e26da73, < 7cb9a23d7ae40a702577d3d8bacb7026f04ac2a9
- bc9f791d2593f17e39f87c6e2b3a36549a3705b1
- 3c7ec098e3b588434a8b07ea9b5b36f04cef1f50
- a136b7942ad2a50de708f76ea299ccb45ac7a7f9
- dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41
- >= 5.15.121, < 5.15.224
- >= 6.1.36, < 6.1.177
- >= 4.19.316, < 4.20
- >= 5.4.262, < 5.5
- >= 5.10.188, < 5.11
- >= 6.3.10, < 6.4
Fixed in ae8f3cedc5f5653a5bed45c5ed016fe156e2af55, c4d4e86fda707d89eaba80e343321737375f8582, 4830fb44d12f586f3f544609e086933649a9175a, eb0948fa13298212c5f8b30ee48efdae4389ab09, de47a88c6b807910f05703fb6605f7efdaa11417, 77c26b5056d693ffe5e9f040e946251cdb55ae55, 7cb9a23d7ae40a702577d3d8bacb7026f04ac2a9, 5.15.224, 6.1.177, 4.20, 5.5, 5.11, 6.4
- 6.4
Fixed in 0, 5.15.224, 6.1.177, 6.6.144, 6.12.78, 6.18.19, 6.19.9, 7.0
Mitigation
Upgrade Linux to ae8f3cedc5f5653a5bed45c5ed016fe156e2af55 or c4d4e86fda707d89eaba80e343321737375f8582 or 4830fb44d12f586f3f544609e086933649a9175a or eb0948fa13298212c5f8b30ee48efdae4389ab09 or de47a88c6b807910f05703fb6605f7efdaa11417 or 77c26b5056d693ffe5e9f040e946251cdb55ae55 or 7cb9a23d7ae40a702577d3d8bacb7026f04ac2a9 or 5.15.224 or 6.1.177 or 4.20 or 5.5 or 5.11 or 6.4 or later.
Upgrade Linux to 0 or 5.15.224 or 6.1.177 or 6.6.144 or 6.12.78 or 6.18.19 or 6.19.9 or 7.0 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.