Skip to content
OpenAdvisories
Unscored CVE-2022-24448 EUVD-2022-29331GHSA-pg3v-wrvf-hgf7

An issue was discovered in fs/nfs/dir.c in the Linux kernel before 5.16.5. If an application sets the O_DIRECTORY flag, and tries to open a…

Published Feb 4, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Package: kernel Package: linux Package: linux Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.13 Package: linux-aws-5.3 Package: linux-aws-5.4 Package: linux-aws-5.8 Package: linux-aws-fips Package: linux-aws-hwe Package: linux-azure Package: linux-azure-4.15 Package: linux-azure-5.11 Package: linux-azure-5.13 Package: linux-azure-5.3 Package: linux-azure-5.4 Package: linux-azure-5.8 Package: linux-azure-edge Package: linux-azure-fips Package: linux-bluefield Package: linux-dell300x Package: linux-fips Package: linux-gcp Package: linux-gcp-4.15 Package: linux-gcp-5.11 Package: linux-gcp-5.13 Package: linux-gcp-5.3 Package: linux-gcp-5.4 Package: linux-gcp-5.8 Package: linux-gcp-fips Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.13 Package: linux-hwe-5.4 Package: linux-hwe-5.8 Package: linux-hwe-edge Package: linux-ibm Package: linux-ibm-5.4 Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-iot Package: linux-kvm Package: linux-lts-xenial Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.14 Package: linux-oem-5.6 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.13 Package: linux-oracle-5.3 Package: linux-oracle-5.4 Package: linux-oracle-5.8 Package: linux-raspi Package: linux-raspi-5.4 Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.8 Package: linux-snapdragon Package: linux-vmware Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

Description

