CVE-2023-6121Kernel: nvme: info leak due to out-of-bounds read in nvmet_ctrl_find_get
- 4.3MediumCVSS base score
- 1.6%Exploitation in 30 daysEPSS · top 23% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
An out-of-bounds read vulnerability was found in the NVMe-oF/TCP subsystem in the Linux kernel. This issue may allow a remote attacker to send a crafted TCP packet, triggering a heap-based buffer overflow that results in kmalloc data being printed and potentially leaked to the kernel ring buffer (dmesg).
Timeline
ID reserved
By redhat
- 2 days later
· 2 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.6% · top 23% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Affected products
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.0-553.rt7.342.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.0-553.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:5.14.0-427.13.1.el9_4 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:5.14.0-427.13.1.el9_4 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 7
All versions: unknown
Red Hat · Red Hat Enterprise Linux 7
All versions: unknown
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
What to do
Workaround: This flaw can be mitigated by explicitly setting the kernel parameter to restrict unprivileged users from using dmesg: ``` sudo sysctl -w kernel.dmesg_restrict=1 ``` To make it persistent between system reboots: ``` echo 'kernel.dmesg_restrict=1' | sudo tee -a /etc/sysctl.conf ```
References
References9
- RHSA-2024:2394 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2950 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3138 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-6121 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2250043 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-58376 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-6121)Record last updated .