cve-2024-40908
Vulnerability from cvelistv5
Published
2024-07-12 12:20
Modified
2024-12-19 09:07
Severity ?
EPSS score ?
0.09% (0.23255)
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Set run context for rawtp test_run callback syzbot reported crash when rawtp program executed through the test_run interface calls bpf_get_attach_cookie helper or any other helper that touches task->bpf_ctx pointer. Setting the run context (task->bpf_ctx pointer) for test_run callback.
Impacted products
Vendor Product Version
Linux Linux Version: 7adfc6c9b315e174cf8743b21b7b691c8766791b
Version: 7adfc6c9b315e174cf8743b21b7b691c8766791b
Version: 7adfc6c9b315e174cf8743b21b7b691c8766791b
Version: 7adfc6c9b315e174cf8743b21b7b691c8766791b
Version: 7adfc6c9b315e174cf8743b21b7b691c8766791b
Create a notification for this product.
   Linux Linux Version: 5.15
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T04:39:55.386Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c",
               },
            ],
            title: "CVE Program Container",
         },
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-40908",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-09-10T17:06:12.373504Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-09-11T17:34:37.517Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "net/bpf/test_run.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "789bd77c9342aa6125003871ae5c6034d0f6f9d2",
                     status: "affected",
                     version: "7adfc6c9b315e174cf8743b21b7b691c8766791b",
                     versionType: "git",
                  },
                  {
                     lessThan: "3708b6c2546c9eb34aead8a34a17e8ae69004e4d",
                     status: "affected",
                     version: "7adfc6c9b315e174cf8743b21b7b691c8766791b",
                     versionType: "git",
                  },
                  {
                     lessThan: "d387805d4b4a46ee01e3dae133c81b6d80195e5b",
                     status: "affected",
                     version: "7adfc6c9b315e174cf8743b21b7b691c8766791b",
                     versionType: "git",
                  },
                  {
                     lessThan: "ae0ba0ab7475a129ef7d449966edf677367efeb4",
                     status: "affected",
                     version: "7adfc6c9b315e174cf8743b21b7b691c8766791b",
                     versionType: "git",
                  },
                  {
                     lessThan: "d0d1df8ba18abc57f28fb3bc053b2bf319367f2c",
                     status: "affected",
                     version: "7adfc6c9b315e174cf8743b21b7b691c8766791b",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "net/bpf/test_run.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "5.15",
                  },
                  {
                     lessThan: "5.15",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.15.*",
                     status: "unaffected",
                     version: "5.15.162",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.1.*",
                     status: "unaffected",
                     version: "6.1.95",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.35",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.9.*",
                     status: "unaffected",
                     version: "6.9.6",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.10",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Set run context for rawtp test_run callback\n\nsyzbot reported crash when rawtp program executed through the\ntest_run interface calls bpf_get_attach_cookie helper or any\nother helper that touches task->bpf_ctx pointer.\n\nSetting the run context (task->bpf_ctx pointer) for test_run\ncallback.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T09:07:47.043Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2",
            },
            {
               url: "https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d",
            },
            {
               url: "https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b",
            },
            {
               url: "https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4",
            },
            {
               url: "https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c",
            },
         ],
         title: "bpf: Set run context for rawtp test_run callback",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-40908",
      datePublished: "2024-07-12T12:20:47.807Z",
      dateReserved: "2024-07-12T12:17:45.580Z",
      dateUpdated: "2024-12-19T09:07:47.043Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-40908\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-12T13:15:14.060\",\"lastModified\":\"2024-11-21T09:31:50.177\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbpf: Set run context for rawtp test_run callback\\n\\nsyzbot reported crash when rawtp program executed through the\\ntest_run interface calls bpf_get_attach_cookie helper or any\\nother helper that touches task->bpf_ctx pointer.\\n\\nSetting the run context (task->bpf_ctx pointer) for test_run\\ncallback.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bpf: Establecer el contexto de ejecución para la devolución de llamada de rawtp test_run syzbot informó un bloqueo cuando el programa rawtp ejecutado a través de la interfaz test_run llama al asistente bpf_get_attach_cookie o cualquier otro asistente que toque el puntero tarea->bpf_ctx. Configuración del contexto de ejecución (tarea->puntero bpf_ctx) para la devolución de llamada test_run.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T04:39:55.386Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-40908\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T17:06:12.373504Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:24.869Z\"}}], \"cna\": {\"title\": \"bpf: Set run context for rawtp test_run callback\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"7adfc6c9b315e174cf8743b21b7b691c8766791b\", \"lessThan\": \"789bd77c9342aa6125003871ae5c6034d0f6f9d2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"7adfc6c9b315e174cf8743b21b7b691c8766791b\", \"lessThan\": \"3708b6c2546c9eb34aead8a34a17e8ae69004e4d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"7adfc6c9b315e174cf8743b21b7b691c8766791b\", \"lessThan\": \"d387805d4b4a46ee01e3dae133c81b6d80195e5b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"7adfc6c9b315e174cf8743b21b7b691c8766791b\", \"lessThan\": \"ae0ba0ab7475a129ef7d449966edf677367efeb4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"7adfc6c9b315e174cf8743b21b7b691c8766791b\", \"lessThan\": \"d0d1df8ba18abc57f28fb3bc053b2bf319367f2c\", \"versionType\": \"git\"}], \"programFiles\": [\"net/bpf/test_run.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.15\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.15\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.15.162\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.95\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.35\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.6\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/bpf/test_run.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2\"}, {\"url\": \"https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d\"}, {\"url\": \"https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b\"}, {\"url\": \"https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4\"}, {\"url\": \"https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbpf: Set run context for rawtp test_run callback\\n\\nsyzbot reported crash when rawtp program executed through the\\ntest_run interface calls bpf_get_attach_cookie helper or any\\nother helper that touches task->bpf_ctx pointer.\\n\\nSetting the run context (task->bpf_ctx pointer) for test_run\\ncallback.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T09:07:47.043Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-40908\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T09:07:47.043Z\", \"dateReserved\": \"2024-07-12T12:17:45.580Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-07-12T12:20:47.807Z\", \"assignerShortName\": \"Linux\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


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.