CVE-2025-21728 (GCVE-0-2025-21728)
Vulnerability from cvelistv5
Published
2025-02-27 02:07
Modified
2025-05-04 13:06
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Send signals asynchronously if !preemptible BPF programs can execute in all kinds of contexts and when a program running in a non-preemptible context uses the bpf_send_signal() kfunc, it will cause issues because this kfunc can sleep. Change `irqs_disabled()` to `!preemptible()`.
Impacted products
Vendor Product Version
Linux Linux Version: fd29a0242f86b2d95ad666aa9f92a3d0f7bfdab6
Version: 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494
Version: 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494
Version: 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494
Version: 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494
Version: 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494
Version: 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494
Version: 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494
Version: 7930d01afb7281edd9782971e0cca6fe587c7a7b
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/bpf_trace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "feba1308bc5e8e04cee751d39fae8a9b407a9034",
              "status": "affected",
              "version": "fd29a0242f86b2d95ad666aa9f92a3d0f7bfdab6",
              "versionType": "git"
            },
            {
              "lessThan": "ce51eab2070e295d298f42a2f1db269cd1b56d55",
              "status": "affected",
              "version": "1bc7896e9ef44fd77858b3ef0b8a6840be3a4494",
              "versionType": "git"
            },
            {
              "lessThan": "e306eaaa3d78b462db5f5b11e0171f9d2b6ca3f4",
              "status": "affected",
              "version": "1bc7896e9ef44fd77858b3ef0b8a6840be3a4494",
              "versionType": "git"
            },
            {
              "lessThan": "be42a09fe898635b0093c0c8dac1bfabe225c240",
              "status": "affected",
              "version": "1bc7896e9ef44fd77858b3ef0b8a6840be3a4494",
              "versionType": "git"
            },
            {
              "lessThan": "eeef8e65041a031bd8a747a392c14b76a123a12c",
              "status": "affected",
              "version": "1bc7896e9ef44fd77858b3ef0b8a6840be3a4494",
              "versionType": "git"
            },
            {
              "lessThan": "78b97783496b454435639937db3303e900a24d3f",
              "status": "affected",
              "version": "1bc7896e9ef44fd77858b3ef0b8a6840be3a4494",
              "versionType": "git"
            },
            {
              "lessThan": "092fc76b7ab4163e008f9cde596a58dad2108260",
              "status": "affected",
              "version": "1bc7896e9ef44fd77858b3ef0b8a6840be3a4494",
              "versionType": "git"
            },
            {
              "lessThan": "87c544108b612512b254c8f79aa5c0a8546e2cc4",
              "status": "affected",
              "version": "1bc7896e9ef44fd77858b3ef0b8a6840be3a4494",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7930d01afb7281edd9782971e0cca6fe587c7a7b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/bpf_trace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.6"
            },
            {
              "lessThan": "5.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.235",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.179",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.129",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.76",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.14",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.291",
                  "versionStartIncluding": "5.4.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.235",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.179",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.129",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.76",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.13",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.2",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.5.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Send signals asynchronously if !preemptible\n\nBPF programs can execute in all kinds of contexts and when a program\nrunning in a non-preemptible context uses the bpf_send_signal() kfunc,\nit will cause issues because this kfunc can sleep.\nChange `irqs_disabled()` to `!preemptible()`."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T13:06:28.428Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/feba1308bc5e8e04cee751d39fae8a9b407a9034"
        },
        {
          "url": "https://git.kernel.org/stable/c/ce51eab2070e295d298f42a2f1db269cd1b56d55"
        },
        {
          "url": "https://git.kernel.org/stable/c/e306eaaa3d78b462db5f5b11e0171f9d2b6ca3f4"
        },
        {
          "url": "https://git.kernel.org/stable/c/be42a09fe898635b0093c0c8dac1bfabe225c240"
        },
        {
          "url": "https://git.kernel.org/stable/c/eeef8e65041a031bd8a747a392c14b76a123a12c"
        },
        {
          "url": "https://git.kernel.org/stable/c/78b97783496b454435639937db3303e900a24d3f"
        },
        {
          "url": "https://git.kernel.org/stable/c/092fc76b7ab4163e008f9cde596a58dad2108260"
        },
        {
          "url": "https://git.kernel.org/stable/c/87c544108b612512b254c8f79aa5c0a8546e2cc4"
        }
      ],
      "title": "bpf: Send signals asynchronously if !preemptible",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-21728",
    "datePublished": "2025-02-27T02:07:34.114Z",
    "dateReserved": "2024-12-29T08:45:45.755Z",
    "dateUpdated": "2025-05-04T13:06:28.428Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-21728\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-27T02:15:16.530\",\"lastModified\":\"2025-03-13T13:15:50.850\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbpf: Send signals asynchronously if !preemptible\\n\\nBPF programs can execute in all kinds of contexts and when a program\\nrunning in a non-preemptible context uses the bpf_send_signal() kfunc,\\nit will cause issues because this kfunc can sleep.\\nChange `irqs_disabled()` to `!preemptible()`.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf: Env\u00eda se\u00f1ales de forma asincr\u00f3nica si los programas BPF !preemptible pueden ejecutarse en todo tipo de contextos y cuando un programa que se ejecuta en un contexto no preemptible utiliza la funci\u00f3n kfunc bpf_send_signal(), causar\u00e1 problemas porque esta funci\u00f3n kfunc puede suspenderse. Cambie `irqs_disabled()` a `!preemptible()`.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/092fc76b7ab4163e008f9cde596a58dad2108260\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/78b97783496b454435639937db3303e900a24d3f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/87c544108b612512b254c8f79aa5c0a8546e2cc4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/be42a09fe898635b0093c0c8dac1bfabe225c240\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ce51eab2070e295d298f42a2f1db269cd1b56d55\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e306eaaa3d78b462db5f5b11e0171f9d2b6ca3f4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/eeef8e65041a031bd8a747a392c14b76a123a12c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/feba1308bc5e8e04cee751d39fae8a9b407a9034\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…