CVE-2022-48780

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

published July 16, 2024

CVSS
—
EPSS
0%
Percentile
12.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00227 · 12.7th percentile
Published
2024-07-16T11:13Z
EPSS history
Timeline
  • 16 JUL 11:13Z
    net/smc: Avoid overwriting the copies of clcsock callback functions
    cvelistv5