CVE-2024-50251 (GCVE-0-2024-50251)

Vulnerability from cvelistv5 – Published: 2024-11-09 10:14 – Updated: 2025-11-03 22:27
VLAI?
Title
netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_payload: sanitize offset and length before calling skb_checksum() If access to offset + length is larger than the skbuff length, then skb_checksum() triggers BUG_ON(). skb_checksum() internally subtracts the length parameter while iterating over skbuff, BUG_ON(len) at the end of it checks that the expected length to be included in the checksum calculation is fully consumed.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df , < a661ed364ae6ae88c2fafa9ddc27df1af2a73701 (git)
Affected: 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df , < ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534 (git)
Affected: 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df , < e3e608cbad376674d19a71ccd0d41804d9393f02 (git)
Affected: 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df , < b1d2de8a669fa14c499a385e056944d5352b3b40 (git)
Affected: 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df , < d3217323525f7596427124359e76ea0d8fcc9874 (git)
Affected: 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df , < 0ab3be58b45b996764aba0187b46de19b3e58a72 (git)
Affected: 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df , < c43e0ea848e7b9bef7a682cbc5608022d6d29d7b (git)
Affected: 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df , < d5953d680f7e96208c29ce4139a0e38de87a57fe (git)
Create a notification for this product.
    Linux Linux Affected: 4.5
Unaffected: 0 , < 4.5 (semver)
Unaffected: 4.19.323 , ≤ 4.19.* (semver)
Unaffected: 5.4.285 , ≤ 5.4.* (semver)
Unaffected: 5.10.229 , ≤ 5.10.* (semver)
Unaffected: 5.15.171 , ≤ 5.15.* (semver)
Unaffected: 6.1.116 , ≤ 6.1.* (semver)
Unaffected: 6.6.60 , ≤ 6.6.* (semver)
Unaffected: 6.11.7 , ≤ 6.11.* (semver)
Unaffected: 6.12 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T22:27:31.759Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://github.com/slavin-ayu/CVE-2024-50251-PoC"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nft_payload.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a661ed364ae6ae88c2fafa9ddc27df1af2a73701",
              "status": "affected",
              "version": "7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df",
              "versionType": "git"
            },
            {
              "lessThan": "ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534",
              "status": "affected",
              "version": "7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df",
              "versionType": "git"
            },
            {
              "lessThan": "e3e608cbad376674d19a71ccd0d41804d9393f02",
              "status": "affected",
              "version": "7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df",
              "versionType": "git"
            },
            {
              "lessThan": "b1d2de8a669fa14c499a385e056944d5352b3b40",
              "status": "affected",
              "version": "7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df",
              "versionType": "git"
            },
            {
              "lessThan": "d3217323525f7596427124359e76ea0d8fcc9874",
              "status": "affected",
              "version": "7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df",
              "versionType": "git"
            },
            {
              "lessThan": "0ab3be58b45b996764aba0187b46de19b3e58a72",
              "status": "affected",
              "version": "7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df",
              "versionType": "git"
            },
            {
              "lessThan": "c43e0ea848e7b9bef7a682cbc5608022d6d29d7b",
              "status": "affected",
              "version": "7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df",
              "versionType": "git"
            },
            {
              "lessThan": "d5953d680f7e96208c29ce4139a0e38de87a57fe",
              "status": "affected",
              "version": "7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nft_payload.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.5"
            },
            {
              "lessThan": "4.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.323",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.285",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.171",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.116",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.60",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.323",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.285",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.229",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.171",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.116",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.60",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.7",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_payload: sanitize offset and length before calling skb_checksum()\n\nIf access to offset + length is larger than the skbuff length, then\nskb_checksum() triggers BUG_ON().\n\nskb_checksum() internally subtracts the length parameter while iterating\nover skbuff, BUG_ON(len) at the end of it checks that the expected\nlength to be included in the checksum calculation is fully consumed."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T09:49:54.874Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a661ed364ae6ae88c2fafa9ddc27df1af2a73701"
        },
        {
          "url": "https://git.kernel.org/stable/c/ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534"
        },
        {
          "url": "https://git.kernel.org/stable/c/e3e608cbad376674d19a71ccd0d41804d9393f02"
        },
        {
          "url": "https://git.kernel.org/stable/c/b1d2de8a669fa14c499a385e056944d5352b3b40"
        },
        {
          "url": "https://git.kernel.org/stable/c/d3217323525f7596427124359e76ea0d8fcc9874"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ab3be58b45b996764aba0187b46de19b3e58a72"
        },
        {
          "url": "https://git.kernel.org/stable/c/c43e0ea848e7b9bef7a682cbc5608022d6d29d7b"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5953d680f7e96208c29ce4139a0e38de87a57fe"
        }
      ],
      "title": "netfilter: nft_payload: sanitize offset and length before calling skb_checksum()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-50251",
    "datePublished": "2024-11-09T10:14:59.820Z",
    "dateReserved": "2024-10-21T19:36:19.979Z",
    "dateUpdated": "2025-11-03T22:27:31.759Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…