KernelScan.io

HIGH Introduced in 4.16

md FlushUnit UAF

CVE-2026-93262

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.8HIGH

01

In the Linux kernel, the following vulnerability has been resolved: md/raid5-ppl: fix use-after-free in ppl_do_flush() The loop in ppl_do_flush() continues iterating after calling ppl_io_unit_finished(), touching io->pending_flushes and leading to a use-after-free. Add a break statement to stop the loop once io is freed.

02

Engine v0.6.0

Risk summary

A use-after-free in the RAID5 Partial Parity Log (PPL) flush path can be triggered by any process writing to a filesystem backed by a RAID5 array with PPL and write-back cache enabled. The freed memory may be reused, leading to kernel memory corruption with potential for privilege escalation or denial of service. Systems without RAID5 PPL are not affected.

Affecteddrivers/md/raid5-ppl.c (md/raid5 PPL)

Vulnerability analysis

In the RAID5 write-back cache flush path, a loop counts down pending disk flushes for an I/O request and releases the request object when the count hits zero, but then keeps iterating and accesses the freed memory. The fix stops the loop immediately once the object is released. Any write to a filesystem stored on a RAID5 array with Partial Parity Logging and write-back cache enabled can reach this code; only write access to the mounted filesystem is required to trigger the flaw, although an administrator must have enabled that RAID configuration.

03

BranchIntroducedFixed inPatch commit
5.104.165.10.270cf01f9413565
5.154.165.15.221e7505842f132
6.14.166.1.188b5123bf667ac
6.124.166.12.1108914c3d40870
6.184.166.18.52455b56209f96
6.64.166.6.157e77c80670f2c
7.24.167.2.6fcf21df7d3c5
mainline4.167.3371f7a1b392e
cip/5.104.165.10.271-cip78cf01f9413565
cip/6.14.166.1.189-cip61b5123bf667ac
cip/6.1-rt4.166.1.189-cip61-rt32b5123bf667ac
cip/6.124.166.12.111-cip328914c3d40870

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.111-cip32
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.268-cip77-rt34)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)