Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: hold reference on ct until flow is released nf_ct_put() releases the ct->ext area inmediately, the rcu typesafe semantics also allow to refer to the wrong conntrack from the flowtable datapath. Hold reference on ct until flow is released after rcu grace period. Add rcu_barrier() on module exit path, to ensure pending flow entries are release before module goes away.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 0ff90b6c20340e57616a51ae1a1bf18156d6638a before 93ff1594be1aad4da364462dd8db050ebcfda2de; affected 0ff90b6c20340e57616a51ae1a1bf18156d6638a before eed6997e8dc40593a539fcc722e7ed51b18db86c; affected 0ff90b6c20340e57616a51ae1a1bf18156d6638a before 61c6688be282277c6e91ab286a7acd0ae8681ac6; affected 0ff90b6c20340e57616a51ae1a1bf18156d6638a before a43cd2b67b91e943273c913237a7a88c50cdcfbc; affected 0ff90b6c20340e57616a51ae1a1bf18156d6638a before 8274cdc5f9c57e17ed77fc4ba76212536c840f25; affected 0ff90b6c20340e57616a51ae1a1bf18156d6638a before 12c1ac230f4ca16e0017b62a963ab75e0b48074f; affected 0ff90b6c20340e57616a51ae1a1bf18156d6638a before d9e6175a3ee48209ee65f294fc567b4e16b29b74; affected 0ff90b6c20340e57616a51ae1a1bf18156d6638a before e75a9fa1d44bcbd66ea02e8781bcca6ea4076e0d |
| Linux / Linux | affected 4.16; unaffected 0 before 4.16; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.54 through 6.18.*; unaffected 7.2.8 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/93ff1594be1aad4da364462dd8db050ebcfda2de
- https://git.kernel.org/stable/c/eed6997e8dc40593a539fcc722e7ed51b18db86c
- https://git.kernel.org/stable/c/61c6688be282277c6e91ab286a7acd0ae8681ac6
- https://git.kernel.org/stable/c/a43cd2b67b91e943273c913237a7a88c50cdcfbc
- https://git.kernel.org/stable/c/8274cdc5f9c57e17ed77fc4ba76212536c840f25
- https://git.kernel.org/stable/c/12c1ac230f4ca16e0017b62a963ab75e0b48074f
- https://git.kernel.org/stable/c/d9e6175a3ee48209ee65f294fc567b4e16b29b74
- https://git.kernel.org/stable/c/e75a9fa1d44bcbd66ea02e8781bcca6ea4076e0d