cve-2024-26926
Vulnerability from cvelistv5
Published
2024-04-24 23:23
Modified
2024-08-02 00:21
Severity
Summary
binder: check offset alignment in binder_get_object()
Impacted products
VendorProduct
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "affected": [
          {
            "cpes": [
              "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unaffected",
            "product": "linux_kernel",
            "vendor": "linux",
            "versions": [
              {
                "lessThan": "68a28f551e46",
                "status": "affected",
                "version": "c056a6ba35e0",
                "versionType": "custom"
              },
              {
                "lessThan": "48a1f83ca9c6",
                "status": "affected",
                "version": "23e9d815fad8",
                "versionType": "custom"
              },
              {
                "lessThan": "a2fd6dbc98be",
                "status": "affected",
                "version": "7a9ad4aceb02",
                "versionType": "custom"
              },
              {
                "lessThan": "a6d2a8b211c8",
                "status": "affected",
                "version": "6d98eb95b450",
                "versionType": "custom"
              },
              {
                "lessThan": "1d7f1049035b",
                "status": "affected",
                "version": "6d98eb95b450",
                "versionType": "custom"
              },
              {
                "lessThan": "f01d66190457",
                "status": "affected",
                "version": "6d98eb95b450",
                "versionType": "custom"
              },
              {
                "lessThan": "aaef73821a3b",
                "status": "affected",
                "version": "6d98eb95b450",
                "versionType": "custom"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:linux:linux_kernel:5.17:-:*:*:*:*:*:*"
            ],
            "defaultStatus": "affected",
            "product": "linux_kernel",
            "vendor": "linux",
            "versions": [
              {
                "status": "affected",
                "version": "5.17"
              }
            ]
          }
        ],
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-26926",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-13T03:55:21.790532Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-13T14:39:55.884Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T00:21:05.552Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/68a28f551e4690db2b27b3db716c7395f6fada12"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/48a1f83ca9c68518b1a783c62e6a8223144fa9fc"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a2fd6dbc98be1105a1d8e9e31575da8873ef115c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a6d2a8b211c874971ee4cf3ddd167408177f6e76"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1d7f1049035b2060342f11eff957cf567d810bdc"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f01d6619045704d78613b14e2e0420bfdb7f1c15"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/aaef73821a3b0194a01bd23ca77774f704a04d40"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/android/binder.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "68a28f551e46",
              "status": "affected",
              "version": "c056a6ba35e0",
              "versionType": "git"
            },
            {
              "lessThan": "48a1f83ca9c6",
              "status": "affected",
              "version": "23e9d815fad8",
              "versionType": "git"
            },
            {
              "lessThan": "a2fd6dbc98be",
              "status": "affected",
              "version": "7a9ad4aceb02",
              "versionType": "git"
            },
            {
              "lessThan": "a6d2a8b211c8",
              "status": "affected",
              "version": "6d98eb95b450",
              "versionType": "git"
            },
            {
              "lessThan": "1d7f1049035b",
              "status": "affected",
              "version": "6d98eb95b450",
              "versionType": "git"
            },
            {
              "lessThan": "f01d66190457",
              "status": "affected",
              "version": "6d98eb95b450",
              "versionType": "git"
            },
            {
              "lessThan": "aaef73821a3b",
              "status": "affected",
              "version": "6d98eb95b450",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/android/binder.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.17"
            },
            {
              "lessThan": "5.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.275",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.216",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.157",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.88",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.29",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.8",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbinder: check offset alignment in binder_get_object()\n\nCommit 6d98eb95b450 (\"binder: avoid potential data leakage when copying\ntxn\") introduced changes to how binder objects are copied. In doing so,\nit unintentionally removed an offset alignment check done through calls\nto binder_alloc_copy_from_buffer() -\u003e check_buffer().\n\nThese calls were replaced in binder_get_object() with copy_from_user(),\nso now an explicit offset alignment check is needed here. This avoids\nlater complications when unwinding the objects gets harder.\n\nIt is worth noting this check existed prior to commit 7a67a39320df\n(\"binder: add function to copy binder object from buffer\"), likely\nremoved due to redundancy at the time."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-05-29T05:25:08.732Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/68a28f551e4690db2b27b3db716c7395f6fada12"
        },
        {
          "url": "https://git.kernel.org/stable/c/48a1f83ca9c68518b1a783c62e6a8223144fa9fc"
        },
        {
          "url": "https://git.kernel.org/stable/c/a2fd6dbc98be1105a1d8e9e31575da8873ef115c"
        },
        {
          "url": "https://git.kernel.org/stable/c/a6d2a8b211c874971ee4cf3ddd167408177f6e76"
        },
        {
          "url": "https://git.kernel.org/stable/c/1d7f1049035b2060342f11eff957cf567d810bdc"
        },
        {
          "url": "https://git.kernel.org/stable/c/f01d6619045704d78613b14e2e0420bfdb7f1c15"
        },
        {
          "url": "https://git.kernel.org/stable/c/aaef73821a3b0194a01bd23ca77774f704a04d40"
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
        }
      ],
      "title": "binder: check offset alignment in binder_get_object()",
      "x_generator": {
        "engine": "bippy-a5840b7849dd"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-26926",
    "datePublished": "2024-04-24T23:23:40.600Z",
    "dateReserved": "2024-02-19T14:20:24.194Z",
    "dateUpdated": "2024-08-02T00:21:05.552Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-26926\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-04-25T06:15:57.780\",\"lastModified\":\"2024-06-25T23:15:27.893\",\"vulnStatus\":\"Awaiting Analysis\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbinder: check offset alignment in binder_get_object()\\n\\nCommit 6d98eb95b450 (\\\"binder: avoid potential data leakage when copying\\ntxn\\\") introduced changes to how binder objects are copied. In doing so,\\nit unintentionally removed an offset alignment check done through calls\\nto binder_alloc_copy_from_buffer() -\u003e check_buffer().\\n\\nThese calls were replaced in binder_get_object() with copy_from_user(),\\nso now an explicit offset alignment check is needed here. This avoids\\nlater complications when unwinding the objects gets harder.\\n\\nIt is worth noting this check existed prior to commit 7a67a39320df\\n(\\\"binder: add function to copy binder object from buffer\\\"), likely\\nremoved due to redundancy at the time.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: Binder: verifique la alineaci\u00f3n de desplazamiento en binder_get_object() El commit 6d98eb95b450 (\\\"binder: evite posibles fugas de datos al copiar txn\\\") introdujo cambios en la forma en que se copian los objetos de Binder. Al hacerlo, elimin\u00f3 involuntariamente una verificaci\u00f3n de alineaci\u00f3n de desplazamiento realizada mediante llamadas a binder_alloc_copy_from_buffer() -\u0026gt; check_buffer(). Estas llamadas fueron reemplazadas en binder_get_object() con copy_from_user(), por lo que ahora se necesita aqu\u00ed una verificaci\u00f3n expl\u00edcita de alineaci\u00f3n de desplazamiento. Esto evita complicaciones posteriores cuando el desenrollado de los objetos se vuelve m\u00e1s dif\u00edcil. Vale la pena se\u00f1alar que esta verificaci\u00f3n exist\u00eda antes de el commit 7a67a39320df (\\\"carpeta: agregar funci\u00f3n para copiar el objeto de carpeta del b\u00fafer\\\"), probablemente eliminada debido a la redundancia en ese momento.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1d7f1049035b2060342f11eff957cf567d810bdc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/48a1f83ca9c68518b1a783c62e6a8223144fa9fc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/68a28f551e4690db2b27b3db716c7395f6fada12\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a2fd6dbc98be1105a1d8e9e31575da8873ef115c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a6d2a8b211c874971ee4cf3ddd167408177f6e76\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aaef73821a3b0194a01bd23ca77774f704a04d40\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f01d6619045704d78613b14e2e0420bfdb7f1c15\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...