An issue was discovered in fs/nfs/dir.c in the Linux kernel before 5.16.5. If an application sets the O_DIRECTORY flag, and tries to open a regular file, nfs_atomic_open() performs a regular lookup. If a regular file is found, ENOTDIR should occur, but the server instead returns uninitialized data in the file descriptor.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.16.7-1 —
Debian 13 linux 5.16.7-1 —
Debian 12 linux 5.16.7-1 —
Debian 11 linux 5.10.92-2 DSA-5092-1
Debian 10 linux 4.19.232-1 DSA-5096-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 linux 4.9.303-1 DLA-2940-1
Debian 9 linux-4.19 4.19.232-1~deb9u1 DLA-2941-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-realtime +1 No fix yet —
Ubuntu 20.04 LTS linux 5.4.0-109.123 USN-5384-1
Ubuntu 20.04 LTS linux-aws +1 5.4.0-1072.77 USN-5384-1
Ubuntu 20.04 LTS linux-aws-5.13 5.13.0-1022.24~20.04.1 USN-5383-1
Ubuntu 20.04 LTS linux-azure 5.4.0-1077.80 USN-5384-1
Ubuntu 20.04 LTS linux-azure-5.13 5.13.0-1022.26~20.04.1 USN-5383-1
Ubuntu 20.04 LTS linux-azure-fde 5.4.0-1076.79+cvm1.1 USN-5384-1
Ubuntu 20.04 LTS linux-bluefield 5.4.0-1035.38 —
Ubuntu 20.04 LTS linux-gcp-5.13 5.13.0-1024.29~20.04.1 USN-5383-1
Ubuntu 20.04 LTS linux-gke 5.4.0-1068.71 USN-5384-1
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1039.40 USN-5384-1
Ubuntu 20.04 LTS linux-hwe-5.13 5.13.0-40.45~20.04.1 USN-5383-1
Ubuntu 20.04 LTS linux-ibm 5.4.0-1020.22 USN-5384-1
Ubuntu 20.04 LTS linux-intel-5.13 5.13.0-1011.11 USN-5383-1
Ubuntu 20.04 LTS linux-iot 5.4.0-1004.6 —
Ubuntu 20.04 LTS linux-kvm 5.4.0-1062.65 USN-5384-1
Ubuntu 20.04 LTS linux-oem-5.14 5.14.0-1024.26 USN-5302-1
Ubuntu 20.04 LTS linux-oracle 5.4.0-1070.76 USN-5384-1
Ubuntu 20.04 LTS linux-oracle-5.13 5.13.0-1027.32~20.04.1 USN-5383-1
Ubuntu 20.04 LTS linux-raspi 5.4.0-1059.67 USN-5384-1
Ubuntu 20.04 LTS linux-riscv +16 No fix yet —
Ubuntu 18.04 LTS linux 4.15.0-176.185 USN-5385-1
Ubuntu 18.04 LTS linux-aws 4.15.0-1127.136 USN-5385-1
Ubuntu 18.04 LTS linux-aws-5.4 +1 5.4.0-1072.77~18.04.1 USN-5384-1
Ubuntu 18.04 LTS linux-azure-4.15 4.15.0-1137.150 USN-5385-1
Ubuntu 18.04 LTS linux-azure-5.4 5.4.0-1077.80~18.04.1 USN-5384-1
Ubuntu 18.04 LTS linux-dell300x 4.15.0-1041.46 USN-5385-1
Ubuntu 18.04 LTS linux-gcp +12 No fix yet —
Ubuntu 18.04 LTS linux-gcp-4.15 4.15.0-1121.135 USN-5385-1
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1068.71~18.04.1 USN-5384-1
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1039.40~18.04.1 USN-5384-1
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-109.123~18.04.1 USN-5384-1
Ubuntu 18.04 LTS linux-ibm-5.4 5.4.0-1020.22~18.04.1 USN-5384-1
Ubuntu 18.04 LTS linux-kvm 4.15.0-1113.116 USN-5385-1
Ubuntu 18.04 LTS linux-oracle 4.15.0-1092.101 USN-5385-1
Ubuntu 18.04 LTS linux-oracle-5.4 5.4.0-1070.76~18.04.1 USN-5384-1
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1059.66~18.04.1 USN-5384-1
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1108.115 —
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1126.135 USN-5385-1
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1072.77+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1076.79+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips 5.4.0-1048.54 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1071.75+fips1 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-aws-fips 4.15.0-2066.69 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-azure-fips 4.15.0-2048.52 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips 4.15.0-1084.93 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-gcp-fips 4.15.0-2031.34 —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips 4.4.0-1107.114 —
Ubuntu Pro 16.04 LTS linux 4.4.0-261.295 USN-7148-1
Ubuntu Pro 16.04 LTS linux-aws 4.4.0-1176.191 USN-7148-1
Ubuntu Pro 16.04 LTS linux-aws-hwe 4.15.0-1127.136~16.04.1 USN-5385-1
Ubuntu Pro 16.04 LTS linux-azure 4.15.0-1137.150~16.04.1 USN-5385-1
Ubuntu Pro 16.04 LTS linux-gcp 4.15.0-1121.135~16.04.1 USN-5385-1
Ubuntu Pro 16.04 LTS linux-hwe 4.15.0-176.185~16.04.1 USN-5385-1
Ubuntu Pro 16.04 LTS linux-kvm 4.4.0-1139.149 USN-7148-1
Ubuntu Pro 16.04 LTS linux-oracle 4.15.0-1092.101~16.04.1 USN-5385-1
Ubuntu Pro 14.04 LTS linux 3.13.0-218.269 USN-8924-1
Ubuntu Pro 14.04 LTS linux-aws 4.4.0-1138.144 USN-7148-1
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1137.150~14.04.1 USN-5385-1
Ubuntu Pro 14.04 LTS linux-lts-xenial 4.4.0-261.295~14.04.1 USN-7148-1
ReleasePackageFixed inAdvisory
RHEL 9 kernel-rt +12 5.14.0-162.6.1.rt21.168.el9_1 RHSA-2022:7933
RHEL 9 perf +29 5.14.0-162.6.1.el9_1 RHSA-2022:8267
RHEL 8 kernel-rt +12 4.18.0-425.3.1.rt7.213.el8 RHSA-2022:7444
RHEL 8 perf +26 4.18.0-425.3.1.el8 RHSA-2022:7683
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 perf +2 4.18.0-372.91.1.el8_6 RHSA-2024:0724
RHEL 8.6 EUS perf +26 4.18.0-372.91.1.el8_6 RHSA-2024:0724

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 kernel-rt +11 5.14.0-162.6.1.rt21.168.el9_1 ALSA-2022:7933
AlmaLinux 9 perf +27 5.14.0-162.6.1.el9_1 ALSA-2022:8267
AlmaLinux 8 kernel-rt +11 4.18.0-425.3.1.rt7.213.el8 ALSA-2022:7444
AlmaLinux 8 perf +24 4.18.0-425.3.1.el8 ALSA-2022:7683

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 kernel 4.18.0-425.3.1.el8 RLSA-2022:7683
Rocky Linux 8 kernel-rt 4.18.0-425.3.1.rt7.213.el8 RLSA-2022:7444
ReleasePackageFixed inAdvisory
SLES 15 SP3 kernel-64kb +7 5.3.18-150300.59.60.4 SUSE-SU-2022:1039-1
SLES 15 SP3 kernel-azure +2 5.3.18-150300.38.50.1 SUSE-SU-2022:2079-1, SUSE-SU-2022:1037-1
SLES 15 SP3 kernel-default-base 5.3.18-150300.59.60.4.150300.18.37.5 SUSE-SU-2022:1039-1
SLES 15 SP2 kernel-default-base 5.3.18-24.107.1.9.50.2 SUSE-SU-2022:0759-1
SLES 15 SP2 kernel-docs +5 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SLES 15 SP1 kernel-docs +5 4.12.14-197.108.1 SUSE-SU-2022:0768-1
SLES 15 kernel-docs +6 4.12.14-150.86.1 SUSE-SU-2022:0766-1
SLES 12 SP5 kernel-azure +2 4.12.14-16.91.1 SUSE-SU-2022:2080-1, SUSE-SU-2022:0765-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.113.1 SUSE-SU-2022:0767-1
Show 34 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 kernel-syms +2 4.12.14-95.93.1 SUSE-SU-2022:0757-1
SLES 12 SP3 kernel-syms +2 4.4.180-94.156.1 SUSE-SU-2022:0762-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_43 1-4.3.1 SUSE-SU-2022:0762-1
SLES 12 SP2 kernel-syms +2 4.4.121-92.169.1 SUSE-SU-2022:0756-1
SLES for SAP 15 SP2 kernel-default-base 5.3.18-24.107.1.9.50.2 SUSE-SU-2022:0759-1
SLES for SAP 15 SP2 kernel-docs +5 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SLES for SAP 15 SP1 kernel-docs +4 4.12.14-197.108.1 SUSE-SU-2022:0768-1
SLES for SAP 15 kernel-docs +5 4.12.14-150.86.1 SUSE-SU-2022:0766-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.91.1 SUSE-SU-2022:2080-1, SUSE-SU-2022:0765-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.113.1 SUSE-SU-2022:0767-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.93.1 SUSE-SU-2022:0757-1
SLES for SAP 12 SP3 kernel-syms +2 4.4.180-94.156.1 SUSE-SU-2022:0762-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_43 1-4.3.1 SUSE-SU-2022:0762-1
SLE Real Time 15 SP2 kernel-default-base 5.3.18-24.107.1.9.50.2 SUSE-SU-2022:0759-1
SLE Real Time 15 SP2 kernel-docs +4 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SLE Real Time 12 SP5 kernel-rt +3 4.12.14-10.78.1 SUSE-SU-2022:0555-1
SLE Micro 5.1 kernel-default 5.3.18-150300.59.60.4 SUSE-SU-2022:1039-1
SLE Micro 5.1 kernel-default-base 5.3.18-150300.59.60.4.150300.18.37.5 SUSE-SU-2022:1039-1
SLE Micro 5.1 kernel-rt 5.3.18-150300.82.1 SUSE-SU-2022:1038-1
SLE Micro 5.0 kernel-default 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SLE Micro 5.0 kernel-default-base 5.3.18-24.107.1.9.50.2 SUSE-SU-2022:0759-1
SLE Micro 5.0 kernel-rt 5.3.18-150200.79.2 SUSE-SU-2022:1257-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-150300.59.60.4 SUSE-SU-2022:1039-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_16 1-150300.7.5.3 SUSE-SU-2022:1039-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_25 1-5.5.1 SUSE-SU-2022:0759-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-197.108.1 SUSE-SU-2022:0768-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_29 1-3.3.1 SUSE-SU-2022:0768-1
SLE Live Patching 15 kernel-default 4.12.14-150.86.1 SUSE-SU-2022:0766-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_28 1-1.3.1 SUSE-SU-2022:0766-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.113.1 SUSE-SU-2022:0767-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_29 1-8.3.1 SUSE-SU-2022:0767-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.93.1 SUSE-SU-2022:0757-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_25 1-6.5.1 SUSE-SU-2022:0757-1
SLE HPC 15 SP2 kernel-default-base 5.3.18-24.107.1.9.50.2 SUSE-SU-2022:0759-1
SLE HPC 15 SP2 kernel-docs +5 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SLE HPC 15 SP1 kernel-docs +4 4.12.14-197.108.1 SUSE-SU-2022:0768-1
SLE HPC 15 kernel-docs +5 4.12.14-150.86.1 SUSE-SU-2022:0766-1
SUSE Real Time Module 15 SP3 kernel-rt +3 5.3.18-150300.82.1 SUSE-SU-2022:1038-1
SUSE Real Time Module 15 SP2 kernel-rt +2 5.3.18-150200.79.2 SUSE-SU-2022:1257-1
SUSE Real Time Module 15 SP2 kernel-syms-rt 5.3.18-150200.79.1 SUSE-SU-2022:1257-1
SUSE OpenStack Cloud Crowbar 9 kernel-syms +2 4.12.14-95.93.1 SUSE-SU-2022:0757-1
SUSE OpenStack Cloud Crowbar 8 kernel-syms +2 4.4.180-94.156.1 SUSE-SU-2022:0762-1
SUSE OpenStack Cloud Crowbar 8 kgraft-patch-SLE12-SP3_Update_43 1-4.3.1 SUSE-SU-2022:0762-1
SUSE OpenStack Cloud 9 kernel-syms +2 4.12.14-95.93.1 SUSE-SU-2022:0757-1
SUSE OpenStack Cloud 8 kernel-syms +2 4.4.180-94.156.1 SUSE-SU-2022:0762-1
SUSE OpenStack Cloud 8 kgraft-patch-SLE12-SP3_Update_43 1-4.3.1 SUSE-SU-2022:0762-1
SUSE Manager Server 4.1 kernel-default-base 5.3.18-24.107.1.9.50.2 SUSE-SU-2022:0759-1
SUSE Manager Server 4.1 kernel-docs +5 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SUSE Manager Retail Branch Server 4.1 kernel-default-base 5.3.18-24.107.1.9.50.2 SUSE-SU-2022:0759-1
SUSE Manager Retail Branch Server 4.1 kernel-docs +4 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SUSE Manager Proxy 4.1 kernel-default-base 5.3.18-24.107.1.9.50.2 SUSE-SU-2022:0759-1
SUSE Manager Proxy 4.1 kernel-docs +4 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SUSE HPE Helion OpenStack 8 kernel-syms +2 4.4.180-94.156.1 SUSE-SU-2022:0762-1
SUSE HPE Helion OpenStack 8 kgraft-patch-SLE12-SP3_Update_43 1-4.3.1 SUSE-SU-2022:0762-1
SUSE Enterprise Storage 7 kernel-default-base 5.3.18-24.107.1.9.50.2 SUSE-SU-2022:0759-1
SUSE Enterprise Storage 7 kernel-docs +5 5.3.18-24.107.1 SUSE-SU-2022:0759-1
SUSE Enterprise Storage 6 kernel-docs +4 4.12.14-197.108.1 SUSE-SU-2022:0768-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 dtb-aarch64 +7 5.3.18-150300.59.60.4 openSUSE-SU-2022:1039-1
openSUSE Leap 15.3 kernel-azure +2 5.3.18-150300.38.50.1 openSUSE-SU-2022:1037-1, SUSE-SU-2022:2079-1
openSUSE Leap 15.3 kernel-debug +4 4.12.14-197.108.1 openSUSE-SU-2022:1039-1, openSUSE-SU-2022:0768-1
openSUSE Leap 15.3 kernel-default-base 5.3.18-150300.59.60.4.150300.18.37.5 openSUSE-SU-2022:1039-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 kernel-livepatch-4.14.268-205.500 1.0-0.amzn2 ALAS2-2022-1761
Amazon Linux 2 perf +8 4.14.268-205.500.amzn2 ALAS2-2022-1761

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) kernel 5.15.26.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 perf +21 5.14.0-162.6.1.el9_1 ELSA-2022-8267
Oracle Linux 8 perf +19 4.18.0-425.3.1.el8 ELSA-2022-7683
Oracle Linux 7 kernel-uek +5 4.1.12-124.88.3.el7uek ELSA-2024-12571, ELSA-2022-9313, ELSA-2022-9273
Oracle Linux 7 kernel-uek-container 4.14.35-2047.512.6.el7 ELSA-2022-9314, ELSA-2022-9274
Oracle Linux 7 kernel-uek-container-debug 5.4.17-2136.306.1.3.el8 ELSA-2022-9274
Oracle Linux 7 perf +5 4.14.35-2047.512.6.el7uek ELSA-2022-9313, ELSA-2022-9273

Advisories 49

References