Skip to content
Heist/ feed
Back to feed
HighFix available

md/raid5: validate payload size before accessing journal metadata

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: md/raid5: validate payload size before accessing journal metadata r5c_recovery_analyze_meta_block() and r5l_recovery_verify_data_checksum_for_mb() iterate over payloads in a journal metadata block using on-disk payload size fields without validating them against the remaining space in the metadata block. A corrupted journal contains payload sizes extending beyond the PAGE_SIZE boundary can cause out-of-bounds reads when accessing payload fields or computing offsets. Add bounds validation for each payload type to ensure the full payload fits within meta_size before processing.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.258, 5.15.209, 6.1.175, 6.12.86, 6.18.27, 6.6.140, 7.0.4
CVEs
CVE-2026-46070
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:04 UTC · Revision 1

Source evidence

md/raid5: validate payload size before accessing journal metadata

core-osv · Original source

Published 27 May 2026, 12:57 UTC

In the Linux kernel, the following vulnerability has been resolved: md/raid5: validate payload size before accessing journal metadata r5c_recovery_analyze_meta_block() and r5l_recovery_verify_data_checksum_for_mb() iterate over payloads in a journal metadata block using on-disk payload size fields without validating them against the remaining space in the metadata block. A corrupted journal contains payload sizes extending beyond the PAGE_SIZE boundary can cause out-of-bounds reads when accessing payload fields or computing offsets. Add bounds validation for each payload type to ensure the full payload fits within meta_size before processing.

osv:CVE-2026-46070

Kernel

Fixed versions: 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.86, 6.18.27, 7.0.4

Complete source record
{
  "id": "12aee1a27a1a00037f1217ea27c8087217e74b40990b500efe229876f11764df",
  "url": "https://osv.dev/vulnerability/CVE-2026-46070",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "md/raid5: validate payload size before accessing journal metadata",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: md/raid5: validate payload size before accessing journal metadata r5c_recovery_analyze_meta_block() and r5l_recovery_verify_data_checksum_for_mb() iterate over payloads in a journal metadata block using on-disk payload size fields without validating them against the remaining space in the metadata block. A corrupted journal contains payload sizes extending beyond the PAGE_SIZE boundary can cause out-of-bounds reads when accessing payload fields or computing offsets. Add bounds validation for each payload type to ensure the full payload fits within meta_size before processing.",
    "evidence": "osv:CVE-2026-46070",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.258",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.209",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.175",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.140",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.27",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-46070",
      "aliases": [
        "CVE-2026-46070"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b4c625c67362b3940f619c1a836b4e8329106658"
                },
                {
                  "fixed": "c96c6f01d84b5c67db1bf1cc8591c0b7146826fc"
                },
                {
                  "fixed": "ef4851d8324fd978ca1ff9ec76a275438f887743"
                },
                {
                  "fixed": "28d3ff7109c66e99dc1b7cddacb5c760849620ef"
                },
                {
                  "fixed": "33698bd1b2db9764a29df7751533d33967ff5c98"
                },
                {
                  "fixed": "c3a1cf78bd1bbb51b2cc5189b4743056553c1e0e"
                },
                {
                  "fixed": "73ce72edd113374801045924d4417199963f73a3"
                },
                {
                  "fixed": "406aa86394ead347c47428fb51b6359bdaa2257d"
                },
                {
                  "fixed": "b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46070.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.10.0"
                },
                {
                  "fixed": "5.10.258"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.209"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.175"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.140"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.27"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46070.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.188800665Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-784472.html",
        "https://git.kernel.org/stable/c/28d3ff7109c66e99dc1b7cddacb5c760849620ef",
        "https://git.kernel.org/stable/c/33698bd1b2db9764a29df7751533d33967ff5c98",
        "https://git.kernel.org/stable/c/406aa86394ead347c47428fb51b6359bdaa2257d",
        "https://git.kernel.org/stable/c/73ce72edd113374801045924d4417199963f73a3",
        "https://git.kernel.org/stable/c/b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9",
        "https://git.kernel.org/stable/c/c3a1cf78bd1bbb51b2cc5189b4743056553c1e0e",
        "https://git.kernel.org/stable/c/c96c6f01d84b5c67db1bf1cc8591c0b7146826fc",
        "https://git.kernel.org/stable/c/ef4851d8324fd978ca1ff9ec76a275438f887743",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46070.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-46070",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46070.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-46070",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504481,
  "published_at": "2026-05-27T12:57:54.345+00:00"
}