net/sched: act_ct: fix ref leak when switching zones
Summary
| CVE | CVE-2022-49183 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-02-26 07:00:55 UTC |
| Updated | 2026-06-01 17:16:22 UTC |
| 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(). |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-Other | CWE-noinfo Not enough information
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | ADP | DECLARED | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 0fc1847359964e95e521cf2bb2b10f8e33dd0970 9222a08be539cbb7a8e0d46cbc7ab9e4db273eb8 git | Not specified |
| CNA | Linux | Linux | affected a95ea90deb3071c1ded77a05e91cfebc5238d908 bcbf4e5c3b5b373cd61528392dd1ec8e9c0fd33d git | Not specified |
| CNA | Linux | Linux | affected e9408de00e5ecd0dbe91cf061c7da23711c4febb 4bb42d73def9411e5cad885b9811987d72431df1 git | Not specified |
| CNA | Linux | Linux | affected 2f131de361f6d0eaff17db26efdb844c178432f8 b24793a37d91aacad7cb9893b226a7924a89636a git | Not specified |
| CNA | Linux | Linux | affected 2f131de361f6d0eaff17db26efdb844c178432f8 bcb74e132a76ce0502bb33d5b65533a4ed72d159 git | Not specified |
| CNA | Linux | Linux | affected 5.10.103 5.10.258 semver | Not specified |
| CNA | Linux | Linux | affected 5.15.26 5.15.33 semver | Not specified |
| CNA | Linux | Linux | affected 5.16.12 5.16.19 semver | Not specified |
| CNA | Linux | Linux | affected 5.17 | Not specified |
| CNA | Linux | Linux | unaffected 5.17 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.258 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.33 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.16.19 5.16.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.17.2 5.17.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.18 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/bcb74e132a76ce0502bb33d5b65533a4ed72d159 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b24793a37d91aacad7cb9893b226a7924a89636a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/bcbf4e5c3b5b373cd61528392dd1ec8e9c0fd33d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/9222a08be539cbb7a8e0d46cbc7ab9e4db273eb8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4bb42d73def9411e5cad885b9811987d72431df1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.