cve-2024-56720
Vulnerability from cvelistv5
Published
2024-12-29 11:29
Modified
2025-01-20 06:26
Severity ?
EPSS score ?
0.03% (0.06275)
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Several fixes to bpf_msg_pop_data Several fixes to bpf_msg_pop_data, 1. In sk_msg_shift_left, we should put_page 2. if (len == 0), return early is better 3. pop the entire sk_msg (last == msg->sg.size) should be supported 4. Fix for the value of variable "a" 5. In sk_msg_shift_left, after shifting, i has already pointed to the next element. Addtional sk_msg_iter_var_next may result in BUG.
Impacted products
Vendor Product Version
Linux Linux Version: 7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Version: 7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Version: 7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Version: 7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Version: 7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Version: 7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Version: 7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Version: 7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Create a notification for this product.
   Linux Linux Version: 5.0
Create a notification for this product.
Show details on NVD website


{
   containers: {
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "net/core/filter.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "d3f5763b3062514a234114e97bbde74d8d702449",
                     status: "affected",
                     version: "7246d8ed4dcce23f7509949a77be15fa9f0e3d28",
                     versionType: "git",
                  },
                  {
                     lessThan: "d26d977633d1d0b8bf9407278189bd0a8d973323",
                     status: "affected",
                     version: "7246d8ed4dcce23f7509949a77be15fa9f0e3d28",
                     versionType: "git",
                  },
                  {
                     lessThan: "e1f54c61c4c9a5244eb8159dce60d248f7d97b32",
                     status: "affected",
                     version: "7246d8ed4dcce23f7509949a77be15fa9f0e3d28",
                     versionType: "git",
                  },
                  {
                     lessThan: "f58d3aa457e77a3d9b3df2ab081dcf9950f6029f",
                     status: "affected",
                     version: "7246d8ed4dcce23f7509949a77be15fa9f0e3d28",
                     versionType: "git",
                  },
                  {
                     lessThan: "98c7ea7d11f2588e8197db042e0291e4ac8f8346",
                     status: "affected",
                     version: "7246d8ed4dcce23f7509949a77be15fa9f0e3d28",
                     versionType: "git",
                  },
                  {
                     lessThan: "785180bed9879680d8e5c5e1b54c8ae8d948f4c8",
                     status: "affected",
                     version: "7246d8ed4dcce23f7509949a77be15fa9f0e3d28",
                     versionType: "git",
                  },
                  {
                     lessThan: "275a9f3ef8fabb0cb282a62b9e164dedba7284c5",
                     status: "affected",
                     version: "7246d8ed4dcce23f7509949a77be15fa9f0e3d28",
                     versionType: "git",
                  },
                  {
                     lessThan: "5d609ba262475db450ba69b8e8a557bd768ac07a",
                     status: "affected",
                     version: "7246d8ed4dcce23f7509949a77be15fa9f0e3d28",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "net/core/filter.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "5.0",
                  },
                  {
                     lessThan: "5.0",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.4.*",
                     status: "unaffected",
                     version: "5.4.287",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.10.*",
                     status: "unaffected",
                     version: "5.10.231",
                     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",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, sockmap: Several fixes to bpf_msg_pop_data\n\nSeveral fixes to bpf_msg_pop_data,\n1. In sk_msg_shift_left, we should put_page\n2. if (len == 0), return early is better\n3. pop the entire sk_msg (last == msg->sg.size) should be supported\n4. Fix for the value of variable \"a\"\n5. In sk_msg_shift_left, after shifting, i has already pointed to the next\nelement. Addtional sk_msg_iter_var_next may result in BUG.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2025-01-20T06:26:51.172Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/d3f5763b3062514a234114e97bbde74d8d702449",
            },
            {
               url: "https://git.kernel.org/stable/c/d26d977633d1d0b8bf9407278189bd0a8d973323",
            },
            {
               url: "https://git.kernel.org/stable/c/e1f54c61c4c9a5244eb8159dce60d248f7d97b32",
            },
            {
               url: "https://git.kernel.org/stable/c/f58d3aa457e77a3d9b3df2ab081dcf9950f6029f",
            },
            {
               url: "https://git.kernel.org/stable/c/98c7ea7d11f2588e8197db042e0291e4ac8f8346",
            },
            {
               url: "https://git.kernel.org/stable/c/785180bed9879680d8e5c5e1b54c8ae8d948f4c8",
            },
            {
               url: "https://git.kernel.org/stable/c/275a9f3ef8fabb0cb282a62b9e164dedba7284c5",
            },
            {
               url: "https://git.kernel.org/stable/c/5d609ba262475db450ba69b8e8a557bd768ac07a",
            },
         ],
         title: "bpf, sockmap: Several fixes to bpf_msg_pop_data",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-56720",
      datePublished: "2024-12-29T11:29:58.345Z",
      dateReserved: "2024-12-27T15:00:39.858Z",
      dateUpdated: "2025-01-20T06:26:51.172Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-56720\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-29T12:15:06.037\",\"lastModified\":\"2025-01-09T20:06:46.267\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbpf, sockmap: Several fixes to bpf_msg_pop_data\\n\\nSeveral fixes to bpf_msg_pop_data,\\n1. In sk_msg_shift_left, we should put_page\\n2. if (len == 0), return early is better\\n3. pop the entire sk_msg (last == msg->sg.size) should be supported\\n4. Fix for the value of variable \\\"a\\\"\\n5. In sk_msg_shift_left, after shifting, i has already pointed to the next\\nelement. Addtional sk_msg_iter_var_next may result in BUG.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf, sockmap: Varias correcciones para bpf_msg_pop_data Varias correcciones para bpf_msg_pop_data, 1. En sk_msg_shift_left, deberíamos put_page 2. si (len == 0), es mejor regresar antes 3. Debería ser compatible con la extracción de todo el sk_msg (last == msg->sg.size) 4. Corrección para el valor de la variable \\\"a\\\" 5. En sk_msg_shift_left, después de cambiar, i ya ha apuntado al siguiente elemento. La adición de sk_msg_iter_var_next puede provocar un ERROR.\"}],\"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:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-193\"},{\"lang\":\"en\",\"value\":\"CWE-401\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.0\",\"versionEndExcluding\":\"5.4.287\",\"matchCriteriaId\":\"03386EEC-BB89-4FD6-A10A-3326F073C415\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.231\",\"matchCriteriaId\":\"B5C644CC-2BD7-4E32-BC54-8DCC7ABE9935\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.174\",\"matchCriteriaId\":\"419FD073-1517-4FD5-8158-F94BC68A1E89\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.120\",\"matchCriteriaId\":\"09AC6122-E2A4-40FE-9D33-268A1B2EC265\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.64\",\"matchCriteriaId\":\"CA16DEE3-ABEC-4449-9F4A-7A3DC4FC36C7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.11.11\",\"matchCriteriaId\":\"21434379-192D-472F-9B54-D45E3650E893\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12\",\"versionEndExcluding\":\"6.12.2\",\"matchCriteriaId\":\"D8882B1B-2ABC-4838-AC1D-DBDBB5764776\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/275a9f3ef8fabb0cb282a62b9e164dedba7284c5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5d609ba262475db450ba69b8e8a557bd768ac07a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/785180bed9879680d8e5c5e1b54c8ae8d948f4c8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/98c7ea7d11f2588e8197db042e0291e4ac8f8346\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/d26d977633d1d0b8bf9407278189bd0a8d973323\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/d3f5763b3062514a234114e97bbde74d8d702449\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e1f54c61c4c9a5244eb8159dce60d248f7d97b32\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f58d3aa457e77a3d9b3df2ab081dcf9950f6029f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
   },
}


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.