Lucene search

K
cveLinuxCVE-2022-48780
HistoryJul 16, 2024 - 12:15 p.m.

CVE-2022-48780

2024-07-1612:15:03
Linux
web.nvd.nist.gov
33
linux kernel
net/smc
vulnerability
callback functions
overwrite
loop call
fix
cve-2022-48780

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

16.0%

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

Vulners
Node
linuxlinux_kernelRange5.15.225.15.25
OR
linuxlinux_kernelRange5.16.85.16.11
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/smc/af_smc.c"
    ],
    "versions": [
      {
        "version": "0ef6049f6649",
        "lessThan": "7de7ba7a8bd4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "504078fbe9dd",
        "lessThan": "f00b6c976ae0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "341adeec9ada",
        "lessThan": "1de9770d121e",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/smc/af_smc.c"
    ],
    "versions": [
      {
        "version": "5.15.22",
        "lessThan": "5.15.25",
        "status": "affected",
        "versionType": "custom"
      },
      {
        "version": "5.16.8",
        "lessThan": "5.16.11",
        "status": "affected",
        "versionType": "custom"
      }
    ]
  }
]

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

16.0%