{
  "affected": [
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:12",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:13",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:14",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.3.6-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "details": "In the Linux kernel, the following vulnerability has been resolved:  md/raid5: reject a per-device size smaller than one chunk  Both raid5_run() and raid5_resize() align the per-device size down to a whole multiple of the chunk size:  \tmddev-\u003edev_sectors \u0026= ~(chunk_sectors - 1);  Neither checks the result, so a size smaller than one chunk silently becomes zero.  In raid5_run() that is harmless: the array size is derived from the same zero, so the disk just ends up with no capacity.  In raid5_resize() it leaves the array inconsistent -- mddev-\u003edev_sectors becomes zero, while mddev-\u003earray_sectors and the gendisk capacity keep the previous. A later raid4/raid5 -\u003e raid0 takeover copies the zero into every rdev-\u003esectors (raid0_takeover_raid45()), so create_strip_zones() builds a strip zone table whose zone_end is zero. Any read then passes bio_check_eod() against the stale capacity and hits the BUG() in find_zone():   kernel BUG at drivers/md/raid0.c:318!  Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI  Call Trace:    raid0_make_request    md_handle_request    submit_bio_noacct_nocheck    block_read_full_folio    read_part_sector    bdev_disk_changed    bdev_open  Reject a size smaller than one chunk in both functions, so that a running raid4/raid5 array always has mddev-\u003edev_sectors \u003e= one chunk.  The check is done where the value takes effect, not where it is assigned. mddev-\u003edev_sectors is written from several places, and none of them can tell whether the value is usable: the chunk size may still change later. raid5_run() and raid5_resize() are where every input is final, so one check in each covers them all.",
  "id": "DEBIAN-CVE-2026-139679",
  "modified": "2026-12-01T03:47:34.380236454Z",
  "published": "2026-11-30T14:19:55.867Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-139679"
    }
  ],
  "upstream": [
    "CVE-2026-139679"
  ]
}