Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2022-49110

netfilter: conntrack: revisit gc autotuning

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: revisit gc autotuning as of commit 4608fdfc07e1 ("netfilter: conntrack: collect all entries in one cycle") conntrack gc was changed to run every 2 minutes. On systems where conntrack hash table is set to large value, most evictions happen from gc worker rather than the packet path due to hash table distribution. This causes netlink event overflows when events are collected. This change collects average expiry of scanned entries and reschedules to the average remaining value, within 1 to 60 second interval. To avoid event overflows, reschedule after each bucket and add a limit for both run time and number of evictions per run. If more entries have to be evicted, reschedule and restart 1 jiffy into the future.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4608fdfc07e116f9fc0895beb40abad7cdb5ee3d to < 58d52743ae85d28c9335c6034d6ce350b8689951affected
  • 4608fdfc07e116f9fc0895beb40abad7cdb5ee3d to < 7cd361d5e6d986c0d4cafb9ceaa803359048ae15affected
  • 4608fdfc07e116f9fc0895beb40abad7cdb5ee3d to < 592e57591826f3d09c28d755a39ea8e9d13705adaffected
  • 4608fdfc07e116f9fc0895beb40abad7cdb5ee3d to < 2cfadb761d3d0219412fd8150faea60c7e863833affected
  • dafc95a1e473a0b857af34ecbb17b8b1c90edd75affected
  • 5892f910f401c1facfc410e0b042108f2827a77baffected
  • f68ad168e23565ce2a3891fec537cfaf8410d1e6affected
  • 7aa03980b21fdc7355e20274a68a69a0b2a45c08affected
  • 4.19.206 to < 4.20affected
  • 5.4.144 to < 5.5affected
  • 5.10.62 to < 5.11affected
  • 5.13.14 to < 5.14affected

Linux Linux

Default version status: affected

  • 5.14affected
  • 0 to < 5.14unaffected
  • 5.15.34 to ≤ 5.15.*unaffected
  • 5.16.20 to ≤ 5.16.*unaffected
  • 5.17.3 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References