CVE-2022-49110

netfilter: conntrack: revisit gc autotuning

HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.61 % · percentile 49 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4608fdfc07e116f9fc0895beb40abad7cdb5ee3d < 58d52743ae85d28c9335c6034d6ce350b8689951 ; affected 4608fdfc07e116f9fc0895beb40abad7cdb5ee3d < 7cd361d5e6d986c0d4cafb9ceaa803359048ae15 ; affected 4608fdfc07e116f9fc0895beb40abad7cdb5ee3d < 592e57591826f3d09c28d755a39ea8e9d13705ad ; affected 4608fdfc07e116f9fc0895beb40abad7cdb5ee3d < 2cfadb761d3d0219412fd8150faea60c7e863833 ; affected dafc95a1e473a0b857af34ecbb17b8b1c90edd75 ; affected 5892f910f401c1facfc410e0b042108f2827a77b
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.15.34 ≤ 5.15.* ; unaffected 5.16.20 ≤ 5.16.* ; unaffected 5.17.3 ≤ 5.17.* ; unaffected 5.18 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD