cve-2024-26839
Vulnerability from cvelistv5
Published
2024-04-17 10:10
Modified
2024-12-19 08:48
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: IB/hfi1: Fix a memleak in init_credit_return When dma_alloc_coherent fails to allocate dd->cr_base[i].va, init_credit_return should deallocate dd->cr_base and dd->cr_base[i] that allocated before. Or those resources would be never freed and a memleak is triggered.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Impacted products
Vendor Product Version
Linux Linux Version: 4.3
Show details on NVD website


{
   containers: {
      adp: [
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-26839",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-06-17T19:24:08.338788Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-06-17T19:24:16.847Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T00:14:13.692Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "drivers/infiniband/hw/hfi1/pio.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "2e4f9f20b32658ef3724aa46f7aef4908d2609e3",
                     status: "affected",
                     version: "7724105686e718ac476a6ad3304fea2fbcfcffde",
                     versionType: "git",
                  },
                  {
                     lessThan: "cecfb90cf71d91e9efebd68b9e9b84661b277cc8",
                     status: "affected",
                     version: "7724105686e718ac476a6ad3304fea2fbcfcffde",
                     versionType: "git",
                  },
                  {
                     lessThan: "3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7",
                     status: "affected",
                     version: "7724105686e718ac476a6ad3304fea2fbcfcffde",
                     versionType: "git",
                  },
                  {
                     lessThan: "52de5805c147137205662af89ed7e083d656ae25",
                     status: "affected",
                     version: "7724105686e718ac476a6ad3304fea2fbcfcffde",
                     versionType: "git",
                  },
                  {
                     lessThan: "f0d857ce31a6bc7a82afcdbadb8f7417d482604b",
                     status: "affected",
                     version: "7724105686e718ac476a6ad3304fea2fbcfcffde",
                     versionType: "git",
                  },
                  {
                     lessThan: "b41d0ade0398007fb746213f09903d52a920e896",
                     status: "affected",
                     version: "7724105686e718ac476a6ad3304fea2fbcfcffde",
                     versionType: "git",
                  },
                  {
                     lessThan: "8412c86e89cc78d8b513cb25cf2157a2adf3670a",
                     status: "affected",
                     version: "7724105686e718ac476a6ad3304fea2fbcfcffde",
                     versionType: "git",
                  },
                  {
                     lessThan: "809aa64ebff51eb170ee31a95f83b2d21efa32e2",
                     status: "affected",
                     version: "7724105686e718ac476a6ad3304fea2fbcfcffde",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "drivers/infiniband/hw/hfi1/pio.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "4.3",
                  },
                  {
                     lessThan: "4.3",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "4.19.*",
                     status: "unaffected",
                     version: "4.19.308",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.4.*",
                     status: "unaffected",
                     version: "5.4.270",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.10.*",
                     status: "unaffected",
                     version: "5.10.211",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.15.*",
                     status: "unaffected",
                     version: "5.15.150",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.1.*",
                     status: "unaffected",
                     version: "6.1.80",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.19",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.7.*",
                     status: "unaffected",
                     version: "6.7.7",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.8",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nIB/hfi1: Fix a memleak in init_credit_return\n\nWhen dma_alloc_coherent fails to allocate dd->cr_base[i].va,\ninit_credit_return should deallocate dd->cr_base and\ndd->cr_base[i] that allocated before. Or those resources\nwould be never freed and a memleak is triggered.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T08:48:26.839Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3",
            },
            {
               url: "https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8",
            },
            {
               url: "https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7",
            },
            {
               url: "https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25",
            },
            {
               url: "https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b",
            },
            {
               url: "https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896",
            },
            {
               url: "https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a",
            },
            {
               url: "https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2",
            },
         ],
         title: "IB/hfi1: Fix a memleak in init_credit_return",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-26839",
      datePublished: "2024-04-17T10:10:05.536Z",
      dateReserved: "2024-02-19T14:20:24.182Z",
      dateUpdated: "2024-12-19T08:48:26.839Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-26839\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-04-17T10:15:09.860\",\"lastModified\":\"2024-11-21T09:03:10.980\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nIB/hfi1: Fix a memleak in init_credit_return\\n\\nWhen dma_alloc_coherent fails to allocate dd->cr_base[i].va,\\ninit_credit_return should deallocate dd->cr_base and\\ndd->cr_base[i] that allocated before. Or those resources\\nwould be never freed and a memleak is triggered.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: IB/hfi1: corrige una fuga de mem en init_credit_return Cuando dma_alloc_coherent no puede asignar dd->cr_base[i].va, init_credit_return debería desasignar dd->cr_base y dd->cr_base[i]. ] el asignado antes. O esos recursos nunca se liberarían y se desencadenaría una fuga de memoria.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2e4f9f20b32658ef3724aa46f7aef4908d2609e3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/3fa240bb6b2dbb3e7a3ee1440a4889cbb6207eb7\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/52de5805c147137205662af89ed7e083d656ae25\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/809aa64ebff51eb170ee31a95f83b2d21efa32e2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8412c86e89cc78d8b513cb25cf2157a2adf3670a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b41d0ade0398007fb746213f09903d52a920e896\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/cecfb90cf71d91e9efebd68b9e9b84661b277cc8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/f0d857ce31a6bc7a82afcdbadb8f7417d482604b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
   },
}


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.