CVE-2022-50639 (GCVE-0-2022-50639)

Vulnerability from cvelistv5 – Published: 2025-12-09 00:00 – Updated: 2026-05-11 19:22
VLAI
Title
io-wq: Fix memory leak in worker creation
Summary
In the Linux kernel, the following vulnerability has been resolved: io-wq: Fix memory leak in worker creation If the CPU mask allocation for a node fails, then the memory allocated for the 'io_wqe' struct of the current node doesn't get freed on the error handling path, since it has not yet been added to the 'wqes' array. This was spotted when fuzzing v6.1-rc1 with Syzkaller: BUG: memory leak unreferenced object 0xffff8880093d5000 (size 1024): comm "syz-executor.2", pid 7701, jiffies 4295048595 (age 13.900s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000cb463369>] __kmem_cache_alloc_node+0x18e/0x720 [<00000000147a3f9c>] kmalloc_node_trace+0x2a/0x130 [<000000004e107011>] io_wq_create+0x7b9/0xdc0 [<00000000c38b2018>] io_uring_alloc_task_context+0x31e/0x59d [<00000000867399da>] __io_uring_add_tctx_node.cold+0x19/0x1ba [<000000007e0e7a79>] io_uring_setup.cold+0x1b80/0x1dce [<00000000b545e9f6>] __x64_sys_io_uring_setup+0x5d/0x80 [<000000008a8a7508>] do_syscall_64+0x5d/0x90 [<000000004ac08bec>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 7143 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 0e03496d1967abf1ebb151a24318c07d07f41f7f , < b6e2c54be37d5eb4f6666e6aa59cd0581c7ffc3c (git)
Affected: 0e03496d1967abf1ebb151a24318c07d07f41f7f , < ed981911a7c90a604f4a2bee908ab07e3b786aca (git)
Affected: 0e03496d1967abf1ebb151a24318c07d07f41f7f , < 996d3efeb091c503afd3ee6b5e20eabf446fd955 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.14
Unaffected: 0 , < 5.14 (semver)
Unaffected: 5.15.75 , ≤ 5.15.* (semver)
Unaffected: 6.0.4 , ≤ 6.0.* (semver)
Unaffected: 6.1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "io_uring/io-wq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b6e2c54be37d5eb4f6666e6aa59cd0581c7ffc3c",
              "status": "affected",
              "version": "0e03496d1967abf1ebb151a24318c07d07f41f7f",
              "versionType": "git"
            },
            {
              "lessThan": "ed981911a7c90a604f4a2bee908ab07e3b786aca",
              "status": "affected",
              "version": "0e03496d1967abf1ebb151a24318c07d07f41f7f",
              "versionType": "git"
            },
            {
              "lessThan": "996d3efeb091c503afd3ee6b5e20eabf446fd955",
              "status": "affected",
              "version": "0e03496d1967abf1ebb151a24318c07d07f41f7f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "io_uring/io-wq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.75",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.4",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio-wq: Fix memory leak in worker creation\n\nIf the CPU mask allocation for a node fails, then the memory allocated for\nthe \u0027io_wqe\u0027 struct of the current node doesn\u0027t get freed on the error\nhandling path, since it has not yet been added to the \u0027wqes\u0027 array.\n\nThis was spotted when fuzzing v6.1-rc1 with Syzkaller:\nBUG: memory leak\nunreferenced object 0xffff8880093d5000 (size 1024):\n  comm \"syz-executor.2\", pid 7701, jiffies 4295048595 (age 13.900s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [\u003c00000000cb463369\u003e] __kmem_cache_alloc_node+0x18e/0x720\n    [\u003c00000000147a3f9c\u003e] kmalloc_node_trace+0x2a/0x130\n    [\u003c000000004e107011\u003e] io_wq_create+0x7b9/0xdc0\n    [\u003c00000000c38b2018\u003e] io_uring_alloc_task_context+0x31e/0x59d\n    [\u003c00000000867399da\u003e] __io_uring_add_tctx_node.cold+0x19/0x1ba\n    [\u003c000000007e0e7a79\u003e] io_uring_setup.cold+0x1b80/0x1dce\n    [\u003c00000000b545e9f6\u003e] __x64_sys_io_uring_setup+0x5d/0x80\n    [\u003c000000008a8a7508\u003e] do_syscall_64+0x5d/0x90\n    [\u003c000000004ac08bec\u003e] entry_SYSCALL_64_after_hwframe+0x63/0xcd"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:22:44.249Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b6e2c54be37d5eb4f6666e6aa59cd0581c7ffc3c"
        },
        {
          "url": "https://git.kernel.org/stable/c/ed981911a7c90a604f4a2bee908ab07e3b786aca"
        },
        {
          "url": "https://git.kernel.org/stable/c/996d3efeb091c503afd3ee6b5e20eabf446fd955"
        }
      ],
      "title": "io-wq: Fix memory leak in worker creation",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50639",
    "datePublished": "2025-12-09T00:00:12.576Z",
    "dateReserved": "2025-12-08T23:57:43.370Z",
    "dateUpdated": "2026-05-11T19:22:44.249Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50639",
      "date": "2026-11-20",
      "epss": "0.00211",
      "percentile": "0.11622"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "io_uring/io-wq.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "b6e2c54be37d5eb4f6666e6aa59cd0581c7ffc3c",
                    "status": "affected",
                    "version": "0e03496d1967abf1ebb151a24318c07d07f41f7f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ed981911a7c90a604f4a2bee908ab07e3b786aca",
                    "status": "affected",
                    "version": "0e03496d1967abf1ebb151a24318c07d07f41f7f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "996d3efeb091c503afd3ee6b5e20eabf446fd955",
                    "status": "affected",
                    "version": "0e03496d1967abf1ebb151a24318c07d07f41f7f",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "io_uring/io-wq.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.14"
                  },
                  {
                    "lessThan": "5.14",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.75",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.0.*",
                    "status": "unaffected",
                    "version": "6.0.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "6.1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio-wq: Fix memory leak in worker creation\n\nIf the CPU mask allocation for a node fails, then the memory allocated for\nthe \u0027io_wqe\u0027 struct of the current node doesn\u0027t get freed on the error\nhandling path, since it has not yet been added to the \u0027wqes\u0027 array.\n\nThis was spotted when fuzzing v6.1-rc1 with Syzkaller:\nBUG: memory leak\nunreferenced object 0xffff8880093d5000 (size 1024):\n  comm \"syz-executor.2\", pid 7701, jiffies 4295048595 (age 13.900s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [\u003c00000000cb463369\u003e] __kmem_cache_alloc_node+0x18e/0x720\n    [\u003c00000000147a3f9c\u003e] kmalloc_node_trace+0x2a/0x130\n    [\u003c000000004e107011\u003e] io_wq_create+0x7b9/0xdc0\n    [\u003c00000000c38b2018\u003e] io_uring_alloc_task_context+0x31e/0x59d\n    [\u003c00000000867399da\u003e] __io_uring_add_tctx_node.cold+0x19/0x1ba\n    [\u003c000000007e0e7a79\u003e] io_uring_setup.cold+0x1b80/0x1dce\n    [\u003c00000000b545e9f6\u003e] __x64_sys_io_uring_setup+0x5d/0x80\n    [\u003c000000008a8a7508\u003e] do_syscall_64+0x5d/0x90\n    [\u003c000000004ac08bec\u003e] entry_SYSCALL_64_after_hwframe+0x63/0xcd"
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nio-wq: Correcci\u00f3n de fuga de memoria en la creaci\u00f3n de trabajadores\n\nSi la asignaci\u00f3n de m\u00e1scara de CPU para un nodo falla, la memoria asignada para la estructura io_wqe del nodo actual no se libera en la ruta de manejo de errores, ya que a\u00fan no se ha a\u00f1adido al array wqes.\n\nEsto fue detectado al realizar fuzzing en v6.1-rc1 con Syzkaller:\nBUG: fuga de memoria\nobjeto sin referencia 0xffff8880093d5000 (tama\u00f1o 1024):\n  comm \u2019syz-executor.2\u2019, pid 7701, jiffies 4295048595 (antig\u00fcedad 13.900s)\n  volcado hexadecimal (primeros 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [[00000000cb463369]] __kmem_cache_alloc_node+0x18e/0x720\n    [[00000000147a3f9c]] kmalloc_node_trace+0x2a/0x130\n    [[000000004e107011]] io_wq_create+0x7b9/0xdc0\n    [[00000000c38b2018]] io_uring_alloc_task_context+0x31e/0x59d\n    [[00000000867399da]] __io_uring_add_tctx_node.cold+0x19/0x1ba\n    [[000000007e0e7a79]] io_uring_setup.cold+0x1b80/0x1dce\n    [[00000000b545e9f6]] __x64_sys_io_uring_setup+0x5d/0x80\n    [[000000008a8a7508]] do_syscall_64+0x5d/0x90\n    [[000000004ac08bec]] entry_SYSCALL_64_after_hwframe+0x63/0xcd"
          }
        ],
        "id": "CVE-2022-50639",
        "lastModified": "2026-11-10T12:10:00.177",
        "metrics": {},
        "published": "2025-12-09T01:16:46.280",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/996d3efeb091c503afd3ee6b5e20eabf446fd955"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b6e2c54be37d5eb4f6666e6aa59cd0581c7ffc3c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ed981911a7c90a604f4a2bee908ab07e3b786aca"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Deferred"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-11-07T10:49:16+00:00",
      "cve": "CVE-2022-50639",
      "id": "CVE-2022-50639",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_affected": "109",
      "product_status:known_not_affected": "91",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: io-wq: Fix memory leak in worker creation",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50639.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-05T23:41:20Z",
      "cve": "CVE-2022-50639",
      "id": "CVE-2022-50639",
      "initial_release_date": "2025-12-10T00:39:14Z",
      "product_status:known_not_affected": "515",
      "product_status:recommended": "29",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50639",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50639.json",
      "version": "8"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.