Bug 2347755 (CVE-2022-49110) - CVE-2022-49110 kernel: netfilter: conntrack: revisit gc autotuning
Summary: CVE-2022-49110 kernel: netfilter: conntrack: revisit gc autotuning
Keywords:
Status: NEW
Alias: CVE-2022-49110
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:05 UTC by OSIDB Bzimport
Modified: 2025-02-26 18:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:05:36 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 14:05:08 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022602-CVE-2022-49110-5519@gregkh/T

Comment 4 Avinash Hanwate 2025-02-26 18:02:25 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022602-CVE-2022-49110-5519@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.