cve.bz

CVE-2022-2978 Use After Free

7.8 highEPSS 0.2%

High (7.8). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw use after free in the Linux kernel NILFS file system was found in the way user triggers function security_inode_alloc to fail with following call to function nilfs_mdt_destroy. A local user could use this flaw to crash the system or potentially escalate their privileges on the system.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
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-2978 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2978?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2978?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-2978 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-2978

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-2978](https://cve.bz/cve/badge/CVE-2022-2978.svg)](https://cve.bz/cve/CVE-2022-2978)

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 2.6.12 before 4.9.331
linux:linux_kernelfrom 4.10 before 4.14.296
linux:linux_kernelfrom 4.15 before 4.19.262
linux:linux_kernelfrom 4.20 before 5.4.218
linux:linux_kernelfrom 5.5 before 5.10.148
linux:linux_kernelfrom 5.11 before 5.15.73
linux:linux_kernelfrom 5.16 before 5.19.15
linux:linux_kernelfrom 6.0 before 6.0.1
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.269-1DLA-3245-1
Debian12, 13, 14linux6.0.2-1DEBIAN-CVE-2022-2978
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-2978
Ubuntu18.04:LTSlinux4.15.0-197.208UBUNTU-CVE-2022-2978 USN-5727-1
Ubuntu18.04:LTSlinux-aws4.15.0-1143.155UBUNTU-CVE-2022-2978 USN-5727-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1089.97~18.04.1UBUNTU-CVE-2022-2978 USN-5728-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1157.172UBUNTU-CVE-2022-2978 USN-5774-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1095.101~18.04.1UBUNTU-CVE-2022-2978 USN-5728-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1055.60UBUNTU-CVE-2022-2978 USN-5727-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-2978
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1138.154UBUNTU-CVE-2022-2978 USN-5727-2
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1093.102~18.04.1UBUNTU-CVE-2022-2978 USN-5728-3
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-132.148~18.04.1UBUNTU-CVE-2022-2978 USN-5728-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1037.42~18.04.1UBUNTU-CVE-2022-2978 USN-5728-1
68 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 morekernel-default-base5.3.18-150200.24.139.1.150200.9.65.2SUSE-SU-2022:4589-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.139.1SUSE-SU-2022:4589-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.221.1SUSE-SU-2025:03626-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.221.1.150300.18.132.1SUSE-SU-2025:03626-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.139.1SUSE-SU-2022:4589-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.221.1SUSE-SU-2025:03626-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 2 morekernel-default5.3.18-150300.59.101.1SUSE-SU-2022:4053-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.179.1SUSE-SU-2025:03628-1
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.33.2SUSE-SU-2022:4072-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.179.1SUSE-SU-2025:03628-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.179.1.150400.24.92.1SUSE-SU-2025:03628-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.124.1SUSE-SU-2025:03615-1
38 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.101.1SUSE-SU-2022:4053-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.83.1SUSE-SU-2022:3897-1
openSUSELeap 15.3, Leap Micro 5.2kernel-default-base5.3.18-150300.59.101.1.150300.18.58.1SUSE-SU-2022:4053-1
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.101.1SUSE-SU-2022:4053-1
openSUSELeap 15.4dtb-aarch64, kernel-syms, kernel-obs-qa and 2 more5.14.21-150400.24.33.1SUSE-SU-2022:4072-1
openSUSELeap 15.4kernel-64kb, kernel-docs, kernel-debug and 3 more5.14.21-150400.24.33.2SUSE-SU-2022:4072-1
openSUSELeap 15.4kernel-azure5.14.21-150400.14.21.2SUSE-SU-2022:3998-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.33.2.150400.24.11.4SUSE-SU-2022:4072-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.5.1SUSE-SU-2022:4617-1
openSUSELeap 15.4kernel-syms-azure, kernel-source-azure5.14.21-150400.14.21.1SUSE-SU-2022:3998-1
openSUSELeap Micro 5.2kernel-default5.3.18-150300.59.101.1SUSE-SU-2022:4053-1
openSUSELeap Micro 5.2kernel-rt5.3.18-150300.109.1SUSE-SU-2022:3929-1

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

No shipped kernel version was seen to be affected by this problem. These files are not built in our source code.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelOut of support scope
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-2978.

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