An issue was discovered in the Linux kernel through 5.19.8. drivers/firmware/efi/capsule-loader.c has a race condition with a resultant use-after-free.
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
CVE-2022-40307 - Medium Severity Vulnerability
Vulnerable Library - linux-yoctov5.4.51
Yocto Linux Embedded kernel
Library home page: https://git.yoctoproject.org/git/linux-yocto
Found in HEAD commit: ce49083a1c14be2d13cb5e878257d293e6c748bc
Found in base branch: master
Vulnerable Source Files (2)
/drivers/firmware/efi/capsule-loader.c /drivers/firmware/efi/capsule-loader.c
Vulnerability Details
An issue was discovered in the Linux kernel through 5.19.8. drivers/firmware/efi/capsule-loader.c has a race condition with a resultant use-after-free.
Publish Date: 2022-09-09
URL: CVE-2022-40307
CVSS 3 Score Details (4.7)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.linuxkernelcves.com/cves/CVE-2022-40307
Release Date: 2022-09-09
Fix Resolution: v4.14.293,v4.19.258,v5.4.213,v5.10.143,v5.15.68,v5.19.9,v6.0-rc5
Step up your Open Source Security Game with Mend here