CVE-2022-39188 Race condition in n/a

Medium 4.7 Published Updated

A race condition in the Linux kernel allows device drivers to free pages with stale TLB entries, potentially leading to undefined behavior or memory corruption.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-39188?

CVE-2022-39188 is a medium-severity vulnerability in Debian Debian Linux, published on 2 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in include/asm-generic/tlb.h in the Linux kernel before 5.19. Because of a race condition (unmap_mapping_range versus munmap), a device driver can free a page while it still has stale TLB entries. This only occurs in situations with VM_PFNMAP VMAs.

Weakness: CWE-362

Which versions are affected by CVE-2022-39188?

It affects 2 products.

Linux distribution packages (9)
kgraft-patch-SLE12-SP4_Update_27 SUSE:Linux Enterprise Live Patching 12 SP4All versions5-2.2
kgraft-patch-SLE12-SP4_Update_28 SUSE:Linux Enterprise Live Patching 12 SP4All versions3-2.2
kgraft-patch-SLE12-SP4_Update_29 SUSE:Linux Enterprise Live Patching 12 SP4All versions3-2.2
kgraft-patch-SLE12-SP4_Update_30 SUSE:Linux Enterprise Live Patching 12 SP4All versions2-2.2
kgraft-patch-SLE12-SP5_Update_35 SUSE:Linux Enterprise Live Patching 12 SP5All versions2-2.2
kernel-livepatch-SLE15_Update_30 SUSE:Linux Enterprise Live Patching 15All versions5-150000.2.2
kernel-livepatch-SLE15_Update_31 SUSE:Linux Enterprise Live Patching 15All versions3-150000.2.2
kernel-livepatch-SLE15_Update_32 SUSE:Linux Enterprise Live Patching 15All versions3-150000.2.2
kernel-livepatch-SLE15-SP4_Update_2 SUSE:Linux Enterprise Live Patching 15 SP4All versions3-150400.2.2

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2022-39188?

Apply the vendor's patch.

Is CVE-2022-39188 being exploited?

There is no known exploitation of CVE-2022-39188 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-10858, DEBIAN-CVE-2022-39188, GHSA-4qqj-hc3p-xwfg, OESA-2022-1968, SUSE-SU-2022:3346-1, SUSE-SU-2022:3362-1 and 4 more.

Is CVE-2022-39188 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free