Vulnerability · Published Jun 9, 2022 · Assigned by redhat
CVE-2022-1998
High 7.8
In plain English
A high-severity use-after-free in Kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.3%top 73.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | bpftool | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-core | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-debug | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-debug-modules | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-debug-modules-extra | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-devel | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-devel-matched | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-doc | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-headers | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-modules | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-modules-extra | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-rt | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-core | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-debug | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-debug-core | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-debug-devel | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-debug-kvm | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-debug-modules | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-debug-modules-extra | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-devel | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-kvm | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-modules | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-rt-modules-extra | 5.14.0-162.6.1.rt21.168.el9_1 | ALSA-2022:7933 |
| AlmaLinux:9 | kernel-tools | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-tools-libs | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-tools-libs-devel | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-zfcpdump | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-zfcpdump-core | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-zfcpdump-devel | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-zfcpdump-devel-matched | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-zfcpdump-modules | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | kernel-zfcpdump-modules-extra | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | perf | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| AlmaLinux:9 | python3-perf | 5.14.0-162.6.1.el9_1 | ALSA-2022:8267 |
| Debian:12 | linux | 5.16.7-1 | DEBIAN-CVE-2022-1998 |
| Debian:13 | linux | 5.16.7-1 | DEBIAN-CVE-2022-1998 |
| Debian:14 | linux | 5.16.7-1 | DEBIAN-CVE-2022-1998 |
Affected products (as reported)
Weakness: CWE-416
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/notify/fanotify/fanotify_user.c?h=v5.17&id=ee12595147ac1fbfb5bcb23837e26dd58d94b15d x_refsource_MISC
- https://seclists.org/oss-sec/2022/q1/99 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220707-0009/ x_refsource_CONFIRM