CVEvulnerability

CVE-2022-48780

5.5 MEDIUM Published 2024-07-16 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-07-16
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-835

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 configurations

• linux linux kernel (>= 5.15.22 < 5.15.25) • linux linux kernel (>= 5.16.8 < 5.16.11) • linux linux kernel 5.17

Related

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References