Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49183

net/sched: act_ct: fix ref leak when switching zones

Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ct: fix ref leak when switching zones When switching zones or network namespaces without doing a ct clear in between, it is now leaking a reference to the old ct entry. That's because tcf_ct_skb_nfct_cached() returns false and tcf_ct_flow_table_lookup() may simply overwrite it. The fix is to, as the ct entry is not reusable, free it already at tcf_ct_skb_nfct_cached().

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

  • 0fc1847359964e95e521cf2bb2b10f8e33dd0970 to < 9222a08be539cbb7a8e0d46cbc7ab9e4db273eb8affected
  • a95ea90deb3071c1ded77a05e91cfebc5238d908 to < bcbf4e5c3b5b373cd61528392dd1ec8e9c0fd33daffected
  • e9408de00e5ecd0dbe91cf061c7da23711c4febb to < 4bb42d73def9411e5cad885b9811987d72431df1affected
  • 2f131de361f6d0eaff17db26efdb844c178432f8 to < b24793a37d91aacad7cb9893b226a7924a89636aaffected
  • 2f131de361f6d0eaff17db26efdb844c178432f8 to < bcb74e132a76ce0502bb33d5b65533a4ed72d159affected
  • 5.10.103 to < 5.10.258affected
  • 5.15.26 to < 5.15.33affected
  • 5.16.12 to < 5.16.19affected

Linux Linux

Default version status: affected

  • 5.17affected
  • 0 to < 5.17unaffected
  • 5.10.258 to ≤ 5.10.*unaffected
  • 5.15.33 to ≤ 5.15.*unaffected
  • 5.16.19 to ≤ 5.16.*unaffected
  • 5.17.2 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References