# CVE-2022-48780: net/smc: Avoid overwriting the copies of clcsock callback functions

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-07-16T11:13:17.827Z
- Modified: 2026-06-17T05:16:10.623Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0ef6049f664941bc0f75828b3a61877635048b27 before 7de7ba7a8bd4fde0141de8674c13514d0072f0e6; from 504078fbe9dd570d685361b57784a6050bc40aaa before f00b6c976ae0dfbd9b891175f713f59095d23842; from 341adeec9adad0874f29a0a1af35638207352a39 before 1de9770d121ee9294794cca0e0be8fbfa0134ee8; from 5.15.22 before 5.15.25; from 5.16.8 before 5.16.11
- linux linux_kernel: from 5.15.22 before 5.15.25; from 5.16.8 before 5.16.11; 5.17

## References

- <https://git.kernel.org/stable/c/7de7ba7a8bd4fde0141de8674c13514d0072f0e6> (patch)
- <https://git.kernel.org/stable/c/f00b6c976ae0dfbd9b891175f713f59095d23842> (patch)
- <https://git.kernel.org/stable/c/1de9770d121ee9294794cca0e0be8fbfa0134ee8> (patch)

## Sources

- CVE List: [CVE-2022-48780](https://www.cve.org/CVERecord?id=CVE-2022-48780), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48780](https://nvd.nist.gov/vuln/detail/CVE-2022-48780), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48780 · Whole record: https://cve.day/CVE-2022-48780.json · Rebuilt by cve.day 2026-11-25T22:58:19.876Z
