cve-2025-21728
Vulnerability from cvelistv5
Published
2025-02-27 02:07
Modified
2025-03-24 15:39
Severity ?
EPSS score ?
0.07% (0.22651)
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
Create a notification for this product.
   Linux Linux Version: 5.6
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",
                  },
               ],
            },
            {
               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",
                  },
               ],
            },
         ],
         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-03-24T15:39:26.665Z",
            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-5f407fcff5a0",
         },
      },
   },
   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-03-24T15:39:26.665Z",
      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ía señales de forma asincrónica 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ón kfunc bpf_send_signal(), causará problemas porque esta función 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.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.