KEYS: fix overflow in keyctl_pkey_params_get_2()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.260, 5.15.211, 6.1.177, 6.6.144, 6.12.95, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 00d60fd3b93219ea854220f0fd264b86398cbc53 · fixed in 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a; From 00d60fd3b93219ea854220f0fd264b86398cbc53 · fixed in b1e247338bc71826a2d2def3e0874c34749df69a; From 00d60fd3b93219ea854220f0fd264b86398cbc53 · fixed in 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3; From 00d60fd3b93219ea854220f0fd264b86398cbc53 · fixed in 5966e4e2ba213ab7ad559166152eb4f1f170dd2c; From 00d60fd3b93219ea854220f0fd264b86398cbc53 · fixed in 5165f1cc727f1322456735df212d8e26ec237a8d; From 00d60fd3b93219ea854220f0fd264b86398cbc53 · fixed in b11c1fa32667692a2c0566e10163758e786e430c; From 00d60fd3b93219ea854220f0fd264b86398cbc53 · fixed in 670fc6a311ed321522b7fff92cf0fc376b4f6e78; From 00d60fd3b93219ea854220f0fd264b86398cbc53 · fixed in cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b
- Linux Linux
4.20
- KernelLinux
From 4.20.0 · fixed in 5.10.260; From 5.11.0 · fixed in 5.15.211; From 5.16.0 · fixed in 6.1.177; From 6.2.0 · fixed in 6.6.144; From 6.7.0 · fixed in 6.12.95; From 6.13.0 · fixed in 6.18.38; From 6.19.0 · fixed in 7.1.3
References 8
git.kernel.org
- stable/c/622ec2dcd59f21623f2a7ab773c80ceb7d555e3a
- stable/c/b1e247338bc71826a2d2def3e0874c34749df69a
- stable/c/0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3
- stable/c/5966e4e2ba213ab7ad559166152eb4f1f170dd2c
- stable/c/5165f1cc727f1322456735df212d8e26ec237a8d
- stable/c/b11c1fa32667692a2c0566e10163758e786e430c
- stable/c/670fc6a311ed321522b7fff92cf0fc376b4f6e78
- stable/c/cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b