CVE-2023-53652
vdpa: Add features attr to vdpa_nl_policy for nlattr length check
Check your servers for CVE-2023-53652
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-53652 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
vdpa: Add features attr to vdpa_nl_policy for nlattr length check
The vdpa_nl_policy structure is used to validate the nlattr when parsing the incoming nlmsg. It will ensure the attribute being described produces a valid nlattr pointer in info->attrs before entering into each handler in vdpa_nl_ops.
That is to say, the missing part in vdpa_nl_policy may lead to illegal nlattr after parsing, which could lead to OOB read just like CVE-2023-3773.
This patch adds the missing nla_policy for vdpa features attr to avoid such bugs.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 90fea5a800c3dd80fb8ad9a02929bcef5fde42b8, before 44b508cc96889e61799cc0fc6c00766a54f3ab5a affected from 90fea5a800c3dd80fb8ad9a02929bcef5fde42b8, before 645d17e06c502e71b880b2b854930e5a64014640 affected from 90fea5a800c3dd80fb8ad9a02929bcef5fde42b8, before 79c8651587504ba263d2fd67fd4406240fb21f69
Other versions: unaffected
|
| Linux |
affected 6.1 unaffected before 6.1 unaffected from 6.1.47 up to and including 6.1.* unaffected from 6.4.12 up to and including 6.4.* unaffected 6.5 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-53652 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53652
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-53652
trivy image --scanners vuln IMAGE | grep CVE-2023-53652
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
- https://git.kernel.org/stable/c/44b508cc96889e61799cc0fc6c00766a54f3ab5a git.kernel.org
- https://git.kernel.org/stable/c/645d17e06c502e71b880b2b854930e5a64014640 git.kernel.org
- https://git.kernel.org/stable/c/79c8651587504ba263d2fd67fd4406240fb21f69 git.kernel.org
Source: the record CVE-2023-53652 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse