CVE-2023-52775

net/smc: avoid data corruption caused by decline

8.2 high EPSS 0.67%

Published 21 May 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2023-52775

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52775 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

net/smc: avoid data corruption caused by decline

We found a data corruption issue during testing of SMC-R on Redis applications.

The benchmark has a low probability of reporting a strange error as shown below.

"Error: Protocol error, got "\xe2" as reply type byte"

Finally, we found that the retrieved error data was as follows:

0xE2 0xD4 0xC3 0xD9 0x04 0x00 0x2C 0x20 0xA6 0x56 0x00 0x16 0x3E 0x0C 0xCB 0x04 0x02 0x01 0x00 0x00 0x20 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xE2

It is quite obvious that this is a SMC DECLINE message, which means that the applications received SMC protocol message. We found that this was caused by the following situations:

client server ¦ clc proposal -------------> ¦ clc accept <------------- ¦ clc confirm -------------> wait llc confirm send llc confirm ¦failed llc confirm ¦ x------ (after 2s)timeout wait llc confirm rsp

wait decline

(after 1s) timeout (after 2s) timeout ¦ decline --------------> ¦ decline <--------------

As a result, a decline message was sent in the implementation, and this message was read from TCP by the already-fallback connection.

This patch double the client timeout as 2x of the server value, With this simple change, the Decline messages should never cross or collide (during Confirm link timeout).

This issue requires an immediate solution, since the protocol updates involve a more long-term solution.

Severity (CVSS)

8.2 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 53.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 22 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44, before 5ada292b5c504720a0acef8cae9acc62a694d19c
affected from 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44, before 90072af9efe8c7bd7d086709014ddd44cebd5e7c
affected from 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44, before 94a0ae698b4d5d5bb598e23228002a1491c50add
affected from 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44, before 7234d2b5dffa5af77fd4e0deaebab509e130c6b1
affected from 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44, before e6d71b437abc2f249e3b6a1ae1a7228e09c6e563
Other versions: unaffected
Linux
affected 5.8
unaffected before 5.8
unaffected from 5.10.203 up to and including 5.10.*
unaffected from 5.15.141 up to and including 5.15.*
unaffected from 6.1.65 up to and including 6.1.*
unaffected from 6.6.4 up to and including 6.6.*
unaffected 6.7 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52775 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52775

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-52775
trivy image --scanners vuln IMAGE | grep CVE-2023-52775

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-52775 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.