CVE-2026-53352 (GCVE-0-2026-53352)

Vulnerability from cvelistv5 – Published: 2026-07-01 13:32 – Updated: 2026-07-01 13:32
VLAI
Title
signal: clear JOBCTL_PENDING_MASK for caller in zap_other_threads()
Summary
In the Linux kernel, the following vulnerability has been resolved: signal: clear JOBCTL_PENDING_MASK for caller in zap_other_threads() When a multi-threaded process receives a stop signal (e.g., SIGSTOP), do_signal_stop() sets JOBCTL_STOP_PENDING and JOBCTL_STOP_CONSUME on all threads and sets signal->group_stop_count to the number of threads. If one of the threads concurrently calls execve(), de_thread() invokes zap_other_threads() to kill all other threads. zap_other_threads() aborts the pending group stop by resetting signal->group_stop_count to 0 and clears the JOBCTL_PENDING_MASK for all other threads. However, it fails to clear the job control flags for the calling thread. When execve() completes, the calling thread returns to user mode and checks for pending signals. Seeing the stale JOBCTL_STOP_PENDING flag, it calls do_signal_stop(), which invokes task_participate_group_stop(). Since JOBCTL_STOP_CONSUME is still set, it attempts to decrement the already-zero signal->group_stop_count, triggering a warning: sig->group_stop_count == 0 WARNING: CPU: 1 PID: 6475 at kernel/signal.c:373 task_participate_group_stop+0x215/0x2d0 Call Trace: <TASK> do_signal_stop+0x3be/0x5c0 kernel/signal.c:2619 get_signal+0xa8c/0x1330 kernel/signal.c:2884 arch_do_signal_or_restart+0xbc/0x840 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x8c/0x4d0 kernel/entry/common.c:98 do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> Fix this race condition by clearing the JOBCTL_PENDING_MASK for the calling thread in zap_other_threads(), ensuring it does not retain any stale job control state after the thread group is destroyed. This aligns with other functions that tear down a thread group and abort group stops, such as zap_process() and complete_signal(), which correctly clear these flags for all threads including the current one.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 39efa3ef3a376a4e53de2f82fc91182459d34200 , < 2b32b2fb241435145ea199efac024540759d2495 (git)
Affected: 39efa3ef3a376a4e53de2f82fc91182459d34200 , < 391ebe74456a0f1d60b3ba4a8a64d9f44c1728fe (git)
Affected: 39efa3ef3a376a4e53de2f82fc91182459d34200 , < f8d720bc2e35d568c18be0644e92a468de428370 (git)
Affected: 39efa3ef3a376a4e53de2f82fc91182459d34200 , < f4aae11abb449dc536269705d0419ec69480faa9 (git)
Affected: 39efa3ef3a376a4e53de2f82fc91182459d34200 , < 76aebd9ef20078719dfd6282d3b06c27e900a65a (git)
Affected: 39efa3ef3a376a4e53de2f82fc91182459d34200 , < 8c046f36222c6ce1e0daef2c45c891c72602f8a1 (git)
Affected: 39efa3ef3a376a4e53de2f82fc91182459d34200 , < dfcd0ba14769d94d76ac9d9814b85e7fcacd4e29 (git)
Affected: 39efa3ef3a376a4e53de2f82fc91182459d34200 , < 90918794a4e2c3b440f8fcf3847765a8b1d81b25 (git)
Create a notification for this product.
Linux Linux Affected: 3.0
Unaffected: 0 , < 3.0 (semver)
Unaffected: 5.10.259 , ≤ 5.10.* (semver)
Unaffected: 5.15.210 , ≤ 5.15.* (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.94 , ≤ 6.12.* (semver)
Unaffected: 6.18.36 , ≤ 6.18.* (semver)
Unaffected: 7.0.13 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/signal.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2b32b2fb241435145ea199efac024540759d2495",
              "status": "affected",
              "version": "39efa3ef3a376a4e53de2f82fc91182459d34200",
              "versionType": "git"
            },
            {
              "lessThan": "391ebe74456a0f1d60b3ba4a8a64d9f44c1728fe",
              "status": "affected",
              "version": "39efa3ef3a376a4e53de2f82fc91182459d34200",
              "versionType": "git"
            },
            {
              "lessThan": "f8d720bc2e35d568c18be0644e92a468de428370",
              "status": "affected",
              "version": "39efa3ef3a376a4e53de2f82fc91182459d34200",
              "versionType": "git"
            },
            {
              "lessThan": "f4aae11abb449dc536269705d0419ec69480faa9",
              "status": "affected",
              "version": "39efa3ef3a376a4e53de2f82fc91182459d34200",
              "versionType": "git"
            },
            {
              "lessThan": "76aebd9ef20078719dfd6282d3b06c27e900a65a",
              "status": "affected",
              "version": "39efa3ef3a376a4e53de2f82fc91182459d34200",
              "versionType": "git"
            },
            {
              "lessThan": "8c046f36222c6ce1e0daef2c45c891c72602f8a1",
              "status": "affected",
              "version": "39efa3ef3a376a4e53de2f82fc91182459d34200",
              "versionType": "git"
            },
            {
              "lessThan": "dfcd0ba14769d94d76ac9d9814b85e7fcacd4e29",
              "status": "affected",
              "version": "39efa3ef3a376a4e53de2f82fc91182459d34200",
              "versionType": "git"
            },
            {
              "lessThan": "90918794a4e2c3b440f8fcf3847765a8b1d81b25",
              "status": "affected",
              "version": "39efa3ef3a376a4e53de2f82fc91182459d34200",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/signal.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.0"
            },
            {
              "lessThan": "3.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.94",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.36",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.259",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.94",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.36",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.13",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsignal: clear JOBCTL_PENDING_MASK for caller in zap_other_threads()\n\nWhen a multi-threaded process receives a stop signal (e.g., SIGSTOP),\ndo_signal_stop() sets JOBCTL_STOP_PENDING and JOBCTL_STOP_CONSUME on all\nthreads and sets signal-\u003egroup_stop_count to the number of threads. If\none of the threads concurrently calls execve(), de_thread() invokes\nzap_other_threads() to kill all other threads. zap_other_threads()\naborts the pending group stop by resetting signal-\u003egroup_stop_count to 0\nand clears the JOBCTL_PENDING_MASK for all other threads. However, it\nfails to clear the job control flags for the calling thread.\n\nWhen execve() completes, the calling thread returns to user mode and\nchecks for pending signals. Seeing the stale JOBCTL_STOP_PENDING flag,\nit calls do_signal_stop(), which invokes task_participate_group_stop().\nSince JOBCTL_STOP_CONSUME is still set, it attempts to decrement the\nalready-zero signal-\u003egroup_stop_count, triggering a warning:\n\nsig-\u003egroup_stop_count == 0\nWARNING: CPU: 1 PID: 6475 at kernel/signal.c:373\ntask_participate_group_stop+0x215/0x2d0\nCall Trace:\n \u003cTASK\u003e\n do_signal_stop+0x3be/0x5c0 kernel/signal.c:2619\n get_signal+0xa8c/0x1330 kernel/signal.c:2884\n arch_do_signal_or_restart+0xbc/0x840 arch/x86/kernel/signal.c:337\n exit_to_user_mode_loop+0x8c/0x4d0 kernel/entry/common.c:98\n do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n \u003c/TASK\u003e\n\nFix this race condition by clearing the JOBCTL_PENDING_MASK for the\ncalling thread in zap_other_threads(), ensuring it does not retain any\nstale job control state after the thread group is destroyed. This aligns\nwith other functions that tear down a thread group and abort group\nstops, such as zap_process() and complete_signal(), which correctly\nclear these flags for all threads including the current one."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-01T13:32:29.105Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2b32b2fb241435145ea199efac024540759d2495"
        },
        {
          "url": "https://git.kernel.org/stable/c/391ebe74456a0f1d60b3ba4a8a64d9f44c1728fe"
        },
        {
          "url": "https://git.kernel.org/stable/c/f8d720bc2e35d568c18be0644e92a468de428370"
        },
        {
          "url": "https://git.kernel.org/stable/c/f4aae11abb449dc536269705d0419ec69480faa9"
        },
        {
          "url": "https://git.kernel.org/stable/c/76aebd9ef20078719dfd6282d3b06c27e900a65a"
        },
        {
          "url": "https://git.kernel.org/stable/c/8c046f36222c6ce1e0daef2c45c891c72602f8a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/dfcd0ba14769d94d76ac9d9814b85e7fcacd4e29"
        },
        {
          "url": "https://git.kernel.org/stable/c/90918794a4e2c3b440f8fcf3847765a8b1d81b25"
        }
      ],
      "title": "signal: clear JOBCTL_PENDING_MASK for caller in zap_other_threads()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53352",
    "datePublished": "2026-07-01T13:32:29.105Z",
    "dateReserved": "2026-06-09T07:44:35.400Z",
    "dateUpdated": "2026-07-01T13:32:29.105Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-53352",
      "date": "2026-07-02",
      "epss": "0.00164",
      "percentile": "0.05986"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-53352\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-01T14:16:43.347\",\"lastModified\":\"2026-07-01T14:16:43.347\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsignal: clear JOBCTL_PENDING_MASK for caller in zap_other_threads()\\n\\nWhen a multi-threaded process receives a stop signal (e.g., SIGSTOP),\\ndo_signal_stop() sets JOBCTL_STOP_PENDING and JOBCTL_STOP_CONSUME on all\\nthreads and sets signal-\u003egroup_stop_count to the number of threads. If\\none of the threads concurrently calls execve(), de_thread() invokes\\nzap_other_threads() to kill all other threads. zap_other_threads()\\naborts the pending group stop by resetting signal-\u003egroup_stop_count to 0\\nand clears the JOBCTL_PENDING_MASK for all other threads. However, it\\nfails to clear the job control flags for the calling thread.\\n\\nWhen execve() completes, the calling thread returns to user mode and\\nchecks for pending signals. Seeing the stale JOBCTL_STOP_PENDING flag,\\nit calls do_signal_stop(), which invokes task_participate_group_stop().\\nSince JOBCTL_STOP_CONSUME is still set, it attempts to decrement the\\nalready-zero signal-\u003egroup_stop_count, triggering a warning:\\n\\nsig-\u003egroup_stop_count == 0\\nWARNING: CPU: 1 PID: 6475 at kernel/signal.c:373\\ntask_participate_group_stop+0x215/0x2d0\\nCall Trace:\\n \u003cTASK\u003e\\n do_signal_stop+0x3be/0x5c0 kernel/signal.c:2619\\n get_signal+0xa8c/0x1330 kernel/signal.c:2884\\n arch_do_signal_or_restart+0xbc/0x840 arch/x86/kernel/signal.c:337\\n exit_to_user_mode_loop+0x8c/0x4d0 kernel/entry/common.c:98\\n do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100\\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\\n \u003c/TASK\u003e\\n\\nFix this race condition by clearing the JOBCTL_PENDING_MASK for the\\ncalling thread in zap_other_threads(), ensuring it does not retain any\\nstale job control state after the thread group is destroyed. This aligns\\nwith other functions that tear down a thread group and abort group\\nstops, such as zap_process() and complete_signal(), which correctly\\nclear these flags for all threads including the current one.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/signal.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"39efa3ef3a376a4e53de2f82fc91182459d34200\",\"lessThan\":\"2b32b2fb241435145ea199efac024540759d2495\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"39efa3ef3a376a4e53de2f82fc91182459d34200\",\"lessThan\":\"391ebe74456a0f1d60b3ba4a8a64d9f44c1728fe\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"39efa3ef3a376a4e53de2f82fc91182459d34200\",\"lessThan\":\"f8d720bc2e35d568c18be0644e92a468de428370\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"39efa3ef3a376a4e53de2f82fc91182459d34200\",\"lessThan\":\"f4aae11abb449dc536269705d0419ec69480faa9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"39efa3ef3a376a4e53de2f82fc91182459d34200\",\"lessThan\":\"76aebd9ef20078719dfd6282d3b06c27e900a65a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"39efa3ef3a376a4e53de2f82fc91182459d34200\",\"lessThan\":\"8c046f36222c6ce1e0daef2c45c891c72602f8a1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"39efa3ef3a376a4e53de2f82fc91182459d34200\",\"lessThan\":\"dfcd0ba14769d94d76ac9d9814b85e7fcacd4e29\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"39efa3ef3a376a4e53de2f82fc91182459d34200\",\"lessThan\":\"90918794a4e2c3b440f8fcf3847765a8b1d81b25\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/signal.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.0\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.0\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.259\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.210\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.176\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.94\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.36\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.13\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2b32b2fb241435145ea199efac024540759d2495\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/391ebe74456a0f1d60b3ba4a8a64d9f44c1728fe\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/76aebd9ef20078719dfd6282d3b06c27e900a65a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8c046f36222c6ce1e0daef2c45c891c72602f8a1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/90918794a4e2c3b440f8fcf3847765a8b1d81b25\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dfcd0ba14769d94d76ac9d9814b85e7fcacd4e29\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f4aae11abb449dc536269705d0419ec69480faa9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f8d720bc2e35d568c18be0644e92a468de428370\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…