CVE-2022-48780

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

State
Published
Severity
Not scored
Published
Jul 16, 2024
Updated
May 11, 2026
Reserved
Jun 20, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0ef6049f664941bc0f75828b3a61877635048b27 to before 7de7ba7a8bd4fde0141de8674c13514d0072f0e6Affected
  • 504078fbe9dd570d685361b57784a6050bc40aaa to before f00b6c976ae0dfbd9b891175f713f59095d23842Affected
  • 341adeec9adad0874f29a0a1af35638207352a39 to before 1de9770d121ee9294794cca0e0be8fbfa0134ee8Affected
LinuxLinux
  • 5.15.22 to before 5.15.25Affected
  • 5.16.8 to before 5.16.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.