nvme-multipath: fix underflow in ANA log bounds checks
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 03a0c21f0fd7a872953aae5714303d8f38d1e567, Kernel 08ab1e2dddf26248d5e6246046096b281cf5a319, Kernel 3045128294d347fd38542ad6e174b1b34d9c0751 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: nvme-multipath: fix underflow in ANA log bounds checks The number of ANA groups advertised through Identify Controller sizes the ANA log buffer. The ANA log header and group descriptors independently supply the number of groups and namespace IDs to parse. Both bounds checks subtract an untrusted object size from ana_log_size before comparing the current offset. If the object is larger than the buffer, the size_t subtraction underflows and lets the parser read beyond ana_log_buf. Check the current offset before the first subtraction and compare each object size with the remaining buffer instead. This rejects inconsistent ANA data before dereferencing a truncated group descriptor or walking an oversized namespace ID array.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.19, >=0d0b660f214dc4905db7b6bc998bad0c16dfb1ba <03a0c21f0fd7a872953aae5714303d8f38d1e567, >=0d0b660f214dc4905db7b6bc998bad0c16dfb1ba <08ab1e2dddf26248d5e6246046096b281cf5a319, >=0d0b660f214dc4905db7b6bc998bad0c16dfb1ba <3045128294d347fd38542ad6e174b1b34d9c0751, >=0d0b660f214dc4905db7b6bc998bad0c16dfb1ba <49e8a3224c91fd5fbf22f4adcca6c8209cfdd6fe, >=0d0b660f214dc4905db7b6bc998bad0c16dfb1ba <52c4294f3c26ec9db0e6f2e599096673d6f0f34d, >=0d0b660f214dc4905db7b6bc998bad0c16dfb1ba <63fa2d9c9c37020bd2703fe2a6a38027b5abeb15, >=0d0b660f214dc4905db7b6bc998bad0c16dfb1ba <e5cdb0c0a51e8ff49914ae16ef5360010c40cc85, >=0d0b660f214dc4905db7b6bc998bad0c16dfb1ba <fe6e003c132b7c204f63e7a7ec422904fa3141b6 | 03a0c21f0fd7a872953aae5714303d8f38d1e567, 08ab1e2dddf26248d5e6246046096b281cf5a319, 3045128294d347fd38542ad6e174b1b34d9c0751, 49e8a3224c91fd5fbf22f4adcca6c8209cfdd6fe, 52c4294f3c26ec9db0e6f2e599096673d6f0f34d, 63fa2d9c9c37020bd2703fe2a6a38027b5abeb15, e5cdb0c0a51e8ff49914ae16ef5360010c40cc85, fe6e003c132b7c204f63e7a7ec422904fa3141b6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket