CVE-2026-99789 (GCVE-0-2026-99789)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:51 – Updated: 2026-11-20 05:51
VLAI
Title
block: restore the iterator when rejecting a misaligned bio
Summary
In the Linux kernel, the following vulnerability has been resolved: block: restore the iterator when rejecting a misaligned bio bio_iov_iter_get_pages() can extract some iovecs before encountering a misaligned one. It releases the pages and rejects the entire bio, but leaves the supplied iterator advanced. An iomap direct-I/O caller may subsequently reexpand the iterator's byte count and fall back to buffered I/O. The reexpanded count then includes bytes before the iterator's current segment, potentially causing iterate_iovec() to read beyond the imported iovec array. In a reproducer using an initial empty iovec followed by 10-byte and 1015-byte segments, writev() returned 1015 instead of 1025 and KASAN reported an 8-byte read beyond the nine-element iovec allocation. Saving and restoring the iterator on the rejected-bio path makes writev() return 1025 and eliminates the KASAN report. Restore the entire iterator rather than reverting a byte count: advancing past an empty segment changes its position without consuming any bytes. Leave successful and partially accepted bio paths unchanged.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 14b007e178811db72fbb1ebb3535160db6ec1e6a , < 3a6381f254ed81d36f3896f61dcd5d830e08861d (git)
Affected: 14b007e178811db72fbb1ebb3535160db6ec1e6a , < 40d070cbb1906896d6fd65c39722d2411830ed9f (git)
Affected: d44a97a3b1c00cc571245124e23e5ceb0a0225a0 (git)
Affected: 7.2.4 , < 7.3 (semver)
Create a notification for this product.
Linux Linux Affected: 7.3
Unaffected: 0 , < 7.3 (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/bio.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3a6381f254ed81d36f3896f61dcd5d830e08861d",
              "status": "affected",
              "version": "14b007e178811db72fbb1ebb3535160db6ec1e6a",
              "versionType": "git"
            },
            {
              "lessThan": "40d070cbb1906896d6fd65c39722d2411830ed9f",
              "status": "affected",
              "version": "14b007e178811db72fbb1ebb3535160db6ec1e6a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "d44a97a3b1c00cc571245124e23e5ceb0a0225a0",
              "versionType": "git"
            },
            {
              "lessThan": "7.3",
              "status": "affected",
              "version": "7.2.4",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "block/bio.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.3"
            },
            {
              "lessThan": "7.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "7.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "7.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "7.2.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock: restore the iterator when rejecting a misaligned bio\n\nbio_iov_iter_get_pages() can extract some iovecs before encountering a\nmisaligned one.  It releases the pages and rejects the entire bio, but\nleaves the supplied iterator advanced.\n\nAn iomap direct-I/O caller may subsequently reexpand the iterator\u0027s\nbyte count and fall back to buffered I/O.  The reexpanded count then\nincludes bytes before the iterator\u0027s current segment, potentially\ncausing iterate_iovec() to read beyond the imported iovec array.\n\nIn a reproducer using an initial empty iovec followed by 10-byte and\n1015-byte segments, writev() returned 1015 instead of 1025 and KASAN\nreported an 8-byte read beyond the nine-element iovec allocation.\nSaving and restoring the iterator on the rejected-bio path makes\nwritev() return 1025 and eliminates the KASAN report.\n\nRestore the entire iterator rather than reverting a byte count:\nadvancing past an empty segment changes its position without consuming\nany bytes.\n\nLeave successful and partially accepted bio paths unchanged."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-20T05:51:50.097Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3a6381f254ed81d36f3896f61dcd5d830e08861d"
        },
        {
          "url": "https://git.kernel.org/stable/c/40d070cbb1906896d6fd65c39722d2411830ed9f"
        }
      ],
      "title": "block: restore the iterator when rejecting a misaligned bio",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99789",
    "datePublished": "2026-11-20T05:51:50.097Z",
    "dateReserved": "2026-09-25T10:25:14.434Z",
    "dateUpdated": "2026-11-20T05:51:50.097Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99789",
      "date": "2026-11-23",
      "epss": "0.00145",
      "percentile": "0.03757"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "block/bio.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "3a6381f254ed81d36f3896f61dcd5d830e08861d",
                    "status": "affected",
                    "version": "14b007e178811db72fbb1ebb3535160db6ec1e6a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "40d070cbb1906896d6fd65c39722d2411830ed9f",
                    "status": "affected",
                    "version": "14b007e178811db72fbb1ebb3535160db6ec1e6a",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "d44a97a3b1c00cc571245124e23e5ceb0a0225a0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7.3",
                    "status": "affected",
                    "version": "7.2.4",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "block/bio.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.3"
                  },
                  {
                    "lessThan": "7.3",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock: restore the iterator when rejecting a misaligned bio\n\nbio_iov_iter_get_pages() can extract some iovecs before encountering a\nmisaligned one.  It releases the pages and rejects the entire bio, but\nleaves the supplied iterator advanced.\n\nAn iomap direct-I/O caller may subsequently reexpand the iterator\u0027s\nbyte count and fall back to buffered I/O.  The reexpanded count then\nincludes bytes before the iterator\u0027s current segment, potentially\ncausing iterate_iovec() to read beyond the imported iovec array.\n\nIn a reproducer using an initial empty iovec followed by 10-byte and\n1015-byte segments, writev() returned 1015 instead of 1025 and KASAN\nreported an 8-byte read beyond the nine-element iovec allocation.\nSaving and restoring the iterator on the rejected-bio path makes\nwritev() return 1025 and eliminates the KASAN report.\n\nRestore the entire iterator rather than reverting a byte count:\nadvancing past an empty segment changes its position without consuming\nany bytes.\n\nLeave successful and partially accepted bio paths unchanged."
          }
        ],
        "id": "CVE-2026-99789",
        "lastModified": "2026-11-20T06:18:18.243",
        "metrics": {},
        "published": "2026-11-20T06:18:18.243",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3a6381f254ed81d36f3896f61dcd5d830e08861d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/40d070cbb1906896d6fd65c39722d2411830ed9f"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-20T08:03:45+00:00",
      "cve": "CVE-2026-99789",
      "id": "CVE-2026-99789",
      "initial_release_date": "2026-11-20T05:51:50.097000+00:00",
      "product_status:known_affected": "1",
      "product_status:known_not_affected": "203",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via out-of-bounds read in block I/O handling",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99789.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-20T17:39:24Z",
      "cve": "CVE-2026-99789",
      "id": "CVE-2026-99789",
      "initial_release_date": "2026-11-20T17:39:24Z",
      "product_status:known_not_affected": "351",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99789",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99789.json",
      "version": "2"
    }
  }
}



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…