CVE-2026-139679

Not scored yetLast modified Nov 30, 2026

Description

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:

mddev->dev_sectors &= ~(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->dev_sectors becomes zero, while mddev->array_sectors and the gendisk capacity keep the previous. A later raid4/raid5 -> raid0 takeover copies the zero into every rdev->sectors (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->dev_sectors >= one chunk.

The check is done where the value takes effect, not where it is assigned. mddev->dev_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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= eea136d69f9facb2d3807386bbac1e6b1161795f, < ffee6e3374c17a75cb4574a3fd289272dc64a090; >= eea136d69f9facb2d3807386bbac1e6b1161795f, < 58a851e4fa0921f0293568a7031ff6f9193ad167; >= eea136d69f9facb2d3807386bbac1e6b1161795f, < 45df58239521644da57fa99c264ed2f14e8f3f21; >= eea136d69f9facb2d3807386bbac1e6b1161795f, < 370ca0760b18c64592a258bcb057ff0a2531aabf
LinuxLinux3.11

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139687.5Insufficient validation of untrusted input in DevTools in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who convinced a useCVE-2026-139680In the Linux kernel, the following vulnerability has been resolved: md/raid5: setup_conf: Fix null-ptr-def in error handling path For raidCVE-2026-139681In the Linux kernel, the following vulnerability has been resolved: md/raid5: reject raid4/5 arrays with too few disks raid4 and raid5 reqCVE-2026-139682In the Linux kernel, the following vulnerability has been resolved: md/raid5: don't BUG() on an inconsistent reshape state from the superblCVE-2026-1396837.8In the Linux kernel, the following vulnerability has been resolved: md: reject v0.90 arrays with too many devices The v0.90 superblock hasCVE-2026-139684In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix missing wakeup in wait_barrier_nolock Fuzz testing trigCVE-2026-139685In the Linux kernel, the following vulnerability has been resolved: staging: iio: adc: ad7816: Fix DMA safety issues in SPI transfers The CVE-2026-139686In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump Commit 58bb50CVE-2026-139687In the Linux kernel, the following vulnerability has been resolved: cxl/hdm: Reject switch decoder interleave ways that overflow targets SCVE-2026-139688In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: sdio: zero the padding added to a TX transfer rtw_sdio_wrCVE-2026-139689In the Linux kernel, the following vulnerability has been resolved: platform/x86: Add ACPI_COMPANION() NULL check in topstar_acpi_probe AdCVE-2026-139695.3Uninitialized Use in UI in Google Chrome on Android prior to 150.0.7871.47 allowed a remote attacker who had compromised the renderer proces
CVE-2026-139679: Unscored | Vulnix