cve-2023-52787
Vulnerability from cvelistv5
Published
2024-05-21 15:31
Modified
2024-12-19 08:25
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: blk-mq: make sure active queue usage is held for bio_integrity_prep() blk_integrity_unregister() can come if queue usage counter isn't held for one bio with integrity prepared, so this request may be completed with calling profile->complete_fn, then kernel panic. Another constraint is that bio_integrity_prep() needs to be called before bio merge. Fix the issue by: - call bio_integrity_prep() with one queue usage counter grabbed reliably - call bio_integrity_prep() before bio merge
Impacted products
Vendor Product Version
Linux Linux Version: 900e080752025f0016128f07c9ed4c50eba3654b
Version: 900e080752025f0016128f07c9ed4c50eba3654b
Version: 900e080752025f0016128f07c9ed4c50eba3654b
Version: 900e080752025f0016128f07c9ed4c50eba3654b
Create a notification for this product.
   Linux Linux Version: 5.16
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2023-52787",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-05-22T19:34:28.406298Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-06-04T17:23:03.186Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T23:11:35.557Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/e9c309ded295b7f8849097d71ae231456ca79f78",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/b80056bd75a16e4550873ecefe12bc8fd190b1cf",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/b0077e269f6c152e807fdac90b58caf012cdbaab",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "block/blk-mq.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9",
                     status: "affected",
                     version: "900e080752025f0016128f07c9ed4c50eba3654b",
                     versionType: "git",
                  },
                  {
                     lessThan: "e9c309ded295b7f8849097d71ae231456ca79f78",
                     status: "affected",
                     version: "900e080752025f0016128f07c9ed4c50eba3654b",
                     versionType: "git",
                  },
                  {
                     lessThan: "b80056bd75a16e4550873ecefe12bc8fd190b1cf",
                     status: "affected",
                     version: "900e080752025f0016128f07c9ed4c50eba3654b",
                     versionType: "git",
                  },
                  {
                     lessThan: "b0077e269f6c152e807fdac90b58caf012cdbaab",
                     status: "affected",
                     version: "900e080752025f0016128f07c9ed4c50eba3654b",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "block/blk-mq.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "5.16",
                  },
                  {
                     lessThan: "5.16",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.1.*",
                     status: "unaffected",
                     version: "6.1.72",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.5.*",
                     status: "unaffected",
                     version: "6.5.13",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.3",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.7",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: make sure active queue usage is held for bio_integrity_prep()\n\nblk_integrity_unregister() can come if queue usage counter isn't held\nfor one bio with integrity prepared, so this request may be completed with\ncalling profile->complete_fn, then kernel panic.\n\nAnother constraint is that bio_integrity_prep() needs to be called\nbefore bio merge.\n\nFix the issue by:\n\n- call bio_integrity_prep() with one queue usage counter grabbed reliably\n\n- call bio_integrity_prep() before bio merge",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T08:25:58.007Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9",
            },
            {
               url: "https://git.kernel.org/stable/c/e9c309ded295b7f8849097d71ae231456ca79f78",
            },
            {
               url: "https://git.kernel.org/stable/c/b80056bd75a16e4550873ecefe12bc8fd190b1cf",
            },
            {
               url: "https://git.kernel.org/stable/c/b0077e269f6c152e807fdac90b58caf012cdbaab",
            },
         ],
         title: "blk-mq: make sure active queue usage is held for bio_integrity_prep()",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2023-52787",
      datePublished: "2024-05-21T15:31:04.343Z",
      dateReserved: "2024-05-21T15:19:24.241Z",
      dateUpdated: "2024-12-19T08:25:58.007Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2023-52787\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-21T16:15:17.500\",\"lastModified\":\"2024-11-21T08:40:35.277\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nblk-mq: make sure active queue usage is held for bio_integrity_prep()\\n\\nblk_integrity_unregister() can come if queue usage counter isn't held\\nfor one bio with integrity prepared, so this request may be completed with\\ncalling profile->complete_fn, then kernel panic.\\n\\nAnother constraint is that bio_integrity_prep() needs to be called\\nbefore bio merge.\\n\\nFix the issue by:\\n\\n- call bio_integrity_prep() with one queue usage counter grabbed reliably\\n\\n- call bio_integrity_prep() before bio merge\"},{\"lang\":\"es\",\"value\":\" En el kernel de Linux, se resolvió la siguiente vulnerabilidad: blk-mq: asegúrese de que el uso de la cola activa se mantenga para bio_integrity_prep() blk_integrity_unregister() puede aparecer si el contador de uso de la cola no se mantiene para una biografía con integridad preparada, por lo que esta solicitud se puede completar llamando al perfil->complete_fn, luego kernel panic. Otra restricción es que es necesario llamar a bio_integrity_prep() antes de la fusión biológica. Solucione el problema de la siguiente manera: - llame a bio_integrity_prep() con un contador de uso de cola capturado de manera confiable - llame a bio_integrity_prep() antes de fusionar la biografía\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/b0077e269f6c152e807fdac90b58caf012cdbaab\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b80056bd75a16e4550873ecefe12bc8fd190b1cf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e9c309ded295b7f8849097d71ae231456ca79f78\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b0077e269f6c152e807fdac90b58caf012cdbaab\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b80056bd75a16e4550873ecefe12bc8fd190b1cf\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/e9c309ded295b7f8849097d71ae231456ca79f78\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/e9c309ded295b7f8849097d71ae231456ca79f78\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/b80056bd75a16e4550873ecefe12bc8fd190b1cf\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/b0077e269f6c152e807fdac90b58caf012cdbaab\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T23:11:35.557Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-52787\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-22T19:34:28.406298Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-22T19:34:44.032Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"blk-mq: make sure active queue usage is held for bio_integrity_prep()\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"900e080752025f0016128f07c9ed4c50eba3654b\", \"lessThan\": \"b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"900e080752025f0016128f07c9ed4c50eba3654b\", \"lessThan\": \"e9c309ded295b7f8849097d71ae231456ca79f78\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"900e080752025f0016128f07c9ed4c50eba3654b\", \"lessThan\": \"b80056bd75a16e4550873ecefe12bc8fd190b1cf\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"900e080752025f0016128f07c9ed4c50eba3654b\", \"lessThan\": \"b0077e269f6c152e807fdac90b58caf012cdbaab\", \"versionType\": \"git\"}], \"programFiles\": [\"block/blk-mq.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.16\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.16\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.72\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.5.13\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.5.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.7\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"block/blk-mq.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b5c8e0ff76d10f6bf70a7237678f27c20cf59bc9\"}, {\"url\": \"https://git.kernel.org/stable/c/e9c309ded295b7f8849097d71ae231456ca79f78\"}, {\"url\": \"https://git.kernel.org/stable/c/b80056bd75a16e4550873ecefe12bc8fd190b1cf\"}, {\"url\": \"https://git.kernel.org/stable/c/b0077e269f6c152e807fdac90b58caf012cdbaab\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nblk-mq: make sure active queue usage is held for bio_integrity_prep()\\n\\nblk_integrity_unregister() can come if queue usage counter isn't held\\nfor one bio with integrity prepared, so this request may be completed with\\ncalling profile->complete_fn, then kernel panic.\\n\\nAnother constraint is that bio_integrity_prep() needs to be called\\nbefore bio merge.\\n\\nFix the issue by:\\n\\n- call bio_integrity_prep() with one queue usage counter grabbed reliably\\n\\n- call bio_integrity_prep() before bio merge\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T08:25:58.007Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2023-52787\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T08:25:58.007Z\", \"dateReserved\": \"2024-05-21T15:19:24.241Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-21T15:31:04.343Z\", \"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.