cve-2024-41087
Vulnerability from cvelistv5
Published
2024-07-29 15:48
Modified
2024-12-19 09:11
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: ata: libata-core: Fix double free on error If e.g. the ata_port_alloc() call in ata_host_alloc() fails, we will jump to the err_out label, which will call devres_release_group(). devres_release_group() will trigger a call to ata_host_release(). ata_host_release() calls kfree(host), so executing the kfree(host) in ata_host_alloc() will lead to a double free: kernel BUG at mm/slub.c:553! Oops: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI CPU: 11 PID: 599 Comm: (udev-worker) Not tainted 6.10.0-rc5 #47 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014 RIP: 0010:kfree+0x2cf/0x2f0 Code: 5d 41 5e 41 5f 5d e9 80 d6 ff ff 4d 89 f1 41 b8 01 00 00 00 48 89 d9 48 89 da RSP: 0018:ffffc90000f377f0 EFLAGS: 00010246 RAX: ffff888112b1f2c0 RBX: ffff888112b1f2c0 RCX: ffff888112b1f320 RDX: 000000000000400b RSI: ffffffffc02c9de5 RDI: ffff888112b1f2c0 RBP: ffffc90000f37830 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc90000f37610 R11: 617461203a736b6e R12: ffffea00044ac780 R13: ffff888100046400 R14: ffffffffc02c9de5 R15: 0000000000000006 FS: 00007f2f1cabe980(0000) GS:ffff88813b380000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2f1c3acf75 CR3: 0000000111724000 CR4: 0000000000750ef0 PKRU: 55555554 Call Trace: <TASK> ? __die_body.cold+0x19/0x27 ? die+0x2e/0x50 ? do_trap+0xca/0x110 ? do_error_trap+0x6a/0x90 ? kfree+0x2cf/0x2f0 ? exc_invalid_op+0x50/0x70 ? kfree+0x2cf/0x2f0 ? asm_exc_invalid_op+0x1a/0x20 ? ata_host_alloc+0xf5/0x120 [libata] ? ata_host_alloc+0xf5/0x120 [libata] ? kfree+0x2cf/0x2f0 ata_host_alloc+0xf5/0x120 [libata] ata_host_alloc_pinfo+0x14/0xa0 [libata] ahci_init_one+0x6c9/0xd20 [ahci] Ensure that we will not call kfree(host) twice, by performing the kfree() only if the devres_open_group() call failed.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/010de9acbea58fbcbda08e3793d6262086a493fePatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/062e256516d7db5e7dcdef117f52025cd5c456e3Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/290073b2b557e4dc21ee74a1e403d9ae79e393a2Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/56f1c7e290cd6c69c948fcd2e2a49e6a637ec38fPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5dde5f8b790274723640d29a07c5a97d57d62047Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/702c1edbafb2e6f9d20f6d391273b5be09d366a5Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8106da4d88bbaed809e023cc8014b766223d6e76Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ab9e0c529eb7cafebdd31fe1644524e80a48b05dPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/010de9acbea58fbcbda08e3793d6262086a493fePatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/062e256516d7db5e7dcdef117f52025cd5c456e3Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/290073b2b557e4dc21ee74a1e403d9ae79e393a2Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/56f1c7e290cd6c69c948fcd2e2a49e6a637ec38fPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/5dde5f8b790274723640d29a07c5a97d57d62047Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/702c1edbafb2e6f9d20f6d391273b5be09d366a5Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8106da4d88bbaed809e023cc8014b766223d6e76Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ab9e0c529eb7cafebdd31fe1644524e80a48b05dPatch
Impacted products
Vendor Product Version
Linux Linux Version: dafd6c496381c1cd1f5ba9ad953e810bdcc931bc
Version: dafd6c496381c1cd1f5ba9ad953e810bdcc931bc
Version: dafd6c496381c1cd1f5ba9ad953e810bdcc931bc
Version: dafd6c496381c1cd1f5ba9ad953e810bdcc931bc
Version: dafd6c496381c1cd1f5ba9ad953e810bdcc931bc
Version: dafd6c496381c1cd1f5ba9ad953e810bdcc931bc
Version: dafd6c496381c1cd1f5ba9ad953e810bdcc931bc
Version: dafd6c496381c1cd1f5ba9ad953e810bdcc931bc
Create a notification for this product.
   Linux Linux Version: 4.17
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T04:46:52.364Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/290073b2b557e4dc21ee74a1e403d9ae79e393a2",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/56f1c7e290cd6c69c948fcd2e2a49e6a637ec38f",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/010de9acbea58fbcbda08e3793d6262086a493fe",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/5dde5f8b790274723640d29a07c5a97d57d62047",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/702c1edbafb2e6f9d20f6d391273b5be09d366a5",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/062e256516d7db5e7dcdef117f52025cd5c456e3",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/8106da4d88bbaed809e023cc8014b766223d6e76",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/ab9e0c529eb7cafebdd31fe1644524e80a48b05d",
               },
            ],
            title: "CVE Program Container",
         },
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-41087",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-09-10T16:20:45.691103Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-09-11T17:33:58.682Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "drivers/ata/libata-core.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "290073b2b557e4dc21ee74a1e403d9ae79e393a2",
                     status: "affected",
                     version: "dafd6c496381c1cd1f5ba9ad953e810bdcc931bc",
                     versionType: "git",
                  },
                  {
                     lessThan: "56f1c7e290cd6c69c948fcd2e2a49e6a637ec38f",
                     status: "affected",
                     version: "dafd6c496381c1cd1f5ba9ad953e810bdcc931bc",
                     versionType: "git",
                  },
                  {
                     lessThan: "010de9acbea58fbcbda08e3793d6262086a493fe",
                     status: "affected",
                     version: "dafd6c496381c1cd1f5ba9ad953e810bdcc931bc",
                     versionType: "git",
                  },
                  {
                     lessThan: "5dde5f8b790274723640d29a07c5a97d57d62047",
                     status: "affected",
                     version: "dafd6c496381c1cd1f5ba9ad953e810bdcc931bc",
                     versionType: "git",
                  },
                  {
                     lessThan: "702c1edbafb2e6f9d20f6d391273b5be09d366a5",
                     status: "affected",
                     version: "dafd6c496381c1cd1f5ba9ad953e810bdcc931bc",
                     versionType: "git",
                  },
                  {
                     lessThan: "062e256516d7db5e7dcdef117f52025cd5c456e3",
                     status: "affected",
                     version: "dafd6c496381c1cd1f5ba9ad953e810bdcc931bc",
                     versionType: "git",
                  },
                  {
                     lessThan: "8106da4d88bbaed809e023cc8014b766223d6e76",
                     status: "affected",
                     version: "dafd6c496381c1cd1f5ba9ad953e810bdcc931bc",
                     versionType: "git",
                  },
                  {
                     lessThan: "ab9e0c529eb7cafebdd31fe1644524e80a48b05d",
                     status: "affected",
                     version: "dafd6c496381c1cd1f5ba9ad953e810bdcc931bc",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "drivers/ata/libata-core.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "4.17",
                  },
                  {
                     lessThan: "4.17",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "4.19.*",
                     status: "unaffected",
                     version: "4.19.317",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.4.*",
                     status: "unaffected",
                     version: "5.4.279",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.10.*",
                     status: "unaffected",
                     version: "5.10.221",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.15.*",
                     status: "unaffected",
                     version: "5.15.162",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.1.*",
                     status: "unaffected",
                     version: "6.1.97",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.37",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.9.*",
                     status: "unaffected",
                     version: "6.9.8",
                     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\nata: libata-core: Fix double free on error\n\nIf e.g. the ata_port_alloc() call in ata_host_alloc() fails, we will jump\nto the err_out label, which will call devres_release_group().\ndevres_release_group() will trigger a call to ata_host_release().\nata_host_release() calls kfree(host), so executing the kfree(host) in\nata_host_alloc() will lead to a double free:\n\nkernel BUG at mm/slub.c:553!\nOops: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI\nCPU: 11 PID: 599 Comm: (udev-worker) Not tainted 6.10.0-rc5 #47\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014\nRIP: 0010:kfree+0x2cf/0x2f0\nCode: 5d 41 5e 41 5f 5d e9 80 d6 ff ff 4d 89 f1 41 b8 01 00 00 00 48 89 d9 48 89 da\nRSP: 0018:ffffc90000f377f0 EFLAGS: 00010246\nRAX: ffff888112b1f2c0 RBX: ffff888112b1f2c0 RCX: ffff888112b1f320\nRDX: 000000000000400b RSI: ffffffffc02c9de5 RDI: ffff888112b1f2c0\nRBP: ffffc90000f37830 R08: 0000000000000000 R09: 0000000000000000\nR10: ffffc90000f37610 R11: 617461203a736b6e R12: ffffea00044ac780\nR13: ffff888100046400 R14: ffffffffc02c9de5 R15: 0000000000000006\nFS:  00007f2f1cabe980(0000) GS:ffff88813b380000(0000) knlGS:0000000000000000\nCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nCR2: 00007f2f1c3acf75 CR3: 0000000111724000 CR4: 0000000000750ef0\nPKRU: 55555554\nCall Trace:\n <TASK>\n ? __die_body.cold+0x19/0x27\n ? die+0x2e/0x50\n ? do_trap+0xca/0x110\n ? do_error_trap+0x6a/0x90\n ? kfree+0x2cf/0x2f0\n ? exc_invalid_op+0x50/0x70\n ? kfree+0x2cf/0x2f0\n ? asm_exc_invalid_op+0x1a/0x20\n ? ata_host_alloc+0xf5/0x120 [libata]\n ? ata_host_alloc+0xf5/0x120 [libata]\n ? kfree+0x2cf/0x2f0\n ata_host_alloc+0xf5/0x120 [libata]\n ata_host_alloc_pinfo+0x14/0xa0 [libata]\n ahci_init_one+0x6c9/0xd20 [ahci]\n\nEnsure that we will not call kfree(host) twice, by performing the kfree()\nonly if the devres_open_group() call failed.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T09:11:40.271Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/290073b2b557e4dc21ee74a1e403d9ae79e393a2",
            },
            {
               url: "https://git.kernel.org/stable/c/56f1c7e290cd6c69c948fcd2e2a49e6a637ec38f",
            },
            {
               url: "https://git.kernel.org/stable/c/010de9acbea58fbcbda08e3793d6262086a493fe",
            },
            {
               url: "https://git.kernel.org/stable/c/5dde5f8b790274723640d29a07c5a97d57d62047",
            },
            {
               url: "https://git.kernel.org/stable/c/702c1edbafb2e6f9d20f6d391273b5be09d366a5",
            },
            {
               url: "https://git.kernel.org/stable/c/062e256516d7db5e7dcdef117f52025cd5c456e3",
            },
            {
               url: "https://git.kernel.org/stable/c/8106da4d88bbaed809e023cc8014b766223d6e76",
            },
            {
               url: "https://git.kernel.org/stable/c/ab9e0c529eb7cafebdd31fe1644524e80a48b05d",
            },
         ],
         title: "ata: libata-core: Fix double free on error",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-41087",
      datePublished: "2024-07-29T15:48:03.127Z",
      dateReserved: "2024-07-12T12:17:45.634Z",
      dateUpdated: "2024-12-19T09:11:40.271Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-41087\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-29T16:15:04.120\",\"lastModified\":\"2024-11-21T09:32:13.063\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nata: libata-core: Fix double free on error\\n\\nIf e.g. the ata_port_alloc() call in ata_host_alloc() fails, we will jump\\nto the err_out label, which will call devres_release_group().\\ndevres_release_group() will trigger a call to ata_host_release().\\nata_host_release() calls kfree(host), so executing the kfree(host) in\\nata_host_alloc() will lead to a double free:\\n\\nkernel BUG at mm/slub.c:553!\\nOops: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI\\nCPU: 11 PID: 599 Comm: (udev-worker) Not tainted 6.10.0-rc5 #47\\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014\\nRIP: 0010:kfree+0x2cf/0x2f0\\nCode: 5d 41 5e 41 5f 5d e9 80 d6 ff ff 4d 89 f1 41 b8 01 00 00 00 48 89 d9 48 89 da\\nRSP: 0018:ffffc90000f377f0 EFLAGS: 00010246\\nRAX: ffff888112b1f2c0 RBX: ffff888112b1f2c0 RCX: ffff888112b1f320\\nRDX: 000000000000400b RSI: ffffffffc02c9de5 RDI: ffff888112b1f2c0\\nRBP: ffffc90000f37830 R08: 0000000000000000 R09: 0000000000000000\\nR10: ffffc90000f37610 R11: 617461203a736b6e R12: ffffea00044ac780\\nR13: ffff888100046400 R14: ffffffffc02c9de5 R15: 0000000000000006\\nFS:  00007f2f1cabe980(0000) GS:ffff88813b380000(0000) knlGS:0000000000000000\\nCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\\nCR2: 00007f2f1c3acf75 CR3: 0000000111724000 CR4: 0000000000750ef0\\nPKRU: 55555554\\nCall Trace:\\n <TASK>\\n ? __die_body.cold+0x19/0x27\\n ? die+0x2e/0x50\\n ? do_trap+0xca/0x110\\n ? do_error_trap+0x6a/0x90\\n ? kfree+0x2cf/0x2f0\\n ? exc_invalid_op+0x50/0x70\\n ? kfree+0x2cf/0x2f0\\n ? asm_exc_invalid_op+0x1a/0x20\\n ? ata_host_alloc+0xf5/0x120 [libata]\\n ? ata_host_alloc+0xf5/0x120 [libata]\\n ? kfree+0x2cf/0x2f0\\n ata_host_alloc+0xf5/0x120 [libata]\\n ata_host_alloc_pinfo+0x14/0xa0 [libata]\\n ahci_init_one+0x6c9/0xd20 [ahci]\\n\\nEnsure that we will not call kfree(host) twice, by performing the kfree()\\nonly if the devres_open_group() call failed.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ata: libata-core: corrige double free en caso de error Si, por ejemplo, la llamada ata_port_alloc() en ata_host_alloc() falla, saltaremos a la etiqueta err_out, que llamará a devres_release_group() . devres_release_group() activará una llamada a ata_host_release(). ata_host_release() llama a kfree(host), por lo que ejecutar kfree(host) en ata_host_alloc() provocará un doble error de kernel free: en mm/slub.c:553. Ups: código de operación no válido: 0000 [#1] PREEMPT SMP NOPTI CPU: 11 PID: 599 Comm: (udev-worker) No contaminado 6.10.0-rc5 #47 Nombre de hardware: PC estándar QEMU (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 01/04/2014 RIP: 0010:kfree+0x2cf/0x2f0 Código: 5d 41 5e 41 5f 5d e9 80 d6 ff ff 4d 89 f1 41 b8 01 00 00 00 48 89 d9 48 89 da RSP : 0018:ffffc90000f377f0 EFLAGS: 00010246 RAX: ffff888112b1f2c0 RBX: ffff888112b1f2c0 RCX: ffff888112b1f320 RDX: 000000000000400b RSI: ffffffffc02c 9de5 RDI: ffff888112b1f2c0 RBP: ffffc90000f37830 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc90000f37610 R11: 617461203a736b6e : ffffea00044ac780 R13: ffff888100046400 R14: ffffffffc02c9de5 R15 : 0000000000000006 FS: 00007f2f1cabe980(0000) GS:ffff88813b380000(0000) knlGS:00000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050 033 CR2: 00007f2f1c3acf75 CR3: 0000000111724000 CR4: 0000000000750ef0 PKRU: 55555554 Seguimiento de llamadas:  ? __die_body.cold+0x19/0x27 ? die+0x2e/0x50 ? do_trap+0xca/0x110 ? do_error_trap+0x6a/0x90? kfree+0x2cf/0x2f0 ? exc_invalid_op+0x50/0x70? kfree+0x2cf/0x2f0 ? asm_exc_invalid_op+0x1a/0x20? ata_host_alloc+0xf5/0x120 [libata]? ata_host_alloc+0xf5/0x120 [libata]? kfree+0x2cf/0x2f0 ata_host_alloc+0xf5/0x120 [libata] ata_host_alloc_pinfo+0x14/0xa0 [libata] ahci_init_one+0x6c9/0xd20 [ahci] Asegúrese de que no llamaremos a kfree(host) dos veces, realizando kfree() solo si La llamada a devres_open_group() falló.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-415\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.17\",\"versionEndExcluding\":\"4.19.317\",\"matchCriteriaId\":\"356EA924-A840-4360-ADBF-A5405D9C9BBA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.279\",\"matchCriteriaId\":\"F4E38E58-1B9F-4DF2-AD3D-A8BEAA2959D8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.221\",\"matchCriteriaId\":\"659E1520-6345-41AF-B893-A7C0647585A0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.162\",\"matchCriteriaId\":\"10A39ACC-3005-40E8-875C-98A372D1FFD5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.97\",\"matchCriteriaId\":\"748B6C4B-1F61-47F9-96CC-8899B8412D84\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.37\",\"matchCriteriaId\":\"D72E033B-5323-4C4D-8818-36E1EBC3535F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.9.8\",\"matchCriteriaId\":\"E95105F2-32E3-4C5F-9D18-7AEFD0E6275C\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/010de9acbea58fbcbda08e3793d6262086a493fe\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/062e256516d7db5e7dcdef117f52025cd5c456e3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/290073b2b557e4dc21ee74a1e403d9ae79e393a2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/56f1c7e290cd6c69c948fcd2e2a49e6a637ec38f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5dde5f8b790274723640d29a07c5a97d57d62047\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/702c1edbafb2e6f9d20f6d391273b5be09d366a5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8106da4d88bbaed809e023cc8014b766223d6e76\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ab9e0c529eb7cafebdd31fe1644524e80a48b05d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/010de9acbea58fbcbda08e3793d6262086a493fe\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/062e256516d7db5e7dcdef117f52025cd5c456e3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/290073b2b557e4dc21ee74a1e403d9ae79e393a2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/56f1c7e290cd6c69c948fcd2e2a49e6a637ec38f\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5dde5f8b790274723640d29a07c5a97d57d62047\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/702c1edbafb2e6f9d20f6d391273b5be09d366a5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8106da4d88bbaed809e023cc8014b766223d6e76\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ab9e0c529eb7cafebdd31fe1644524e80a48b05d\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/290073b2b557e4dc21ee74a1e403d9ae79e393a2\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/56f1c7e290cd6c69c948fcd2e2a49e6a637ec38f\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/010de9acbea58fbcbda08e3793d6262086a493fe\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/5dde5f8b790274723640d29a07c5a97d57d62047\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/702c1edbafb2e6f9d20f6d391273b5be09d366a5\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/062e256516d7db5e7dcdef117f52025cd5c456e3\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8106da4d88bbaed809e023cc8014b766223d6e76\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ab9e0c529eb7cafebdd31fe1644524e80a48b05d\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T04:46:52.364Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-41087\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T16:20:45.691103Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:19.944Z\"}}], \"cna\": {\"title\": \"ata: libata-core: Fix double free on error\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"dafd6c496381c1cd1f5ba9ad953e810bdcc931bc\", \"lessThan\": \"290073b2b557e4dc21ee74a1e403d9ae79e393a2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dafd6c496381c1cd1f5ba9ad953e810bdcc931bc\", \"lessThan\": \"56f1c7e290cd6c69c948fcd2e2a49e6a637ec38f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dafd6c496381c1cd1f5ba9ad953e810bdcc931bc\", \"lessThan\": \"010de9acbea58fbcbda08e3793d6262086a493fe\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dafd6c496381c1cd1f5ba9ad953e810bdcc931bc\", \"lessThan\": \"5dde5f8b790274723640d29a07c5a97d57d62047\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dafd6c496381c1cd1f5ba9ad953e810bdcc931bc\", \"lessThan\": \"702c1edbafb2e6f9d20f6d391273b5be09d366a5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dafd6c496381c1cd1f5ba9ad953e810bdcc931bc\", \"lessThan\": \"062e256516d7db5e7dcdef117f52025cd5c456e3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dafd6c496381c1cd1f5ba9ad953e810bdcc931bc\", \"lessThan\": \"8106da4d88bbaed809e023cc8014b766223d6e76\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dafd6c496381c1cd1f5ba9ad953e810bdcc931bc\", \"lessThan\": \"ab9e0c529eb7cafebdd31fe1644524e80a48b05d\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/ata/libata-core.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.17\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.17\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.317\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.279\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.221\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.162\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.97\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.37\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.8\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/ata/libata-core.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/290073b2b557e4dc21ee74a1e403d9ae79e393a2\"}, {\"url\": \"https://git.kernel.org/stable/c/56f1c7e290cd6c69c948fcd2e2a49e6a637ec38f\"}, {\"url\": \"https://git.kernel.org/stable/c/010de9acbea58fbcbda08e3793d6262086a493fe\"}, {\"url\": \"https://git.kernel.org/stable/c/5dde5f8b790274723640d29a07c5a97d57d62047\"}, {\"url\": \"https://git.kernel.org/stable/c/702c1edbafb2e6f9d20f6d391273b5be09d366a5\"}, {\"url\": \"https://git.kernel.org/stable/c/062e256516d7db5e7dcdef117f52025cd5c456e3\"}, {\"url\": \"https://git.kernel.org/stable/c/8106da4d88bbaed809e023cc8014b766223d6e76\"}, {\"url\": \"https://git.kernel.org/stable/c/ab9e0c529eb7cafebdd31fe1644524e80a48b05d\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nata: libata-core: Fix double free on error\\n\\nIf e.g. the ata_port_alloc() call in ata_host_alloc() fails, we will jump\\nto the err_out label, which will call devres_release_group().\\ndevres_release_group() will trigger a call to ata_host_release().\\nata_host_release() calls kfree(host), so executing the kfree(host) in\\nata_host_alloc() will lead to a double free:\\n\\nkernel BUG at mm/slub.c:553!\\nOops: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI\\nCPU: 11 PID: 599 Comm: (udev-worker) Not tainted 6.10.0-rc5 #47\\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014\\nRIP: 0010:kfree+0x2cf/0x2f0\\nCode: 5d 41 5e 41 5f 5d e9 80 d6 ff ff 4d 89 f1 41 b8 01 00 00 00 48 89 d9 48 89 da\\nRSP: 0018:ffffc90000f377f0 EFLAGS: 00010246\\nRAX: ffff888112b1f2c0 RBX: ffff888112b1f2c0 RCX: ffff888112b1f320\\nRDX: 000000000000400b RSI: ffffffffc02c9de5 RDI: ffff888112b1f2c0\\nRBP: ffffc90000f37830 R08: 0000000000000000 R09: 0000000000000000\\nR10: ffffc90000f37610 R11: 617461203a736b6e R12: ffffea00044ac780\\nR13: ffff888100046400 R14: ffffffffc02c9de5 R15: 0000000000000006\\nFS:  00007f2f1cabe980(0000) GS:ffff88813b380000(0000) knlGS:0000000000000000\\nCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\\nCR2: 00007f2f1c3acf75 CR3: 0000000111724000 CR4: 0000000000750ef0\\nPKRU: 55555554\\nCall Trace:\\n <TASK>\\n ? __die_body.cold+0x19/0x27\\n ? die+0x2e/0x50\\n ? do_trap+0xca/0x110\\n ? do_error_trap+0x6a/0x90\\n ? kfree+0x2cf/0x2f0\\n ? exc_invalid_op+0x50/0x70\\n ? kfree+0x2cf/0x2f0\\n ? asm_exc_invalid_op+0x1a/0x20\\n ? ata_host_alloc+0xf5/0x120 [libata]\\n ? ata_host_alloc+0xf5/0x120 [libata]\\n ? kfree+0x2cf/0x2f0\\n ata_host_alloc+0xf5/0x120 [libata]\\n ata_host_alloc_pinfo+0x14/0xa0 [libata]\\n ahci_init_one+0x6c9/0xd20 [ahci]\\n\\nEnsure that we will not call kfree(host) twice, by performing the kfree()\\nonly if the devres_open_group() call failed.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T09:11:40.271Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-41087\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T09:11:40.271Z\", \"dateReserved\": \"2024-07-12T12:17:45.634Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-07-29T15:48:03.127Z\", \"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.