All reports
Medium

kernel: ata: sata_dwc_460ex: fix infinite loop in NCQ tag completion bit-scanning

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-68449

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: ata: sata_dwc_460ex: fix infinite loop in NCQ tag completion bit-scanning The hand-rolled bit-scanning loop in the NCQ completion path has an infinite loop bug. When tag_mask has only high bits set (e.g. 0x80000000), the inner while loop left-shifts tag_mask until it overflows to 0. At that point !(0 & 1) is always true and 0 <<= 1 stays 0, causing an infinite loop in hardirq context with a spinlock held. Replace the open-coded bit-scanning with __ffs() which correctly finds the least significant set bit and is bounded by the width of the argument.

A flaw was found in the Linux kernel's sata_dwc_460ex component. A hand-rolled bit-scanning loop in the NCQ tag completion path contains an infinite loop bug. When a specific tag_mask value is processed, the loop can overflow, causing an infinite loop in a hard interrupt request (hardirq) context while a spinlock is held. This can lead to a system hang or crash, resulting in a Denial of Service (DoS).