CVE-2026-43188 (GCVE-0-2026-43188)

Vulnerability from cvelistv5 – Published: 2026-05-06 11:27 – Updated: 2026-10-21 12:40
VLAI
Title
ceph: do not propagate page array emplacement errors as batch errors
Summary
In the Linux kernel, the following vulnerability has been resolved: ceph: do not propagate page array emplacement errors as batch errors When fscrypt is enabled, move_dirty_folio_in_page_array() may fail because it needs to allocate bounce buffers to store the encrypted versions of each folio. Each folio beyond the first allocates its bounce buffer with GFP_NOWAIT. Failures are common (and expected) under this allocation mode; they should flush (not abort) the batch. However, ceph_process_folio_batch() uses the same `rc` variable for its own return code and for capturing the return codes of its routine calls; failing to reset `rc` back to 0 results in the error being propagated out to the main writeback loop, which cannot actually tolerate any errors here: once `ceph_wbc.pages` is allocated, it must be passed to ceph_submit_write() to be freed. If it survives until the next iteration (e.g. due to the goto being followed), ceph_allocate_page_array()'s BUG_ON() will oops the worker. Note that this failure mode is currently masked due to another bug (addressed next in this series) that prevents multiple encrypted folios from being selected for the same write. For now, just reset `rc` when redirtying the folio to prevent errors in move_dirty_folio_in_page_array() from propagating. Note that move_dirty_folio_in_page_array() is careful never to return errors on the first folio, so there is no need to check for that. After this change, ceph_process_folio_batch() no longer returns errors; its only remaining failure indicator is `locked_pages == 0`, which the caller already handles correctly.
Impacted products
Vendor Product Version
Linux Linux Affected: ce80b76dd32764cc914975777e058d4fae4f0ea0 , < 746840c87d76b614b14d9337c466ff022fc49823 (git)
Affected: ce80b76dd32764cc914975777e058d4fae4f0ea0 , < 4c0d84c788d89c167abf0bf84fd37890c4c84f08 (git)
Affected: ce80b76dd32764cc914975777e058d4fae4f0ea0 , < 707104682e3c163f7c14cdd6b07a3e95fb374759 (git)
Affected: 0f2b2b7cacf888229cec19126e6791b11fb35f32 (git)
Affected: 6.12.114 , < 6.13 (semver)
Create a notification for this product.
Linux Linux Affected: 6.15
Unaffected: 0 , < 6.15 (semver)
Unaffected: 6.18.16 , ≤ 6.18.* (semver)
Unaffected: 6.19.6 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ceph/addr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "746840c87d76b614b14d9337c466ff022fc49823",
              "status": "affected",
              "version": "ce80b76dd32764cc914975777e058d4fae4f0ea0",
              "versionType": "git"
            },
            {
              "lessThan": "4c0d84c788d89c167abf0bf84fd37890c4c84f08",
              "status": "affected",
              "version": "ce80b76dd32764cc914975777e058d4fae4f0ea0",
              "versionType": "git"
            },
            {
              "lessThan": "707104682e3c163f7c14cdd6b07a3e95fb374759",
              "status": "affected",
              "version": "ce80b76dd32764cc914975777e058d4fae4f0ea0",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "0f2b2b7cacf888229cec19126e6791b11fb35f32",
              "versionType": "git"
            },
            {
              "lessThan": "6.13",
              "status": "affected",
              "version": "6.12.114",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ceph/addr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.15"
            },
            {
              "lessThan": "6.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.16",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.6",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.12.114",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nceph: do not propagate page array emplacement errors as batch errors\n\nWhen fscrypt is enabled, move_dirty_folio_in_page_array() may fail\nbecause it needs to allocate bounce buffers to store the encrypted\nversions of each folio. Each folio beyond the first allocates its bounce\nbuffer with GFP_NOWAIT. Failures are common (and expected) under this\nallocation mode; they should flush (not abort) the batch.\n\nHowever, ceph_process_folio_batch() uses the same `rc` variable for its\nown return code and for capturing the return codes of its routine calls;\nfailing to reset `rc` back to 0 results in the error being propagated\nout to the main writeback loop, which cannot actually tolerate any\nerrors here: once `ceph_wbc.pages` is allocated, it must be passed to\nceph_submit_write() to be freed. If it survives until the next iteration\n(e.g. due to the goto being followed), ceph_allocate_page_array()\u0027s\nBUG_ON() will oops the worker.\n\nNote that this failure mode is currently masked due to another bug\n(addressed next in this series) that prevents multiple encrypted folios\nfrom being selected for the same write.\n\nFor now, just reset `rc` when redirtying the folio to prevent errors in\nmove_dirty_folio_in_page_array() from propagating. Note that\nmove_dirty_folio_in_page_array() is careful never to return errors on\nthe first folio, so there is no need to check for that. After this\nchange, ceph_process_folio_batch() no longer returns errors; its only\nremaining failure indicator is `locked_pages == 0`, which the caller\nalready handles correctly."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:40:14.398Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/746840c87d76b614b14d9337c466ff022fc49823"
        },
        {
          "url": "https://git.kernel.org/stable/c/4c0d84c788d89c167abf0bf84fd37890c4c84f08"
        },
        {
          "url": "https://git.kernel.org/stable/c/707104682e3c163f7c14cdd6b07a3e95fb374759"
        }
      ],
      "title": "ceph: do not propagate page array emplacement errors as batch errors",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43188",
    "datePublished": "2026-05-06T11:27:58.402Z",
    "dateReserved": "2026-05-01T14:12:55.991Z",
    "dateUpdated": "2026-10-21T12:40:14.398Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43188",
      "date": "2026-11-16",
      "epss": "0.0016",
      "percentile": "0.05193"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ceph/addr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "746840c87d76b614b14d9337c466ff022fc49823",
                    "status": "affected",
                    "version": "ce80b76dd32764cc914975777e058d4fae4f0ea0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4c0d84c788d89c167abf0bf84fd37890c4c84f08",
                    "status": "affected",
                    "version": "ce80b76dd32764cc914975777e058d4fae4f0ea0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "707104682e3c163f7c14cdd6b07a3e95fb374759",
                    "status": "affected",
                    "version": "ce80b76dd32764cc914975777e058d4fae4f0ea0",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "0f2b2b7cacf888229cec19126e6791b11fb35f32",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.13",
                    "status": "affected",
                    "version": "6.12.114",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/ceph/addr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.15"
                  },
                  {
                    "lessThan": "6.15",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.16",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.19.*",
                    "status": "unaffected",
                    "version": "6.19.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.0",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5B5F989F-E891-48E4-9EC9-3C5EFD3DB9DC",
                    "versionEndExcluding": "6.18.16",
                    "versionStartIncluding": "6.15",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67",
                    "versionEndExcluding": "6.19.6",
                    "versionStartIncluding": "6.19",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nceph: do not propagate page array emplacement errors as batch errors\n\nWhen fscrypt is enabled, move_dirty_folio_in_page_array() may fail\nbecause it needs to allocate bounce buffers to store the encrypted\nversions of each folio. Each folio beyond the first allocates its bounce\nbuffer with GFP_NOWAIT. Failures are common (and expected) under this\nallocation mode; they should flush (not abort) the batch.\n\nHowever, ceph_process_folio_batch() uses the same `rc` variable for its\nown return code and for capturing the return codes of its routine calls;\nfailing to reset `rc` back to 0 results in the error being propagated\nout to the main writeback loop, which cannot actually tolerate any\nerrors here: once `ceph_wbc.pages` is allocated, it must be passed to\nceph_submit_write() to be freed. If it survives until the next iteration\n(e.g. due to the goto being followed), ceph_allocate_page_array()\u0027s\nBUG_ON() will oops the worker.\n\nNote that this failure mode is currently masked due to another bug\n(addressed next in this series) that prevents multiple encrypted folios\nfrom being selected for the same write.\n\nFor now, just reset `rc` when redirtying the folio to prevent errors in\nmove_dirty_folio_in_page_array() from propagating. Note that\nmove_dirty_folio_in_page_array() is careful never to return errors on\nthe first folio, so there is no need to check for that. After this\nchange, ceph_process_folio_batch() no longer returns errors; its only\nremaining failure indicator is `locked_pages == 0`, which the caller\nalready handles correctly."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nceph: no propagar errores de emplazamiento de array de p\u00e1ginas como errores de lote\n\nCuando fscrypt est\u00e1 habilitado, move_dirty_folio_in_page_array() puede fallar porque necesita asignar b\u00faferes de rebote para almacenar las versiones cifradas de cada folio. Cada folio m\u00e1s all\u00e1 del primero asigna su b\u00fafer de rebote con GFP_NOWAIT. Los fallos son comunes (y esperados) bajo este modo de asignaci\u00f3n; deber\u00edan vaciar (no abortar) el lote.\n\nSin embargo, ceph_process_folio_batch() utiliza la misma variable \u2019rc\u2019 para su propio c\u00f3digo de retorno y para capturar los c\u00f3digos de retorno de sus llamadas a rutina; no restablecer \u2019rc\u2019 a 0 resulta en que el error se propaga al bucle principal de writeback, el cual no puede tolerar ning\u00fan error aqu\u00ed: una vez que \u2019ceph_wbc.pages\u2019 es asignado, debe ser pasado a ceph_submit_write() para ser liberado. Si sobrevive hasta la siguiente iteraci\u00f3n (por ejemplo, debido a que se sigue el goto), el BUG_ON() de ceph_allocate_page_array() har\u00e1 que el worker falle.\n\nTenga en cuenta que este modo de fallo est\u00e1 actualmente enmascarado debido a otro error (abordado a continuaci\u00f3n en esta serie) que impide que m\u00faltiples folios cifrados sean seleccionados para la misma escritura.\n\nPor ahora, simplemente restablezca \u2019rc\u2019 al volver a marcar el folio como sucio para evitar que los errores en move_dirty_folio_in_page_array() se propaguen. Tenga en cuenta que move_dirty_folio_in_page_array() tiene cuidado de nunca devolver errores en el primer folio, por lo que no hay necesidad de comprobar eso. Despu\u00e9s de este cambio, ceph_process_folio_batch() ya no devuelve errores; su \u00fanico indicador de fallo restante es \u2019locked_pages == 0\u2019, que el llamador ya maneja correctamente."
          }
        ],
        "id": "CVE-2026-43188",
        "lastModified": "2026-11-11T20:10:00.273",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2026-05-06T12:16:37.600",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/4c0d84c788d89c167abf0bf84fd37890c4c84f08"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/707104682e3c163f7c14cdd6b07a3e95fb374759"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/746840c87d76b614b14d9337c466ff022fc49823"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-noinfo"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-11-06T18:28:09+00:00",
      "cve": "CVE-2026-43188",
      "id": "CVE-2026-43188",
      "initial_release_date": "2026-05-06T00:00:00+00:00",
      "product_status:known_not_affected": "200",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ceph: do not propagate page array emplacement errors as batch errors",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43188.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-21T23:51:59Z",
      "cve": "CVE-2026-43188",
      "id": "CVE-2026-43188",
      "initial_release_date": "2026-05-09T02:41:22Z",
      "product_status:known_affected": "0",
      "product_status:known_not_affected": "385",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-43188",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-43188.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…