CVE-2024-0340
published medium CVSS 3.1 · 4.4Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | kernel0 to < 6.4-rc6 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | kernel-rt0:4.18.0-553.5.1.rt7.346.el8_10 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | kernel0:4.18.0-553.5.1.el8_10 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | kernel0:5.14.0-503.11.1.el9_5 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2549 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-051 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
Show 108 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | kernelRed Hat Enterprise Linux 9.4 Extended Update Support · 0:5.14.0-427.68.1.el9_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | kernelRed Hat Enterprise Linux 9.4 Extended Update Support · 0:5.14.0-427.68.1.el9_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | kernelRed Hat Enterprise Linux 9.4 Extended Update Support · 0:5.14.0-427.68.1.el9_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | kernel | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 7 | kernel-rt | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-053 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2024-039 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-061 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-062 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-549 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-553.5.1.el8_10 | RHSA-2024:3618 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.14.21-150400.15.68.1 | SUSE-SU-2024:0476-1 |
| Debian | bullseye | linux | Advisory build | 5.10.216-1 | DSA-5681-1 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-553.5.1.el8_10 | RHSA-2024:3618 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-553.5.1.el8_10 | RHSA-2024:3618 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-553.5.1.el8_10 | RHSA-2024:3618 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-553.5.1.el8_10 | RHSA-2024:3618 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtsrc | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | RHSA-2024:3627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtx86_64 | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | RHSA-2024:3627 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-427.68.1.el9_4 | RHSA-2025:7526 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-427.68.1.el9_4 | RHSA-2025:7526 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-427.68.1.el9_4 | RHSA-2025:7526 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-427.68.1.el9_4 | RHSA-2025:7526 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-427.68.1.el9_4 | RHSA-2025:7526 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-427.68.1.el9_4 | RHSA-2025:7526 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.3.18-150300.161.1 | SUSE-SU-2024:0856-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.3 | kernel-rtx86_64 | Advisory build | 5.14.21-150400.15.68.1 | SUSE-SU-2024:0476-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.4 | kernel-rtx86_64 | Advisory build | 5.14.21-150400.15.68.1 | SUSE-SU-2024:0476-1 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| Debian | buster | linux | Advisory build | 4.19.316-1 | DLA-3840-1 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.330.7.1.el7 | ELSA-2024-12274 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.330.7.1.el7 | ELSA-2024-12274 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.330.7.1.el7uek | ELSA-2024-12271 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A vulnerability was found in vhost_new_msg in drivers/vhost/vhost.c in the Linux kernel, which does not properly initialize memory in messages passed between virtual guests and the host operating system in the vhost/vhost.c:vhost_new_msg() function. This issue can allow local privileged users to read some kernel memory contents when reading from the /dev/vhost-net device file.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kernel | 0 to < 6.4-rc6 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.0-553.5.1.rt7.346.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.0-553.5.1.rt7.346.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.0-553.5.1.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:5.14.0-503.11.1.el9_5 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:5.14.0-503.11.1.el9_5 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:5.14.0-503.11.1.el9_5 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:5.14.0-503.11.1.el9_5 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:5.14.0-427.68.1.el9_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:5.14.0-427.68.1.el9_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:5.14.0-427.68.1.el9_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
Weaknesses
1- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
9- RHSA-2024:3618 https://access.redhat.com/errata/RHSA-2024:3618
- RHSA-2024:3627 https://access.redhat.com/errata/RHSA-2024:3627
- RHSA-2024:9315 https://access.redhat.com/errata/RHSA-2024:9315
- RHSA-2025:7526 https://access.redhat.com/errata/RHSA-2025:7526
- https://access.redhat.com/security/cve/CVE-2024-0340
- RHBZ#2257406 https://bugzilla.redhat.com/show_bug.cgi?id=2257406
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- https://lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/
Provider assertions
3redhat · cna
Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 83b903e01ef48f1bdf895d69e9b941ee7562faa5265fba8ee0f5bf4a224ba3c6
- Ingested
- 27 Nov 2026, 04:55:14 UTC
- Source record
- Official CVE record