Description
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.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 69d4f0ace16c7ff00ff525152aed1383f82b1192; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 884b47ced96c01e2689ee45dc42902d888c4b7f2; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 96ae13f40ce5930cd58c43128e385131476f2a66 |
| Linux | Linux | 4.8 |
References
Timeline
- Published
- Nov 20, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Received