cve-2024-26834
Vulnerability from cvelistv5
Published
2024-04-17 10:10
Modified
2024-08-02 00:14
Severity
Summary
netfilter: nft_flow_offload: release dst in case direct xmit path is used
Impacted products
VendorProduct
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-26834",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-17T17:41:37.747801Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-17T17:48:34.642Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T00:14:13.630Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/13b57b5cd591d5b22f9bbf047b2922967de411f3"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a6cafdb49a7bbf4a88367db209703eee6941e023"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9256ab9232e35a16af9c30fa4e522e6d1bd3605a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2d17cf10179a7de6d8f0128168b84ad0b4a1863f"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8762785f459be1cfe6fcf7285c123aad6a3703f0"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nf_flow_table_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "13b57b5cd591",
              "status": "affected",
              "version": "7c71b831220e",
              "versionType": "git"
            },
            {
              "lessThan": "a6cafdb49a7b",
              "status": "affected",
              "version": "9c5662e95a8d",
              "versionType": "git"
            },
            {
              "lessThan": "9256ab9232e3",
              "status": "affected",
              "version": "fa502c865666",
              "versionType": "git"
            },
            {
              "lessThan": "2d17cf10179a",
              "status": "affected",
              "version": "fa502c865666",
              "versionType": "git"
            },
            {
              "lessThan": "8762785f459b",
              "status": "affected",
              "version": "fa502c865666",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nf_flow_table_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.5"
            },
            {
              "lessThan": "6.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.19",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.7",
              "versionType": "custom"
            },
            {
              "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\nnetfilter: nft_flow_offload: release dst in case direct xmit path is used\n\nDirect xmit does not use it since it calls dev_queue_xmit() to send\npackets, hence it calls dst_release().\n\nkmemleak reports:\n\nunreferenced object 0xffff88814f440900 (size 184):\n  comm \"softirq\", pid 0, jiffies 4294951896\n  hex dump (first 32 bytes):\n    00 60 5b 04 81 88 ff ff 00 e6 e8 82 ff ff ff ff  .`[.............\n    21 0b 50 82 ff ff ff ff 00 00 00 00 00 00 00 00  !.P.............\n  backtrace (crc cb2bf5d6):\n    [\u003c000000003ee17107\u003e] kmem_cache_alloc+0x286/0x340\n    [\u003c0000000021a5de2c\u003e] dst_alloc+0x43/0xb0\n    [\u003c00000000f0671159\u003e] rt_dst_alloc+0x2e/0x190\n    [\u003c00000000fe5092c9\u003e] __mkroute_output+0x244/0x980\n    [\u003c000000005fb96fb0\u003e] ip_route_output_flow+0xc0/0x160\n    [\u003c0000000045367433\u003e] nf_ip_route+0xf/0x30\n    [\u003c0000000085da1d8e\u003e] nf_route+0x2d/0x60\n    [\u003c00000000d1ecd1cb\u003e] nft_flow_route+0x171/0x6a0 [nft_flow_offload]\n    [\u003c00000000d9b2fb60\u003e] nft_flow_offload_eval+0x4e8/0x700 [nft_flow_offload]\n    [\u003c000000009f447dbb\u003e] expr_call_ops_eval+0x53/0x330 [nf_tables]\n    [\u003c00000000072e1be6\u003e] nft_do_chain+0x17c/0x840 [nf_tables]\n    [\u003c00000000d0551029\u003e] nft_do_chain_inet+0xa1/0x210 [nf_tables]\n    [\u003c0000000097c9d5c6\u003e] nf_hook_slow+0x5b/0x160\n    [\u003c0000000005eccab1\u003e] ip_forward+0x8b6/0x9b0\n    [\u003c00000000553a269b\u003e] ip_rcv+0x221/0x230\n    [\u003c00000000412872e5\u003e] __netif_receive_skb_one_core+0xfe/0x110"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-05-29T05:23:32.282Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/13b57b5cd591d5b22f9bbf047b2922967de411f3"
        },
        {
          "url": "https://git.kernel.org/stable/c/a6cafdb49a7bbf4a88367db209703eee6941e023"
        },
        {
          "url": "https://git.kernel.org/stable/c/9256ab9232e35a16af9c30fa4e522e6d1bd3605a"
        },
        {
          "url": "https://git.kernel.org/stable/c/2d17cf10179a7de6d8f0128168b84ad0b4a1863f"
        },
        {
          "url": "https://git.kernel.org/stable/c/8762785f459be1cfe6fcf7285c123aad6a3703f0"
        }
      ],
      "title": "netfilter: nft_flow_offload: release dst in case direct xmit path is used",
      "x_generator": {
        "engine": "bippy-a5840b7849dd"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-26834",
    "datePublished": "2024-04-17T10:10:02.282Z",
    "dateReserved": "2024-02-19T14:20:24.181Z",
    "dateUpdated": "2024-08-02T00:14:13.630Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-26834\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-04-17T10:15:09.617\",\"lastModified\":\"2024-04-17T12:48:07.510\",\"vulnStatus\":\"Awaiting Analysis\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfilter: nft_flow_offload: release dst in case direct xmit path is used\\n\\nDirect xmit does not use it since it calls dev_queue_xmit() to send\\npackets, hence it calls dst_release().\\n\\nkmemleak reports:\\n\\nunreferenced object 0xffff88814f440900 (size 184):\\n  comm \\\"softirq\\\", pid 0, jiffies 4294951896\\n  hex dump (first 32 bytes):\\n    00 60 5b 04 81 88 ff ff 00 e6 e8 82 ff ff ff ff  .`[.............\\n    21 0b 50 82 ff ff ff ff 00 00 00 00 00 00 00 00  !.P.............\\n  backtrace (crc cb2bf5d6):\\n    [\u003c000000003ee17107\u003e] kmem_cache_alloc+0x286/0x340\\n    [\u003c0000000021a5de2c\u003e] dst_alloc+0x43/0xb0\\n    [\u003c00000000f0671159\u003e] rt_dst_alloc+0x2e/0x190\\n    [\u003c00000000fe5092c9\u003e] __mkroute_output+0x244/0x980\\n    [\u003c000000005fb96fb0\u003e] ip_route_output_flow+0xc0/0x160\\n    [\u003c0000000045367433\u003e] nf_ip_route+0xf/0x30\\n    [\u003c0000000085da1d8e\u003e] nf_route+0x2d/0x60\\n    [\u003c00000000d1ecd1cb\u003e] nft_flow_route+0x171/0x6a0 [nft_flow_offload]\\n    [\u003c00000000d9b2fb60\u003e] nft_flow_offload_eval+0x4e8/0x700 [nft_flow_offload]\\n    [\u003c000000009f447dbb\u003e] expr_call_ops_eval+0x53/0x330 [nf_tables]\\n    [\u003c00000000072e1be6\u003e] nft_do_chain+0x17c/0x840 [nf_tables]\\n    [\u003c00000000d0551029\u003e] nft_do_chain_inet+0xa1/0x210 [nf_tables]\\n    [\u003c0000000097c9d5c6\u003e] nf_hook_slow+0x5b/0x160\\n    [\u003c0000000005eccab1\u003e] ip_forward+0x8b6/0x9b0\\n    [\u003c00000000553a269b\u003e] ip_rcv+0x221/0x230\\n    [\u003c00000000412872e5\u003e] __netif_receive_skb_one_core+0xfe/0x110\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: nft_flow_offload: libera dst en caso de que se use la ruta de xmit directa Direct xmit no la usa ya que llama a dev_queue_xmit() para enviar paquetes, por lo tanto llama a dst_release(). informes kmemleak: objeto sin referencia 0xffff88814f440900 (tama\u00f1o 184): comm \\\"softirq\\\", pid 0, jiffies 4294951896 volcado hexadecimal (primeros 32 bytes): 00 60 5b 04 81 88 ff ff 00 e6 e8 82 ff ff ff ff .`[.. ........... 21 0b 50 82 ff ff ff ff 00 00 00 00 00 00 00 00 !.P................. retroceso (crc cb2bf5d6): [ \u0026lt;000000003ee17107\u0026gt;] kmem_cache_alloc+0x286/0x340 [\u0026lt;0000000021a5de2c\u0026gt;] dst_alloc+0x43/0xb0 [\u0026lt;00000000f0671159\u0026gt;] rt_dst_alloc+0x2e/0x190 [\u0026lt;00000000fe50 92c9\u0026gt;] __mkroute_output+0x244/0x980 [\u0026lt;000000005fb96fb0\u0026gt;] ip_route_output_flow+0xc0/0x160 [ \u0026lt;0000000045367433\u0026gt;] nf_ip_route+0xf/0x30 [\u0026lt;0000000085da1d8e\u0026gt;] nf_route+0x2d/0x60 [\u0026lt;00000000d1ecd1cb\u0026gt;] nft_flow_route+0x171/0x6a0 [nft_flow_offload] 0000d9b2fb60\u0026gt;] nft_flow_offload_eval+0x4e8/0x700 [nft_flow_offload] [\u0026lt;000000009f447dbb\u0026gt;] expr_call_ops_eval+0x53/0x330 [nf_tables] [\u0026lt;00000000072e1be6\u0026gt;] nft_do_chain+0x17c/0x840 [nf_tables] [\u0026lt;00000000d0551029\u0026gt;] nft_do_chain_inet+0xa1/0x210 [nf_tables] [ \u0026lt;0000000097c9d5c6\u0026gt;] nf_hook_slow+0x5b/0x160 [\u0026lt;0000000005eccab1\u0026gt;] ip_forward +0x8b6/0x9b0 [\u0026lt;00000000553a269b\u0026gt;] ip_rcv+0x221/0x230 [\u0026lt;00000000412872e5\u0026gt;] __netif_receive_skb_one_core+0xfe/0x110\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/13b57b5cd591d5b22f9bbf047b2922967de411f3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2d17cf10179a7de6d8f0128168b84ad0b4a1863f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8762785f459be1cfe6fcf7285c123aad6a3703f0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9256ab9232e35a16af9c30fa4e522e6d1bd3605a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a6cafdb49a7bbf4a88367db209703eee6941e023\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...