CVE-2022-48780

net/smc: Avoid overwriting the copies of clcsock callback functions

MEDIUM
5.5
CVSS Score
Published: July 16, 2024 at 11:13 AM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: net/smc: Avoid overwriting the copies of clcsock callback functions The callback functions of clcsock will be saved and replaced during the fallback. But if the fallback happens more than once, then the copies of these callback functions will be overwritten incorrectly, resulting in a loop call issue: clcsk->sk_error_report |- smc_fback_error_report() <------------------------------| |- smc_fback_forward_wakeup() | (loop) |- clcsock_callback() (incorrectly overwritten) | |- smc->clcsk_error_report() ------------------| So this patch fixes the issue by saving these function pointers only once in the fallback and avoiding overwriting.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15.22 ≤ v < 5.15.255.16.8 ≤ v < 5.16.110ef6049f664941bc0f75828b3a61877635048b27341adeec9adad0874f29a0a1af35638207352a395.15.225.16.85.17 rc35.17 rc4504078fbe9dd570d685361b57784a6050bc40aaa
Vendor states this is fixed in 1de9770d121ee9294794cca0e0be8fbfa0134ee8 (fixed)
Vendor states this is fixed in 7de7ba7a8bd4fde0141de8674c13514d0072f0e6 (fixed)
Vendor states this is fixed in f00b6c976ae0dfbd9b891175f713f59095d23842 (fixed)
Affected range stops below 5.15.25, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.16.11, so it looks safe — our inference, not a vendor statement

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1de9770d121ee9294794cca0e0be8fbfa0134ee8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7de7ba7a8bd4fde0141de8674c13514d0072f0e6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f00b6c976ae0dfbd9b891175f713f59095d23842

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-835

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card