{"id":"CVE-2022-1998","details":"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.","modified":"2026-08-12T03:30:14.362671703Z","published":"2022-06-09T14:46:48Z","related":["ALSA-2022:7933","ALSA-2022:8267","SUSE-SU-2022:2520-1","SUSE-SU-2022:2615-1"],"database_specific":{"cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1998.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/notify/fanotify/fanotify_user.c?h=v5.17&id=ee12595147ac1fbfb5bcb23837e26dd58d94b15d"},{"type":"WEB","url":"https://seclists.org/oss-sec/2022/q1/99"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1998.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1998"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220707-0009/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"dfd42facf1e4ada021b939b4e19c935dcdd55566"},{"last_affected":"dfd42facf1e4ada021b939b4e19c935dcdd55566"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"Linux kernel 5.17-rc3"},{"last_affected":"Linux kernel 5.17-rc3"}]}}],"versions":["Linux kernel 5.17-rc3","v5.17-rc3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1998.json"}}],"schema_version":"1.9.0"}