CVE-2026-99675
nvmet: reject keep-alive timeouts that would overflow
- CVSS
- —
- EPSS
- 0.21% (p12)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
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.
Fixed in
5cd79a60cce6bd1f85da0046fb9b7b836a4acc3e · 67976264ee861b2010b2a7195380adf78d59b017 · 69d4f0ace16c7ff00ff525152aed1383f82b1192 · 884b47ced96c01e2689ee45dc42902d888c4b7f2 · 96ae13f40ce5930cd58c43128e385131476f2a66 · a830d5d3df6045e8163b581f7240a6d55c07b9c5 · aad973085ada67e277be338f1f01955f7e4e2800 · d33ba565748515e8358783e948fd2f7ec2f59a9a
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Linux | >=a07b4970f464f13640e28e16dad6cfa33647cc99, <5cd79a60cce6bd1f85da0046fb9b7b836a4acc3e | 5cd79a60cce6bd1f85da0046fb9b7b836a4acc3e |
| vendor | Linux | >=a07b4970f464f13640e28e16dad6cfa33647cc99, <67976264ee861b2010b2a7195380adf78d59b017 | 67976264ee861b2010b2a7195380adf78d59b017 |
| vendor | Linux | >=a07b4970f464f13640e28e16dad6cfa33647cc99, <69d4f0ace16c7ff00ff525152aed1383f82b1192 | 69d4f0ace16c7ff00ff525152aed1383f82b1192 |
| vendor | Linux | >=a07b4970f464f13640e28e16dad6cfa33647cc99, <884b47ced96c01e2689ee45dc42902d888c4b7f2 | 884b47ced96c01e2689ee45dc42902d888c4b7f2 |
| vendor | Linux | >=a07b4970f464f13640e28e16dad6cfa33647cc99, <96ae13f40ce5930cd58c43128e385131476f2a66 | 96ae13f40ce5930cd58c43128e385131476f2a66 |
| vendor | Linux | >=a07b4970f464f13640e28e16dad6cfa33647cc99, <a830d5d3df6045e8163b581f7240a6d55c07b9c5 | a830d5d3df6045e8163b581f7240a6d55c07b9c5 |
| vendor | Linux | >=a07b4970f464f13640e28e16dad6cfa33647cc99, <aad973085ada67e277be338f1f01955f7e4e2800 | aad973085ada67e277be338f1f01955f7e4e2800 |
| vendor | Linux | >=a07b4970f464f13640e28e16dad6cfa33647cc99, <d33ba565748515e8358783e948fd2f7ec2f59a9a | d33ba565748515e8358783e948fd2f7ec2f59a9a |
Sources
References
- https://git.kernel.org/stable/c/69d4f0ace16c7ff00ff525152aed1383f82b1192 other
- https://git.kernel.org/stable/c/884b47ced96c01e2689ee45dc42902d888c4b7f2 other
- https://git.kernel.org/stable/c/96ae13f40ce5930cd58c43128e385131476f2a66 other
- https://git.kernel.org/stable/c/a830d5d3df6045e8163b581f7240a6d55c07b9c5 other
- https://git.kernel.org/stable/c/5cd79a60cce6bd1f85da0046fb9b7b836a4acc3e other
- https://git.kernel.org/stable/c/aad973085ada67e277be338f1f01955f7e4e2800 other
- https://git.kernel.org/stable/c/d33ba565748515e8358783e948fd2f7ec2f59a9a other
- https://git.kernel.org/stable/c/67976264ee861b2010b2a7195380adf78d59b017 other