CVE-2024-0340
MEDIUM 5.5CVSS 3.1Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()
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.
- Published
- 9 Jan 2024
- Last modified
- 27 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-200
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| CVE List | redhat | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
< 6.4 | 6.4 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:* |
= 6.4 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:* |
= 6.4 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.4:rc3:*:*:*:*:*:* |
= 6.4 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.4:rc4:*:*:*:*:*:* |
= 6.4 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.4:rc5:*:*:*:*:*:* |
= 6.4 | |
| CVE List | https://git.kernel.org/pub/scm/linux/kernel | kernel | < 6.4-rc6 | 6.4-rc6 |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernel-rtcpe:/a:redhat:enterprise_linux:8::nfv |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernelcpe:/a:redhat:enterprise_linux:8::crb |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernelcpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernelcpe:/a:redhat:rhel_eus:9.4::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernelcpe:/o:redhat:rhel_els:6 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernelcpe:/o:redhat:rhel_els:7 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernel-rtcpe:/o:redhat:rhel_els:7 |
all versions |
References
- https://access.redhat.com/errata/RHSA-2024:3618 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:3627 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:9315 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:7526 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-0340 · Third Party Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2257406 · Issue Tracking, Patch, Third Party Advisory, issue-tracking, x_refsource_REDHAT
- https://lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/ · Mailing List, Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html · x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html · x_transferred
History
- 27 Nov 2026 05:28 UTC · NVD: updated (other details)
- 27 Nov 2026 04:51 UTC · CVE List: first stored (published 9 Jan 2024)
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Jan 2024)