cve-2024-38617
Vulnerability from cvelistv5
Published
2024-06-19 13:56
Modified
2024-12-19 09:05
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: kunit/fortify: Fix mismatched kvalloc()/vfree() usage The kv*() family of tests were accidentally freeing with vfree() instead of kvfree(). Use kvfree() instead.
Impacted products
Vendor Product Version
Linux Linux Version: 9124a26401483bf2b13a99cb4317dce3f677060f
Version: 9124a26401483bf2b13a99cb4317dce3f677060f
Version: 9124a26401483bf2b13a99cb4317dce3f677060f
Version: 9124a26401483bf2b13a99cb4317dce3f677060f
Create a notification for this product.
   Linux Linux Version: 6.2
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-38617",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-06-24T18:11:00.320461Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-06-24T18:11:07.454Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T04:12:25.990Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/7880dbf4eafe22a6a41a42e774f1122c814ed02d",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/42d21c9727028fe7ee392223ba127484b1b8677e",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/03758d5a0932016b6d5f5bfbca580177e6bc937a",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/998b18072ceb0613629c256b409f4d299829c7ec",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "lib/fortify_kunit.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "7880dbf4eafe22a6a41a42e774f1122c814ed02d",
                     status: "affected",
                     version: "9124a26401483bf2b13a99cb4317dce3f677060f",
                     versionType: "git",
                  },
                  {
                     lessThan: "42d21c9727028fe7ee392223ba127484b1b8677e",
                     status: "affected",
                     version: "9124a26401483bf2b13a99cb4317dce3f677060f",
                     versionType: "git",
                  },
                  {
                     lessThan: "03758d5a0932016b6d5f5bfbca580177e6bc937a",
                     status: "affected",
                     version: "9124a26401483bf2b13a99cb4317dce3f677060f",
                     versionType: "git",
                  },
                  {
                     lessThan: "998b18072ceb0613629c256b409f4d299829c7ec",
                     status: "affected",
                     version: "9124a26401483bf2b13a99cb4317dce3f677060f",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "lib/fortify_kunit.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "6.2",
                  },
                  {
                     lessThan: "6.2",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.33",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.8.*",
                     status: "unaffected",
                     version: "6.8.12",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.9.*",
                     status: "unaffected",
                     version: "6.9.3",
                     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\nkunit/fortify: Fix mismatched kvalloc()/vfree() usage\n\nThe kv*() family of tests were accidentally freeing with vfree() instead\nof kvfree(). Use kvfree() instead.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T09:05:44.282Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/7880dbf4eafe22a6a41a42e774f1122c814ed02d",
            },
            {
               url: "https://git.kernel.org/stable/c/42d21c9727028fe7ee392223ba127484b1b8677e",
            },
            {
               url: "https://git.kernel.org/stable/c/03758d5a0932016b6d5f5bfbca580177e6bc937a",
            },
            {
               url: "https://git.kernel.org/stable/c/998b18072ceb0613629c256b409f4d299829c7ec",
            },
         ],
         title: "kunit/fortify: Fix mismatched kvalloc()/vfree() usage",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-38617",
      datePublished: "2024-06-19T13:56:16.763Z",
      dateReserved: "2024-06-18T19:36:34.944Z",
      dateUpdated: "2024-12-19T09:05:44.282Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-38617\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-06-19T14:15:21.490\",\"lastModified\":\"2024-11-21T09:26:29.893\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nkunit/fortify: Fix mismatched kvalloc()/vfree() usage\\n\\nThe kv*() family of tests were accidentally freeing with vfree() instead\\nof kvfree(). Use kvfree() instead.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: kunit/fortify: corrige el uso no coincidente de kvalloc()/vfree() La familia de pruebas kv*() se liberaba accidentalmente con vfree() en lugar de kvfree(). Utilice kvfree() en su lugar.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/03758d5a0932016b6d5f5bfbca580177e6bc937a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/42d21c9727028fe7ee392223ba127484b1b8677e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7880dbf4eafe22a6a41a42e774f1122c814ed02d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/998b18072ceb0613629c256b409f4d299829c7ec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/03758d5a0932016b6d5f5bfbca580177e6bc937a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/42d21c9727028fe7ee392223ba127484b1b8677e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/7880dbf4eafe22a6a41a42e774f1122c814ed02d\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/998b18072ceb0613629c256b409f4d299829c7ec\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/7880dbf4eafe22a6a41a42e774f1122c814ed02d\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/42d21c9727028fe7ee392223ba127484b1b8677e\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/03758d5a0932016b6d5f5bfbca580177e6bc937a\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/998b18072ceb0613629c256b409f4d299829c7ec\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T04:12:25.990Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-38617\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-24T18:11:00.320461Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-24T18:11:04.394Z\"}}], \"cna\": {\"title\": \"kunit/fortify: Fix mismatched kvalloc()/vfree() usage\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"9124a26401483bf2b13a99cb4317dce3f677060f\", \"lessThan\": \"7880dbf4eafe22a6a41a42e774f1122c814ed02d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"9124a26401483bf2b13a99cb4317dce3f677060f\", \"lessThan\": \"42d21c9727028fe7ee392223ba127484b1b8677e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"9124a26401483bf2b13a99cb4317dce3f677060f\", \"lessThan\": \"03758d5a0932016b6d5f5bfbca580177e6bc937a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"9124a26401483bf2b13a99cb4317dce3f677060f\", \"lessThan\": \"998b18072ceb0613629c256b409f4d299829c7ec\", \"versionType\": \"git\"}], \"programFiles\": [\"lib/fortify_kunit.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.2\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.2\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.33\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"lib/fortify_kunit.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/7880dbf4eafe22a6a41a42e774f1122c814ed02d\"}, {\"url\": \"https://git.kernel.org/stable/c/42d21c9727028fe7ee392223ba127484b1b8677e\"}, {\"url\": \"https://git.kernel.org/stable/c/03758d5a0932016b6d5f5bfbca580177e6bc937a\"}, {\"url\": \"https://git.kernel.org/stable/c/998b18072ceb0613629c256b409f4d299829c7ec\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nkunit/fortify: Fix mismatched kvalloc()/vfree() usage\\n\\nThe kv*() family of tests were accidentally freeing with vfree() instead\\nof kvfree(). Use kvfree() instead.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T09:05:44.282Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-38617\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T09:05:44.282Z\", \"dateReserved\": \"2024-06-18T19:36:34.944Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-06-19T13:56:16.763Z\", \"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.