cve-2024-42307
Vulnerability from cvelistv5
Published
2024-08-17 09:09
Modified
2024-12-19 09:16
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path Dan Carpenter reported a Smack static checker warning: fs/smb/client/cifsfs.c:1981 init_cifs() error: we previously assumed 'serverclose_wq' could be null (see line 1895) The patch which introduced the serverclose workqueue used the wrong oredering in error paths in init_cifs() for freeing it on errors.
Impacted products
Vendor Product Version
Linux Linux Version: 8c99dfb49bdc17edffc7ff3d46b400c8c291686c
Version: 6f17163b9339fac92023a1d9bef22128db3b9a4b
Version: 173217bd73365867378b5e75a86f0049e1069ee8
Version: 173217bd73365867378b5e75a86f0049e1069ee8
Create a notification for this product.
   Linux Linux Version: 6.9
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-42307",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T16:10:12.002656Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-12T17:33:27.701Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/cifsfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6018971710fdc7739f8655c1540832b4bb903671",
              "status": "affected",
              "version": "8c99dfb49bdc17edffc7ff3d46b400c8c291686c",
              "versionType": "git"
            },
            {
              "lessThan": "160235efb4f9b55212dedff5de0094c606c4b303",
              "status": "affected",
              "version": "6f17163b9339fac92023a1d9bef22128db3b9a4b",
              "versionType": "git"
            },
            {
              "lessThan": "3739d711246d8fbc95ff73dbdace9741cdce4777",
              "status": "affected",
              "version": "173217bd73365867378b5e75a86f0049e1069ee8",
              "versionType": "git"
            },
            {
              "lessThan": "193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2",
              "status": "affected",
              "version": "173217bd73365867378b5e75a86f0049e1069ee8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/cifsfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.103",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.44",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.3",
              "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\ncifs: fix potential null pointer use in destroy_workqueue in init_cifs error path\n\nDan Carpenter reported a Smack static checker warning:\n   fs/smb/client/cifsfs.c:1981 init_cifs()\n   error: we previously assumed \u0027serverclose_wq\u0027 could be null (see line 1895)\n\nThe patch which introduced the serverclose workqueue used the wrong\noredering in error paths in init_cifs() for freeing it on errors."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T09:16:05.598Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671"
        },
        {
          "url": "https://git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303"
        },
        {
          "url": "https://git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777"
        },
        {
          "url": "https://git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2"
        }
      ],
      "title": "cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-42307",
    "datePublished": "2024-08-17T09:09:12.613Z",
    "dateReserved": "2024-07-30T07:40:12.273Z",
    "dateUpdated": "2024-12-19T09:16:05.598Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-42307\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-08-17T09:15:10.843\",\"lastModified\":\"2024-09-05T17:49:58.257\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncifs: fix potential null pointer use in destroy_workqueue in init_cifs error path\\n\\nDan Carpenter reported a Smack static checker warning:\\n   fs/smb/client/cifsfs.c:1981 init_cifs()\\n   error: we previously assumed \u0027serverclose_wq\u0027 could be null (see line 1895)\\n\\nThe patch which introduced the serverclose workqueue used the wrong\\noredering in error paths in init_cifs() for freeing it on errors.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: cifs: corrige el posible uso de puntero nulo en destroy_workqueue en la ruta de error init_cifs Dan Carpenter inform\u00f3 una advertencia del verificador est\u00e1tico de Smack: fs/smb/client/cifsfs.c:1981 error init_cifs(): Anteriormente asumimos que \u0027serverclose_wq\u0027 podr\u00eda ser nulo (ver l\u00ednea 1895). El parche que introdujo la cola de trabajo serverclose utiliz\u00f3 un orden incorrecto en las rutas de error en init_cifs() para liberarlo de errores.\"}],\"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-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1.85\",\"versionEndExcluding\":\"6.1.103\",\"matchCriteriaId\":\"42EE7040-F6B8-41B6-B886-9DB62292B991\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6.26\",\"versionEndExcluding\":\"6.6.44\",\"matchCriteriaId\":\"F1D7BCB0-C58B-481A-9E7D-8CAD84EF38AD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.8.5\",\"versionEndExcluding\":\"6.10.3\",\"matchCriteriaId\":\"E6C7329B-0935-4016-B115-BC78DC87A38E\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-42307\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T16:10:12.002656Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:23.488Z\"}}], \"cna\": {\"title\": \"cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"8c99dfb49bdc17edffc7ff3d46b400c8c291686c\", \"lessThan\": \"6018971710fdc7739f8655c1540832b4bb903671\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6f17163b9339fac92023a1d9bef22128db3b9a4b\", \"lessThan\": \"160235efb4f9b55212dedff5de0094c606c4b303\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"173217bd73365867378b5e75a86f0049e1069ee8\", \"lessThan\": \"3739d711246d8fbc95ff73dbdace9741cdce4777\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"173217bd73365867378b5e75a86f0049e1069ee8\", \"lessThan\": \"193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/smb/client/cifsfs.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.103\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.44\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/smb/client/cifsfs.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671\"}, {\"url\": \"https://git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303\"}, {\"url\": \"https://git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777\"}, {\"url\": \"https://git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncifs: fix potential null pointer use in destroy_workqueue in init_cifs error path\\n\\nDan Carpenter reported a Smack static checker warning:\\n   fs/smb/client/cifsfs.c:1981 init_cifs()\\n   error: we previously assumed \u0027serverclose_wq\u0027 could be null (see line 1895)\\n\\nThe patch which introduced the serverclose workqueue used the wrong\\noredering in error paths in init_cifs() for freeing it on errors.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T09:16:05.598Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-42307\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T09:16:05.598Z\", \"dateReserved\": \"2024-07-30T07:40:12.273Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-08-17T09:09:12.613Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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.