netfilter: ctnetlink: remove refcounting in expectation dumpers
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bada48ad5b0590e318d0f79636ff62a2ef9f4955, Kernel 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a, Kernel 64b7684042246e3238464c66894e30ba30c7e851 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: ctnetlink: remove refcounting in expectation dumpers Same pattern as previous patch: do not keep the expectation object alive via refcount, only store a cookie value and then use that as the skip hint for dump resumption. AFAICS this has the same issue as the one resolved in the conntrack dumper, when we do if (!refcount_inc_not_zero(&exp->use)) to increment the refcount, there is a chance that exp == last, which causes a double-increment of the refcount and subsequent memory leak.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=cf6994c2b9812a9f02b99e89df411ffc5db9c779 <bada48ad5b0590e318d0f79636ff62a2ef9f4955, =6.17, >=cf6994c2b9812a9f02b99e89df411ffc5db9c779 <1492e3dcb2be3aa46d1963da96aa9593e4e4db5a, >=cf6994c2b9812a9f02b99e89df411ffc5db9c779 <64b7684042246e3238464c66894e30ba30c7e851, >=cf6994c2b9812a9f02b99e89df411ffc5db9c779 <9e5021a906532ca16e2aac69c0607711e1c70b1f, >=cf6994c2b9812a9f02b99e89df411ffc5db9c779 <a4d634ded4d3d400f115d84f654f316f249531c9, >=cf6994c2b9812a9f02b99e89df411ffc5db9c779 <b05500444b8eb97644efdd180839a04a706be97c, >=2.6.23 <6.16.2, =2.6.23, >=cf6994c2b9812a9f02b99e89df411ffc5db9c779 <078d33c95bf534d37aa04269d1ae6158e20082d5 | bada48ad5b0590e318d0f79636ff62a2ef9f4955, 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a, 64b7684042246e3238464c66894e30ba30c7e851, 9e5021a906532ca16e2aac69c0607711e1c70b1f, a4d634ded4d3d400f115d84f654f316f249531c9, b05500444b8eb97644efdd180839a04a706be97c, 6.16.2, 078d33c95bf534d37aa04269d1ae6158e20082d5 |
| linux-kernel: Kernel | >=2.6.23 <5.10.253, >=5.11.0 <5.15.203, >=5.16.0 <6.1.167, >=6.13.0 <6.16.2, >=6.2.0 <6.6.130, >=6.7.0 <6.12.78 | 5.10.253, 5.15.203, 6.1.167, 6.16.2, 6.6.130, 6.12.78 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket