KEYS: fix overflow in keyctl_pkey_params_get_2()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3, Kernel 5165f1cc727f1322456735df212d8e26ec237a8d, Kernel 5966e4e2ba213ab7ad559166152eb4f1f170dd2c and 5 more.
In the Linux kernel, the following vulnerability has been resolved: KEYS: fix overflow in keyctl_pkey_params_get_2() The length for the internal output buffer is calculated incorrectly, which can result overflow when a too small buffer is provided. Fix the bug by allocating internal output with the size of the maximum length of the cryptographic primitive instead of caller provided size.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.20, >=00d60fd3b93219ea854220f0fd264b86398cbc53 <0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3, >=00d60fd3b93219ea854220f0fd264b86398cbc53 <5165f1cc727f1322456735df212d8e26ec237a8d, >=00d60fd3b93219ea854220f0fd264b86398cbc53 <5966e4e2ba213ab7ad559166152eb4f1f170dd2c, >=00d60fd3b93219ea854220f0fd264b86398cbc53 <622ec2dcd59f21623f2a7ab773c80ceb7d555e3a, >=00d60fd3b93219ea854220f0fd264b86398cbc53 <670fc6a311ed321522b7fff92cf0fc376b4f6e78, >=00d60fd3b93219ea854220f0fd264b86398cbc53 <b11c1fa32667692a2c0566e10163758e786e430c, >=00d60fd3b93219ea854220f0fd264b86398cbc53 <b1e247338bc71826a2d2def3e0874c34749df69a, >=00d60fd3b93219ea854220f0fd264b86398cbc53 <cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b | 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3, 5165f1cc727f1322456735df212d8e26ec237a8d, 5966e4e2ba213ab7ad559166152eb4f1f170dd2c, 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a, 670fc6a311ed321522b7fff92cf0fc376b4f6e78, b11c1fa32667692a2c0566e10163758e786e430c, b1e247338bc71826a2d2def3e0874c34749df69a, cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket