cve.bz

CVE-2022-3104 linux linux kernel: NULL Pointer Dereference

5.5 mediumEPSS 0.3%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in the Linux kernel through 5.16-rc6. lkdtm_ARRAY_BOUNDS in drivers/misc/lkdtm/bugs.c lacks check of the return value of kmalloc() and will cause the null pointer dereference.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-3104 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3104?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3104?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-3104 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-3104

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-3104](https://cve.bz/cve/badge/CVE-2022-3104.svg)](https://cve.bz/cve/CVE-2022-3104)

HTML:

<a href="https://cve.bz/cve/CVE-2022-3104"><img src="https://cve.bz/cve/badge/CVE-2022-3104.svg" alt="CVE-2022-3104"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.16.0
linux:linux_kernel5.16.0
linux:linux_kernel5.16.0:rc1
linux:linux_kernel5.16.0:rc2
linux:linux_kernel5.16.0:rc3
linux:linux_kernel5.16.0:rc4
linux:linux_kernel5.16.0:rc5
linux:linux_kernel5.16.0:rc6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.18.5-1DEBIAN-CVE-2022-3104
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-3104
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1020.24~20.04.1UBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1020.25~20.04.1UBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1020.25~20.04.1.1UBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1018.24~20.04.1UBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-gke-5.155.15.0-1016.19~20.04.1UBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-48.54~20.04.1UBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1016.21~20.04.1UBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-oem-5.145.14.0-1045.51UBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1018.23~20.04.1UBUNTU-CVE-2022-3104
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 20 moreno fix listedUBUNTU-CVE-2022-3104
17 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 2 morekernel-default5.14.21-150400.24.41.1SUSE-SU-2023:0149-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4-RT_Update_21-150400.1.3.1SUSE-SU-2023:0147-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_71-150400.9.3.1SUSE-SU-2023:0149-1
SUSELinux Enterprise Micro 5.3kernel-rt5.14.21-150400.15.8.1SUSE-SU-2023:0147-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4kernel-default-base5.14.21-150400.24.41.1.150400.24.15.1SUSE-SU-2023:0149-1
SUSELinux Enterprise Module for Basesystem 15 SP4kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150400.24.41.1SUSE-SU-2023:0149-1
SUSELinux Enterprise Module for Development Tools 15 SP4kernel-docs, kernel-syms, kernel-source and 1 more5.14.21-150400.24.41.1SUSE-SU-2023:0149-1
SUSELinux Enterprise Module for Public Cloud 15 SP4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.31.1SUSE-SU-2023:0146-1
SUSEReal Time Module 15 SP4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.8.1SUSE-SU-2023:0147-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.41.1SUSE-SU-2023:0149-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.31.1SUSE-SU-2023:0146-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.8.1SUSE-SU-2023:0147-1
openSUSELeap 15.4, Leap Micro 5.3kernel-default-base5.14.21-150400.24.41.1.150400.24.15.1SUSE-SU-2023:0149-1
openSUSELeap Micro 5.3kernel-default5.14.21-150400.24.41.1SUSE-SU-2023:0149-1
openSUSELeap Micro 5.3kernel-rt5.14.21-150400.15.8.1SUSE-SU-2023:0147-1
Azure Linux2kernel5.15.86.1-1AZL-11605

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-3104.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON