cifs: validate idmap key payload length
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eeac976b74b4f697cfc517187b7cbfd72652dbbc, Kernel 125b05ac8ca8758950e4369c1542d57a162f504c, Kernel 3a4a34a732e8a08309eed0a74314dbd9f2f1c972 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: cifs: validate idmap key payload length The cifs.idmap key type stores its payload length in key->datalen, which is limited to U16_MAX. Accepting a larger key payload truncates the recorded length and can make later users interpret the payload using inconsistent bounds. Reject oversized preparsed payloads before allocating or copying them. This keeps key->datalen consistent with the stored data for both inline and separately allocated idmap payloads.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=21fed0d5b763b94a7d1568c27d0cce892ab8d43e <eeac976b74b4f697cfc517187b7cbfd72652dbbc, >=21fed0d5b763b94a7d1568c27d0cce892ab8d43e <125b05ac8ca8758950e4369c1542d57a162f504c, >=21fed0d5b763b94a7d1568c27d0cce892ab8d43e <3a4a34a732e8a08309eed0a74314dbd9f2f1c972, >=21fed0d5b763b94a7d1568c27d0cce892ab8d43e <455488cd5054bcc59db40fa1cc2c004031a5b2a5, >=21fed0d5b763b94a7d1568c27d0cce892ab8d43e <6cfeef221ac00d63c07f6122f58e6159bde69ca0, >=21fed0d5b763b94a7d1568c27d0cce892ab8d43e <8b12f65d7caf16d124098cb4895a203367d35b57, >=21fed0d5b763b94a7d1568c27d0cce892ab8d43e <945f6cde6bcf8f08f6fa5df8882b1b9582e55efa, =3.2 | eeac976b74b4f697cfc517187b7cbfd72652dbbc, 125b05ac8ca8758950e4369c1542d57a162f504c, 3a4a34a732e8a08309eed0a74314dbd9f2f1c972, 455488cd5054bcc59db40fa1cc2c004031a5b2a5, 6cfeef221ac00d63c07f6122f58e6159bde69ca0, 8b12f65d7caf16d124098cb4895a203367d35b57, 945f6cde6bcf8f08f6fa5df8882b1b9582e55efa |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.53, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=3.2.0 <5.10.271 | 5.15.222, 6.1.189, 6.18.53, 6.6.158, 6.12.111, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket