cve-2024-44966
Vulnerability from cvelistv5
Published
2024-09-04 18:38
Modified
2024-12-19 09:19
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: binfmt_flat: Fix corruption when not offsetting data start Commit 04d82a6d0881 ("binfmt_flat: allow not offsetting data start") introduced a RISC-V specific variant of the FLAT format which does not allocate any space for the (obsolete) array of shared library pointers. However, it did not disable the code which initializes the array, resulting in the corruption of sizeof(long) bytes before the DATA segment, generally the end of the TEXT segment. Introduce MAX_SHARED_LIBS_UPDATE which depends on the state of CONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET to guard the initialization of the shared library pointer region so that it will only be initialized if space is reserved for it.
Impacted products
Vendor Product Version
Linux Linux Version: 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8
Version: 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8
Version: 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8
Version: 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8
Version: 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8
Create a notification for this product.
   Linux Linux Version: 5.13
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-44966",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-09-10T17:39:30.735328Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-09-12T17:33:35.153Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "fs/binfmt_flat.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "3a684499261d0f7ed5ee72793025c88c2276809c",
                     status: "affected",
                     version: "04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8",
                     versionType: "git",
                  },
                  {
                     lessThan: "af65d5383854cc3f172a7d0843b628758bf462c8",
                     status: "affected",
                     version: "04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8",
                     versionType: "git",
                  },
                  {
                     lessThan: "49df34d2b7da9e57c839555a2f7877291ce45ad1",
                     status: "affected",
                     version: "04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8",
                     versionType: "git",
                  },
                  {
                     lessThan: "9350ba06ee61db392c486716ac68ecc20e030f7c",
                     status: "affected",
                     version: "04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8",
                     versionType: "git",
                  },
                  {
                     lessThan: "3eb3cd5992f7a0c37edc8d05b4c38c98758d8671",
                     status: "affected",
                     version: "04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "fs/binfmt_flat.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "5.13",
                  },
                  {
                     lessThan: "5.13",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.15.*",
                     status: "unaffected",
                     version: "5.15.165",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.1.*",
                     status: "unaffected",
                     version: "6.1.106",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.47",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.10.*",
                     status: "unaffected",
                     version: "6.10.6",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.11",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nbinfmt_flat: Fix corruption when not offsetting data start\n\nCommit 04d82a6d0881 (\"binfmt_flat: allow not offsetting data start\")\nintroduced a RISC-V specific variant of the FLAT format which does\nnot allocate any space for the (obsolete) array of shared library\npointers. However, it did not disable the code which initializes the\narray, resulting in the corruption of sizeof(long) bytes before the DATA\nsegment, generally the end of the TEXT segment.\n\nIntroduce MAX_SHARED_LIBS_UPDATE which depends on the state of\nCONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET to guard the initialization of\nthe shared library pointer region so that it will only be initialized\nif space is reserved for it.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T09:19:16.557Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/3a684499261d0f7ed5ee72793025c88c2276809c",
            },
            {
               url: "https://git.kernel.org/stable/c/af65d5383854cc3f172a7d0843b628758bf462c8",
            },
            {
               url: "https://git.kernel.org/stable/c/49df34d2b7da9e57c839555a2f7877291ce45ad1",
            },
            {
               url: "https://git.kernel.org/stable/c/9350ba06ee61db392c486716ac68ecc20e030f7c",
            },
            {
               url: "https://git.kernel.org/stable/c/3eb3cd5992f7a0c37edc8d05b4c38c98758d8671",
            },
         ],
         title: "binfmt_flat: Fix corruption when not offsetting data start",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-44966",
      datePublished: "2024-09-04T18:38:45.625Z",
      dateReserved: "2024-08-21T05:34:56.667Z",
      dateUpdated: "2024-12-19T09:19:16.557Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-44966\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-09-04T19:15:31.060\",\"lastModified\":\"2024-10-04T16:15:30.047\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbinfmt_flat: Fix corruption when not offsetting data start\\n\\nCommit 04d82a6d0881 (\\\"binfmt_flat: allow not offsetting data start\\\")\\nintroduced a RISC-V specific variant of the FLAT format which does\\nnot allocate any space for the (obsolete) array of shared library\\npointers. However, it did not disable the code which initializes the\\narray, resulting in the corruption of sizeof(long) bytes before the DATA\\nsegment, generally the end of the TEXT segment.\\n\\nIntroduce MAX_SHARED_LIBS_UPDATE which depends on the state of\\nCONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET to guard the initialization of\\nthe shared library pointer region so that it will only be initialized\\nif space is reserved for it.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: binfmt_flat: Se corrige la corrupción cuando no se compensa el inicio de los datos. El commit 04d82a6d0881 (\\\"binfmt_flat: permitir no compensar el inicio de los datos\\\") introdujo una variante específica de RISC-V del formato FLAT que no asigna ningún espacio para la matriz (obsoleta) de punteros de librería compartida. Sin embargo, no deshabilitó el código que inicializa la matriz, lo que resultó en la corrupción de sizeof(long) bytes antes del segmento DATA, generalmente el final del segmento TEXT. Introduzca MAX_SHARED_LIBS_UPDATE que depende del estado de CONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET para proteger la inicialización de la región del puntero de la librería compartida de modo que solo se inicialice si se reserva espacio para ella.\"}],\"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\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.13\",\"versionEndExcluding\":\"5.15.165\",\"matchCriteriaId\":\"C9AF5ED3-AC3F-4864-B907-F7C809A8995E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.106\",\"matchCriteriaId\":\"3F3AF3DA-1553-4AB8-97CC-7D0C91E4E23F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.47\",\"matchCriteriaId\":\"F450D4D2-61CE-4595-B7D1-CA382E2028E9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.10.6\",\"matchCriteriaId\":\"C1CDF130-CCA6-47F6-9718-8949BF4E05CC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"8B3CE743-2126-47A3-8B7C-822B502CF119\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"4DEB27E7-30AA-45CC-8934-B89263EF3551\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"E0005AEF-856E-47EB-BFE4-90C46899394D\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3a684499261d0f7ed5ee72793025c88c2276809c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/3eb3cd5992f7a0c37edc8d05b4c38c98758d8671\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/49df34d2b7da9e57c839555a2f7877291ce45ad1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9350ba06ee61db392c486716ac68ecc20e030f7c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/af65d5383854cc3f172a7d0843b628758bf462c8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-44966\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T17:39:30.735328Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:27.519Z\"}}], \"cna\": {\"title\": \"binfmt_flat: Fix corruption when not offsetting data start\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"04d82a6d0881\", \"lessThan\": \"3a684499261d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"04d82a6d0881\", \"lessThan\": \"af65d5383854\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"04d82a6d0881\", \"lessThan\": \"49df34d2b7da\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"04d82a6d0881\", \"lessThan\": \"9350ba06ee61\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"04d82a6d0881\", \"lessThan\": \"3eb3cd5992f7\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/binfmt_flat.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.13\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.13\", \"versionType\": \"custom\"}, {\"status\": \"unaffected\", \"version\": \"5.15.165\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.106\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.47\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.6\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/binfmt_flat.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/3a684499261d0f7ed5ee72793025c88c2276809c\"}, {\"url\": \"https://git.kernel.org/stable/c/af65d5383854cc3f172a7d0843b628758bf462c8\"}, {\"url\": \"https://git.kernel.org/stable/c/49df34d2b7da9e57c839555a2f7877291ce45ad1\"}, {\"url\": \"https://git.kernel.org/stable/c/9350ba06ee61db392c486716ac68ecc20e030f7c\"}, {\"url\": \"https://git.kernel.org/stable/c/3eb3cd5992f7a0c37edc8d05b4c38c98758d8671\"}], \"x_generator\": {\"engine\": \"bippy-c9c4e1df01b2\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbinfmt_flat: Fix corruption when not offsetting data start\\n\\nCommit 04d82a6d0881 (\\\"binfmt_flat: allow not offsetting data start\\\")\\nintroduced a RISC-V specific variant of the FLAT format which does\\nnot allocate any space for the (obsolete) array of shared library\\npointers. However, it did not disable the code which initializes the\\narray, resulting in the corruption of sizeof(long) bytes before the DATA\\nsegment, generally the end of the TEXT segment.\\n\\nIntroduce MAX_SHARED_LIBS_UPDATE which depends on the state of\\nCONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET to guard the initialization of\\nthe shared library pointer region so that it will only be initialized\\nif space is reserved for it.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-09-15T17:56:06.547Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-44966\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-09-15T17:56:06.547Z\", \"dateReserved\": \"2024-08-21T05:34:56.667Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-09-04T18:38:45.625Z\", \"assignerShortName\": \"Linux\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


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.