nday
CVE-2023-1998

Spectre v2 SMT mitigations problem in Linux kernel

Linux / Linux Kernel

Preuve de concept publique parue 1 jour avant la publication de la fiche CVE. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : exploitdb. Aucune inscription au catalogue KEV de la CISA à ce jour.

tags weakness typeinformation disclosure accesslocalno user interaction exploitationExploit-DB productLinux kernel product typeoperating system
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

information disclosure
CWE-203, stated by NVD's analysts
local
AV:L in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA Google
no user interaction
UI:N in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA Google
Exploit-DB
Exploit-DB entries 51384
Linux kernel
affected products in the CVE record: Linux · Linux KernelCPE names NVD's analysts give as vulnerable: o:linux:linux_kernel
operating system
affected products in the CVE record: Linux · Linux KernelCPE names NVD's analysts give as vulnerable: o:linux:linux_kernelthe product type of Linux kernel in nday's product registry
étape actuelle
POC
divulgation
CVSS
5.6 MEDIUM v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2023-04-21T14:51Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2023-04-20, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

The Linux kernel allows userspace processes to enable mitigations by calling prctl with PR_SET_SPECULATION_CTRL which disables the speculation feature as well as by using seccomp. We had noticed that on VMs of at least one major cloud provider, the kernel still left the victim process exposed to attacks in some cases even after enabling the spectre-BTI mitigation with prctl. The same behavior can be observed on a bare-metal machine when forcing the mitigation to IBRS on boot command line.

This happened because when plain IBRS was enabled (not enhanced IBRS), the kernel had some logic that determined that STIBP was not needed. The IBRS bit implicitly protects against cross-thread branch target injection. However, with legacy IBRS, the IBRS bit was cleared on returning to userspace, due to performance reasons, which disabled the implicit STIBP and left userspace threads vulnerable to cross-thread branch target injection against which STIBP protects.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA Google.

Journal des événements

2023-04-20date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Linux Kernel 6.2 - Userspace Processes to Enable Mitigation » (EDB-51384).

source exploitdb 51384 · importé en masse par nday le · brut
{
  "id": 24216,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/51384",
  "occurred_at": "2023-04-20T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "51384",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/51384",
    "file": "exploits/linux/local/51384.txt",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Linux Kernel 6.2 - Userspace Processes to Enable Mitigation",
    "author": "nu11secur1ty",
    "edb_id": 51384,
    "cve_ids": [
      "CVE-2023-1998"
    ],
    "platform": "linux",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2023-04-20",
    "date_updated": "2023-04-20",
    "date_published": "2023-04-20"
  }
}
+DISdivulgation

Fiche CVE publiée par Google. CVSS 5.6, gravité moyenne. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "id": 60669,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2023-1998",
  "occurred_at": "2023-04-21T14:51:52.907Z",
  "observed_at": "2026-11-12T18:01:52.55281Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N",
      "version": "3.1",
      "base_score": 5.6,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2025-02-04T20:32:12.930829Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2023-04-21T14:51:52.907Z",
    "assigner_short_name": "Google"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.