CVE-2022-1998 json
A use after free in the Linux kernel File System notify functionality was found in the way user triggers copy_info_records_to_user() call t…
published 2022-06-09 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-25259
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
A use after free in the Linux kernel File System notify functionality was found in the way user triggers copy_info_records_to_user() call to fail in copy_event_to_user(). A local user could use this flaw to crash the system or potentially escalate their privileges on the system.
Patch / fix
- linux linux_kernel 5.10.97, 5.15.20, 5.16.6
- linux Debian 14, Debian 13, Debian 12 5.16.7-1
debian advisories DEBIAN-CVE-2022-1998
- linux-aws-5.13 Ubuntu 20.04 LTS 5.13.0-1023.25~20.04.1
- linux-gcp-5.13 Ubuntu 20.04 LTS 5.13.0-1025.30~20.04.1
- linux-hwe-5.13 Ubuntu 20.04 LTS 5.13.0-41.46~20.04.1
- linux-oem-5.14 Ubuntu 20.04 LTS 5.14.0-1027.30
- linux-azure-5.13 Ubuntu 20.04 LTS 5.13.0-1023.27~20.04.1
- linux-intel-5.13 Ubuntu 20.04 LTS 5.13.0-1014.15
- linux-oracle-5.13 Ubuntu 20.04 LTS 5.13.0-1028.33~20.04.1
- linux-intel-iotg-5.15 Ubuntu 20.04 LTS 5.15.0-1008.11~20.04.1
ubuntu advisories UBUNTU-CVE-2022-1998
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 RHEL 9 5.14.0-162.6.1.el9_1
- perf RHEL 9 5.14.0-162.6.1.el9_1
- bpftool RHEL 9 5.14.0-162.6.1.el9_1
- kernel-core RHEL 9 5.14.0-162.6.1.el9_1
- kernel-tools RHEL 9 5.14.0-162.6.1.el9_1
- python3-perf RHEL 9 5.14.0-162.6.1.el9_1
- kernel-modules RHEL 9 5.14.0-162.6.1.el9_1
- kernel-zfcpdump RHEL 9 5.14.0-162.6.1.el9_1
red hat advisories RHSA-2022:8267RHSA-2022:7933
- kernel-azure SLE Module for Public Cloud 15 SP4, openSUSE Leap 15.4 5.14.21-150400.14.7.1
- kernel-syms-azure SLE Module for Public Cloud 15 SP4, openSUSE Leap 15.4 5.14.21-150400.14.7.1
- kernel-source-azure SLE Module for Public Cloud 15 SP4, openSUSE Leap 15.4 5.14.21-150400.14.7.1
- dtb-aarch64 openSUSE Leap 15.4 5.14.21-150400.24.11.1
- kernel-64kb SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 5.14.21-150400.24.11.1
- kernel-syms SLE Module for Development Tools 15 SP4, openSUSE Leap 15.4 5.14.21-150400.24.11.1
- kernel-obs-qa openSUSE Leap 15.4 5.14.21-150400.24.11.1
- kernel-source SLE Module for Development Tools 15 SP4, SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 5.14.21-150400.24.11.1
suse advisories SUSE-SU-2022:2615-1SUSE-SU-2022:2520-1
- kernel-rt AlmaLinux 9 5.14.0-162.6.1.rt21.168.el9_1
- kernel-rt-kvm AlmaLinux 9 5.14.0-162.6.1.rt21.168.el9_1
- kernel-rt-core AlmaLinux 9 5.14.0-162.6.1.rt21.168.el9_1
- kernel-rt-modules AlmaLinux 9 5.14.0-162.6.1.rt21.168.el9_1
- kernel-rt-debug-kvm AlmaLinux 9 5.14.0-162.6.1.rt21.168.el9_1
- kernel-rt-debug-core AlmaLinux 9 5.14.0-162.6.1.rt21.168.el9_1
- kernel-rt-debug-modules AlmaLinux 9 5.14.0-162.6.1.rt21.168.el9_1
- kernel-rt-modules-extra AlmaLinux 9 5.14.0-162.6.1.rt21.168.el9_1
almalinux advisories ALSA-2022:7933ALSA-2022:8267
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-1998 updated cvss 6.4
kernel: fanotify misuses fd_install() which could lead to use-after-free
-
Red Hat CodeReady Linux Builder (v. 9) kernel-debuginfo-common-s390x 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-x86_64 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-aarch64 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-ppc64le 5.14.0-162.6.1.el9_1 Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-162.6.1.el9_1, kernel-devel-matched 5.14.0-162.6.1.el9_1, kernel-debug-devel-matched 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-s390x 5.14.0-162.6.1.el9_1, kernel-zfcpdump-devel-matched 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-x86_64 5.14.0-162.6.1.el9_1, +2 more Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-162.6.1.el9_1, bpftool 5.14.0-162.6.1.el9_1, kernel-core 5.14.0-162.6.1.el9_1, kernel-tools 5.14.0-162.6.1.el9_1, python3-perf 5.14.0-162.6.1.el9_1, kernel-modules 5.14.0-162.6.1.el9_1, +14 morefixed: vendor fix RHSA-2022:8267
-
Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-core 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-modules 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-debug-core 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-debug-modules 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-modules-extra 5.14.0-162.6.1.rt21.168.el9_1, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-kvm 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-core 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-modules 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-debug-kvm 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-debug-core 5.14.0-162.6.1.rt21.168.el9_1, +4 morefixed: vendor fix RHSA-2022:7933
-
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 morenot 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
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- n/a Kernel
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/notify/fanotify/fanotify_user.c?h=v5.17&id=ee12595147ac
mailing-list, patch, vendor-advisory
-
seclists.org
/oss-sec/2022/q1/99
mailing-list, patch, third-party-advisory
-
security.netapp.com
/advisory/ntap-20220707-0009/
third-party-advisory
Sources
- CVE List CVE-2022-1998
- NVD CVE-2022-1998
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.