CVE-2024-53206
Vulnerability from cvelistv5
Published
2024-12-27 13:49
Modified
2024-12-27 13:49
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: 6.12
Show details on NVD website


{
  "containers": {
    "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"
            }
          ]
        },
        {
          "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-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "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()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-27T13:49:52.131Z",
        "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-5f407fcff5a0"
      }
    }
  },
  "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": "2024-12-27T13:49:52.131Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-53206\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T14:15:28.453\",\"lastModified\":\"2024-12-27T14:15:28.453\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2dcc86fefe09ac853158afd96b60d544af115dc5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/65ed89cad1f57034c256b016e89e8c0a4ec7c65b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6d845028609a4af0ad66f499ee0bd5789122b067\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9a3c1ad93e6fba67b3a637cfa95a57a6685e4908\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c31e72d021db2714df03df6c42855a1db592716c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d0eb14cb8c08b00c36a3d5dc57a6f428b301f721\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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.