Skip to content
Fencer Vulns
medium 4.7

CVE-2022-40307 json

An issue was discovered in the Linux kernel through 5.19.8.

published 2022-09-09 4 y ago modified 2026-10-14 25 d ago also EUVD-2022-43604

cvss
4.7
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 11%
public exploits
0
none known

Summary

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.

Patch / fix

  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1
  • linux Debian 14, Debian 13, Debian 12 5.19.11-1

debian advisories DEBIAN-CVE-2022-40307

  • linux Ubuntu 18.04 LTS 4.15.0-201.212
  • linux Ubuntu 20.04 LTS 5.4.0-136.153
  • linux Ubuntu 22.04 LTS 5.15.0-57.63
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1147.159
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1093.101
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1027.31
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1097.106
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1026.33

ubuntu advisories UBUNTU-CVE-2022-40307

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-syms SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 4.12.14-95.114.1
  • kernel-source SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 4.12.14-95.114.1
  • kernel-default SLES for SAP 12 SP4, SLES 12 SP4-LTSS, SLE Live Patching 12 SP4 +3 more 4.12.14-95.114.1
  • kernel-rt SLE Real Time 12 SP5 4.12.14-10.109.1
  • kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.109.1
  • kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.109.1
  • kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.109.1
  • kernel-syms SLES 12 SP3-BCL 4.4.180-94.182.1

suse advisories SUSE-SU-2022:4615-1SUSE-SU-2022:4614-1SUSE-SU-2022:4611-1SUSE-SU-2022:4589-1SUSE-SU-2022:4574-1SUSE-SU-2022:4573-1

  • kernel CBL-Mariner 2.0 5.15.70.1-1

azure linux advisories AZL-10904

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • linux-lts Arch Linux 6.2-1
  • linux-hardened Arch Linux 6.2-1
  • linux-zen Arch Linux 6.2-1
  • linux Arch Linux 6.2-1

arch linux advisories AVG-2834AVG-2835AVG-2836AVG-2837

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-40307 updated cvss 4.7

kernel: use-after-free in efi_capsule_write in capsule-loader.c

  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-166-10 updated cvss 4.7

Siemens SIMATIC S7-1500 TM MFP BIOS

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-166-11 updated cvss 4.7

Siemens SIMATIC S7-1500 TM MFP Linux Kernel

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.