CVE-2024-53206 (GCVE-0-2024-53206)
Vulnerability from cvelistv5
Published
2024-12-27 13:49
Modified
2026-08-05 11:44
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: tcp: Fix use-after-free of nreq in reqsk_timer_handler(). The cited commit replaced inet_csk_reqsk_queue_drop_and_put() with __inet_csk_reqsk_queue_drop() and reqsk_put() in reqsk_timer_handler(). Then, oreq should be passed to reqsk_put() instead of req; otherwise use-after-free of nreq could happen when reqsk is migrated but the retry attempt failed (e.g. due to timeout). Let's pass oreq to reqsk_put().
Impacted products
Vendor Product Version
Linux Linux Version: 8459d61fbf24967839a70235165673148c7c7f17
Version: 5071beb59ee416e8ab456ac8647a4dabcda823b1
Version: 997ae8da14f1639ce6fb66a063dab54031cd61b3
Version: 51e34db64f4e43c7b055ccf881b7f3e0c31bb26d
Version: e8c526f2bdf1845bedaf6a478816a3d06fa78b8f
Version: e8c526f2bdf1845bedaf6a478816a3d06fa78b8f
Version: 106e457953315e476b3642ef24be25ed862aaba3
Version: c964bf65f80a14288d767023a1b300b30f5b9cd0
Version: 5.15.170   
Version: 6.1.115   
Version: 6.6.59   
Version: 6.11.6   
Version: 5.4.293   
Version: 5.10.237   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-53206",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-11T15:43:21.588054Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-11T15:45:26.365Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T20:47:34.185Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/inet_connection_sock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2dcc86fefe09ac853158afd96b60d544af115dc5",
              "status": "affected",
              "version": "8459d61fbf24967839a70235165673148c7c7f17",
              "versionType": "git"
            },
            {
              "lessThan": "9a3c1ad93e6fba67b3a637cfa95a57a6685e4908",
              "status": "affected",
              "version": "5071beb59ee416e8ab456ac8647a4dabcda823b1",
              "versionType": "git"
            },
            {
              "lessThan": "65ed89cad1f57034c256b016e89e8c0a4ec7c65b",
              "status": "affected",
              "version": "997ae8da14f1639ce6fb66a063dab54031cd61b3",
              "versionType": "git"
            },
            {
              "lessThan": "d0eb14cb8c08b00c36a3d5dc57a6f428b301f721",
              "status": "affected",
              "version": "51e34db64f4e43c7b055ccf881b7f3e0c31bb26d",
              "versionType": "git"
            },
            {
              "lessThan": "6d845028609a4af0ad66f499ee0bd5789122b067",
              "status": "affected",
              "version": "e8c526f2bdf1845bedaf6a478816a3d06fa78b8f",
              "versionType": "git"
            },
            {
              "lessThan": "c31e72d021db2714df03df6c42855a1db592716c",
              "status": "affected",
              "version": "e8c526f2bdf1845bedaf6a478816a3d06fa78b8f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "106e457953315e476b3642ef24be25ed862aaba3",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c964bf65f80a14288d767023a1b300b30f5b9cd0",
              "versionType": "git"
            },
            {
              "lessThan": "5.15.174",
              "status": "affected",
              "version": "5.15.170",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.120",
              "status": "affected",
              "version": "6.1.115",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.64",
              "status": "affected",
              "version": "6.6.59",
              "versionType": "semver"
            },
            {
              "lessThan": "6.11.11",
              "status": "affected",
              "version": "6.11.6",
              "versionType": "semver"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.293",
              "versionType": "semver"
            },
            {
              "lessThan": "5.11",
              "status": "affected",
              "version": "5.10.237",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/inet_connection_sock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.12"
            },
            {
              "lessThan": "6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.174",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.174",
                  "versionStartIncluding": "5.15.170",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.120",
                  "versionStartIncluding": "6.1.115",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.64",
                  "versionStartIncluding": "6.6.59",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.11",
                  "versionStartIncluding": "6.11.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.2",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.293",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.10.237",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: Fix use-after-free of nreq in reqsk_timer_handler().\n\nThe cited commit replaced inet_csk_reqsk_queue_drop_and_put() with\n__inet_csk_reqsk_queue_drop() and reqsk_put() in reqsk_timer_handler().\n\nThen, oreq should be passed to reqsk_put() instead of req; otherwise\nuse-after-free of nreq could happen when reqsk is migrated but the\nretry attempt failed (e.g. due to timeout).\n\nLet\u0027s pass oreq to reqsk_put()."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable request sock and its timer are created purely by inbound TCP SYN packets to a listening port, and the failure branch is driven by the remote peer withholding or racing the final ACK. This is core TCP/IP receive-path code reachable by any remote client, including internet-facing servers.\nAC:L - The attacker controls both the object supply (SYN flood populates the SYN queue and the request_sock slab) and the branch selection (never ACK to force `expire`, or send the final ACK concurrently to lose the `own_req` race), giving repeatable success. Listener migration is a routine, recurring event on exactly the SO_REUSEPORT rolling-restart/worker-recycle deployments that enable `tcp_migrate_req`, so a persistent attacker hits it without special effort.\nPR:N - No authentication or credentials of any kind are needed \u2014 the attacker only sends SYNs to an open TCP port and declines to complete the handshake. The entire path executes in the pre-connection SYN-queue/timer context.\nUI:N - The whole sequence runs in softirq timer context off attacker-supplied packets, with no action required from any local user or administrator.\nS:U - The corruption is confined to kernel slab memory and kernel socket structures within the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The use-after-free lets the attacker reoccupy the freed `request_sock` slot with objects whose contents they control via crafted SYNs, and the resulting premature free of a live reqsk yields reads of `rsk_ops`, `rsk_listener`, and `saved_syn` from attacker-groomed memory, enabling kernel memory disclosure.\nI:H - `reqsk_put()` on freed memory performs a write (refcount decrement) into the slab, which can corrupt the SLUB free pointer or underflow a live request sock\u0027s refcount, cascading to an indirect call through `req-\u003ersk_ops-\u003edestructor` read from freed memory and a `sock_put()` listener refcount underflow \u2014 a control-flow-hijack-capable primitive.\nA:H - Even without full exploitation, the use-after-free and the resulting premature frees/refcount underflows on hashed request socks and listener sockets reliably produce slab corruption and kernel oops/panic, remotely and repeatably."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:44:35.910Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2dcc86fefe09ac853158afd96b60d544af115dc5"
        },
        {
          "url": "https://git.kernel.org/stable/c/9a3c1ad93e6fba67b3a637cfa95a57a6685e4908"
        },
        {
          "url": "https://git.kernel.org/stable/c/65ed89cad1f57034c256b016e89e8c0a4ec7c65b"
        },
        {
          "url": "https://git.kernel.org/stable/c/d0eb14cb8c08b00c36a3d5dc57a6f428b301f721"
        },
        {
          "url": "https://git.kernel.org/stable/c/6d845028609a4af0ad66f499ee0bd5789122b067"
        },
        {
          "url": "https://git.kernel.org/stable/c/c31e72d021db2714df03df6c42855a1db592716c"
        }
      ],
      "title": "tcp: Fix use-after-free of nreq in reqsk_timer_handler().",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-53206",
    "datePublished": "2024-12-27T13:49:52.131Z",
    "dateReserved": "2024-11-19T17:17:25.019Z",
    "dateUpdated": "2026-08-05T11:44:35.910Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-53206\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-11T15:43:21.588054Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-11T15:43:22.907Z\"}}], \"cna\": {\"title\": \"tcp: Fix use-after-free of nreq in reqsk_timer_handler().\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"8459d61fbf24967839a70235165673148c7c7f17\", \"lessThan\": \"2dcc86fefe09ac853158afd96b60d544af115dc5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5071beb59ee416e8ab456ac8647a4dabcda823b1\", \"lessThan\": \"9a3c1ad93e6fba67b3a637cfa95a57a6685e4908\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"997ae8da14f1639ce6fb66a063dab54031cd61b3\", \"lessThan\": \"65ed89cad1f57034c256b016e89e8c0a4ec7c65b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"51e34db64f4e43c7b055ccf881b7f3e0c31bb26d\", \"lessThan\": \"d0eb14cb8c08b00c36a3d5dc57a6f428b301f721\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e8c526f2bdf1845bedaf6a478816a3d06fa78b8f\", \"lessThan\": \"6d845028609a4af0ad66f499ee0bd5789122b067\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e8c526f2bdf1845bedaf6a478816a3d06fa78b8f\", \"lessThan\": \"c31e72d021db2714df03df6c42855a1db592716c\", \"versionType\": \"git\"}], \"programFiles\": [\"net/ipv4/inet_connection_sock.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.12\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.12\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.15.174\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.120\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.64\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/ipv4/inet_connection_sock.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/2dcc86fefe09ac853158afd96b60d544af115dc5\"}, {\"url\": \"https://git.kernel.org/stable/c/9a3c1ad93e6fba67b3a637cfa95a57a6685e4908\"}, {\"url\": \"https://git.kernel.org/stable/c/65ed89cad1f57034c256b016e89e8c0a4ec7c65b\"}, {\"url\": \"https://git.kernel.org/stable/c/d0eb14cb8c08b00c36a3d5dc57a6f428b301f721\"}, {\"url\": \"https://git.kernel.org/stable/c/6d845028609a4af0ad66f499ee0bd5789122b067\"}, {\"url\": \"https://git.kernel.org/stable/c/c31e72d021db2714df03df6c42855a1db592716c\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ntcp: Fix use-after-free of nreq in reqsk_timer_handler().\\n\\nThe cited commit replaced inet_csk_reqsk_queue_drop_and_put() with\\n__inet_csk_reqsk_queue_drop() and reqsk_put() in reqsk_timer_handler().\\n\\nThen, oreq should be passed to reqsk_put() instead of req; otherwise\\nuse-after-free of nreq could happen when reqsk is migrated but the\\nretry attempt failed (e.g. due to timeout).\\n\\nLet\u0027s pass oreq to reqsk_put().\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.174\", \"versionStartIncluding\": \"5.15.170\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.120\", \"versionStartIncluding\": \"6.1.115\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.64\", \"versionStartIncluding\": \"6.6.59\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11.11\", \"versionStartIncluding\": \"6.11.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.2\", \"versionStartIncluding\": \"6.12\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.13\", \"versionStartIncluding\": \"6.12\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"5.4.293\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"5.10.237\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T09:55:48.011Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-53206\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T09:55:48.011Z\", \"dateReserved\": \"2024-11-19T17:17:25.019Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-12-27T13:49:52.131Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…