CVE-2024-0565

Kernel: cifs filesystem decryption improper input validation remote code execution vulnerability in function receive_encrypted_standard of client

6.8 medium EPSS 1.79%

Published 15 Jan 2024 Updated 26 Nov 2026 CNA: redhat

Check your servers for CVE-2024-0565

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-2024-0565 affects 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

An out-of-bounds memory read flaw was found in receive_encrypted_standard in fs/smb/client/smb2ops.c in the SMB Client sub-component in the Linux Kernel. This issue occurs due to integer underflow on the memcpy length, leading to a denial of service.

Severity (CVSS)

6.8 medium CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.79%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 78.9% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 8 May 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-191 Integer Underflow (Wrap or Wraparound)

Affected products

As the CNA lists them.

ProductVersions
kernel
package kernel
affected from 4.19, before 5.10.211
affected from 5.11, before 5.15.150
affected from 5.16, before 6.1.69
affected from 6.2, before 6.6.8
Other versions: unaffected
Red Hat Enterprise Linux 8
package kernel-rt
unaffected 0:4.18.0-513.24.1.rt7.326.el8_9 and later
Other versions: affected
Red Hat Enterprise Linux 8
package kernel-rt
unaffected 0:4.18.0-513.24.1.rt7.326.el8_9 and later
Other versions: affected
Red Hat Enterprise Linux 8
package kernel
unaffected 0:4.18.0-513.24.1.el8_9 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Extended Update Support
package kernel
unaffected 0:4.18.0-372.95.1.el8_6 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Extended Update Support
package kernel
unaffected 0:4.18.0-477.51.1.el8_8 and later
Other versions: affected
Red Hat Enterprise Linux 9
package kernel
unaffected 0:5.14.0-427.13.1.el9_4 and later
Other versions: affected
Red Hat Enterprise Linux 9
package kernel
unaffected 0:5.14.0-427.13.1.el9_4 and later
Other versions: affected
Red Hat Enterprise Linux 9
package kernel
unaffected 0:5.14.0-427.13.1.el9_4 and later
Other versions: affected
Red Hat Enterprise Linux 9
package kernel
unaffected 0:5.14.0-427.13.1.el9_4 and later
Other versions: affected
Red Hat Enterprise Linux 9.2 Extended Update Support
package kernel
unaffected 0:5.14.0-284.59.1.el9_2 and later
Other versions: affected
Red Hat Enterprise Linux 9.2 Extended Update Support
package kernel-rt
unaffected 0:5.14.0-284.59.1.rt14.344.el9_2 and later
Other versions: affected
Red Hat Enterprise Linux 9.2 Extended Update Support
package kernel-rt
unaffected 0:5.14.0-284.59.1.rt14.344.el9_2 and later
Other versions: affected
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
package kernel
unaffected 0:4.18.0-372.95.1.el8_6 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/cluster-logging-operator-bundle
unaffected v5.7.13-16 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/cluster-logging-rhel8-operator
unaffected v5.7.13-7 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/elasticsearch6-rhel8
unaffected v6.8.1-408 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/elasticsearch-operator-bundle
unaffected v5.7.13-19 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/elasticsearch-proxy-rhel8
unaffected v1.0.0-480 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/elasticsearch-rhel8-operator
unaffected v5.7.13-9 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/eventrouter-rhel8
unaffected v0.4.0-248 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/fluentd-rhel8
unaffected v1.14.6-215 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/kibana6-rhel8
unaffected v6.8.1-431 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/log-file-metric-exporter-rhel8
unaffected v1.1.0-228 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/logging-curator5-rhel8
unaffected v5.8.1-471 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/logging-loki-rhel8
unaffected v2.9.6-15 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/logging-view-plugin-rhel8
unaffected v5.7.13-3 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/loki-operator-bundle
unaffected v5.7.13-27 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/loki-rhel8-operator
unaffected v5.7.13-12 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/lokistack-gateway-rhel8
unaffected v0.1.0-527 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/opa-openshift-rhel8
unaffected v0.1.0-225 and later
Other versions: affected
RHOL-5.7-RHEL-8
package openshift-logging/vector-rhel8
unaffected v0.28.1-57 and later
Other versions: affected
Red Hat Enterprise Linux 6
package kernel
unaffected the record does not list versions
Red Hat Enterprise Linux 7
package kernel
unaffected the record does not list versions
Red Hat Enterprise Linux 7
package kernel-rt
unaffected the record does not list versions

Is my server affected?

Find the installed version of kernel and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i kernel
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-0565 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-0565

RHEL, Rocky, Alma, Fedora

rpm -q kernel
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-0565

Alpine

apk list --installed | grep -i kernel

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-2024-0565
trivy image --scanners vuln IMAGE | grep CVE-2024-0565

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

Advisories

Other references

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