NetSight
unscored

CVE-2026-99675

In the Linux kernel, the following vulnerability has been resolved: nvmet: reject keep-alive timeouts that would overflow nvmet_set_feat_kato() and nvmet_alloc…

Impact

In the Linux kernel, the following vulnerability has been resolved: nvmet: reject keep-alive timeouts that would overflow nvmet_set_feat_kato() and nvmet_alloc_ctrl() convert the 32-bit millisecond KATO from the host to seconds with DIV_ROUND_UP(kato, 1000). The addition in DIV_ROUND_UP() is done in 32 bits, so any KATO above 4294966296 ms wraps around and rounds to 0 seconds. A Set Features command with KATO 0xffffffff then succeeds but disables the keep-alive timer: Get Features returns 0 and Keep Alive fails with Keep Alive Timeout Invalid. A Connect command with such a KATO creates a controller without a keep-alive timer. The converted value has more consumers that can overflow. Get Features multiplies it by 1000, and the timer paths multiply it by HZ in 32 bits and arm a delay that must not exceed MAX_JIFFY_OFFSET. Reject a KATO whose rounded value does not fit all of these. Return Keep Alive Timeout Invalid from both Set Features and Connect. Validate Set Features before stopping the current timer so a failed update leaves its timeout unchanged. Round in 64 bits. A KATO of 0 keeps its current meaning.

Affected products · Linux

ProductAffected versions
Linux
from a07b4970f464f13640e28e16dad6cfa33647cc99 before 69d4f0ace16c7ff00ff525152aed1383f82b1192
from a07b4970f464f13640e28e16dad6cfa33647cc99 before 884b47ced96c01e2689ee45dc42902d888c4b7f2
from a07b4970f464f13640e28e16dad6cfa33647cc99 before 96ae13f40ce5930cd58c43128e385131476f2a66
Versions 4.8, patch: 0, patch: 7.3.5

References