CVE-2022-24448: Medium severity Linux Linux kernel vulnerability

Published Feb 4, 2022
·
Updated

A flaw was found in the Linux kernel. When an application tries to open a directory (using the ODIRECTORY flag) in a mounted NFS filesystem, a lookup operation is performed. If the NFS server returns a file as a result of the lookup, the NFS filesystem returns an uninitialized file descriptor instead of the expected ENOTDIR value. This flaw leads to the kernel's data leak into the userspace.

Other sources

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

If an application sets the ODIRECTORY flag, and tries to open a regular file, nfsatomicopen() performs a regular lookup. If a regular file is found, ENOTDIR should occur, but the server instead returns uninitialized data in the file descriptor.

References:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ac795161c93699d600db16c1a8cc23a65a1eceaf https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.5

— Red Hat

Affected Software

115 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-425.3.1.rt7.213.el8
0:4.18.0-425.3.1.rt7.213.el8
redhat/kernel<0:4.18.0-425.3.1.el8
0:4.18.0-425.3.1.el8
redhat/kernel<0:5.14.0-162.6.1.el9_1
0:5.14.0-162.6.1.el9_1
redhat/kernel-rt<0:5.14.0-162.6.1.rt21.168.el9_1
0:5.14.0-162.6.1.rt21.168.el9_1
Linux Linux kernel<5.16.5
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
redhat/kernel<5.16.5
5.16.5
ubuntu/linux-aws<4.4.0-1138.144
4.4.0-1138.144
ubuntu/linux-azure<4.15.0-1137.150~14.04.1
4.15.0-1137.150~14.04.1
ubuntu/linux-lts-xenial<4.4.0-261.295~14.04.1
4.4.0-261.295~14.04.1
ubuntu/linux<3.13.0-218.269
3.13.0-218.269
ubuntu/linux<4.4.0-261.295
4.4.0-261.295
ubuntu/linux-aws<4.4.0-1176.191
4.4.0-1176.191
ubuntu/linux-aws-hwe<4.15.0-1127.136~16.04.1
4.15.0-1127.136~16.04.1
ubuntu/linux-azure<4.15.0-1137.150~16.04.1
4.15.0-1137.150~16.04.1
ubuntu/linux-gcp<4.15.0-1121.135~16.04.1
4.15.0-1121.135~16.04.1
ubuntu/linux-hwe<4.15.0-176.185~16.04.1
4.15.0-176.185~16.04.1
ubuntu/linux-kvm<4.4.0-1139.149
4.4.0-1139.149
ubuntu/linux-oracle<4.15.0-1092.101~16.04.1
4.15.0-1092.101~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1107.114
4.4.0-1107.114
ubuntu/linux-fips*
ubuntu/linux<4.15.0-176.185
4.15.0-176.185
ubuntu/linux-aws<4.15.0-1127.136
4.15.0-1127.136
ubuntu/linux-aws-5.4<5.4.0-1072.77~18.04.1
5.4.0-1072.77~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1137.150
4.15.0-1137.150
ubuntu/linux-azure-5.4<5.4.0-1077.80~18.04.1
5.4.0-1077.80~18.04.1
ubuntu/linux-dell300x<4.15.0-1041.46
4.15.0-1041.46
ubuntu/linux-gcp-4.15<4.15.0-1121.135
4.15.0-1121.135
ubuntu/linux-gcp-5.4<5.4.0-1072.77~18.04.1
5.4.0-1072.77~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1068.71~18.04.1
5.4.0-1068.71~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1039.40~18.04.1
5.4.0-1039.40~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-109.123~18.04.1
5.4.0-109.123~18.04.1
ubuntu/linux-ibm-5.4<5.4.0-1020.22~18.04.1
5.4.0-1020.22~18.04.1
ubuntu/linux-kvm<4.15.0-1113.116
4.15.0-1113.116
ubuntu/linux-oracle<4.15.0-1092.101
4.15.0-1092.101
ubuntu/linux-oracle-5.4<5.4.0-1070.76~18.04.1
5.4.0-1070.76~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1059.66~18.04.1
5.4.0-1059.66~18.04.1
ubuntu/linux-raspi2<4.15.0-1108.115
4.15.0-1108.115
ubuntu/linux-snapdragon<4.15.0-1126.135
4.15.0-1126.135
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2066.69
4.15.0-2066.69
ubuntu/linux-azure-fips<4.15.0-2048.52
4.15.0-2048.52
ubuntu/linux-fips<4.15.0-1084.93
4.15.0-1084.93
ubuntu/linux-gcp-fips<4.15.0-2031.34
4.15.0-2031.34
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-109.123
5.4.0-109.123
ubuntu/linux-aws<5.4.0-1072.77
5.4.0-1072.77
ubuntu/linux-aws-5.13<5.13.0-1022.24~20.04.1
5.13.0-1022.24~20.04.1
ubuntu/linux-azure<5.4.0-1077.80
5.4.0-1077.80
ubuntu/linux-azure-5.13<5.13.0-1022.26~20.04.1
5.13.0-1022.26~20.04.1
ubuntu/linux-bluefield<5.4.0-1035.38
5.4.0-1035.38
ubuntu/linux-gcp<5.4.0-1072.77
5.4.0-1072.77
ubuntu/linux-gcp-5.13<5.13.0-1024.29~20.04.1
5.13.0-1024.29~20.04.1
ubuntu/linux-gke<5.4.0-1068.71
5.4.0-1068.71
ubuntu/linux-gkeop<5.4.0-1039.40
5.4.0-1039.40
ubuntu/linux-hwe-5.13<5.13.0-40.45~20.04.1
5.13.0-40.45~20.04.1
ubuntu/linux-ibm<5.4.0-1020.22
5.4.0-1020.22
ubuntu/linux-intel-5.13<5.13.0-1011.11
5.13.0-1011.11
ubuntu/linux-iot<5.4.0-1004.6
5.4.0-1004.6
ubuntu/linux-kvm<5.4.0-1062.65
5.4.0-1062.65
ubuntu/linux-oem-5.14<5.14.0-1024.26
5.14.0-1024.26
ubuntu/linux-oracle<5.4.0-1070.76
5.4.0-1070.76
ubuntu/linux-oracle-5.13<5.13.0-1027.32~20.04.1
5.13.0-1027.32~20.04.1
ubuntu/linux-raspi<5.4.0-1059.67
5.4.0-1059.67
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.8*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.8*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1072.77+fips1
5.4.0-1072.77+fips1
ubuntu/linux-azure-fips<5.4.0-1076.79+fips1
5.4.0-1076.79+fips1
ubuntu/linux-fips<5.4.0-1048.54
5.4.0-1048.54
ubuntu/linux-gcp-fips<5.4.0-1071.75+fips1
5.4.0-1071.75+fips1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
debian/linux<5.16.7-1
5.16.7-1
debian/linux<5.16.7-1
5.16.7-1
debian/linux<5.16.7-1
5.16.7-1
debian/linux
4.9.303-14.19.232-15.10.92-25.16.7-1
debian/linux-4.19
4.19.232-1~deb9u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-425.3.1.rt7.213.el8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-425.3.1.el8
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-162.6.1.el9_1
  4. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-162.6.1.rt21.168.el9_1
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.16.5
  6. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1138.144
  7. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1137.150~14.04.1
  8. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-261.295~14.04.1
  9. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-218.269
  10. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-261.295
  11. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1176.191
  12. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1127.136~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1137.150~16.04.1
  14. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1121.135~16.04.1
  15. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-176.185~16.04.1
  16. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1139.149
  17. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1092.101~16.04.1
  18. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1107.114
  19. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-176.185
  20. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1127.136
  21. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1072.77~18.04.1
  22. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1137.150
  23. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1077.80~18.04.1
  24. Upgrade

    Upgrade ubuntu/linux-dell300x to a version that resolves this vulnerability.

    Fixed in 4.15.0-1041.46
  25. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1121.135
  26. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1072.77~18.04.1
  27. Upgrade

    Upgrade ubuntu/linux-gke-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1068.71~18.04.1
  28. Upgrade

    Upgrade ubuntu/linux-gkeop-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1039.40~18.04.1
  29. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-109.123~18.04.1
  30. Upgrade

    Upgrade ubuntu/linux-ibm-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1020.22~18.04.1
  31. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1113.116
  32. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1092.101
  33. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1070.76~18.04.1
  34. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1059.66~18.04.1
  35. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1108.115
  36. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1126.135
  37. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2066.69
  38. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2048.52
  39. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1084.93
  40. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2031.34
  41. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-109.123
  42. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1072.77
  43. Upgrade

    Upgrade ubuntu/linux-aws-5.13 to a version that resolves this vulnerability.

    Fixed in 5.13.0-1022.24~20.04.1
  44. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1077.80
  45. Upgrade

    Upgrade ubuntu/linux-azure-5.13 to a version that resolves this vulnerability.

    Fixed in 5.13.0-1022.26~20.04.1
  46. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1035.38
  47. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1072.77
  48. Upgrade

    Upgrade ubuntu/linux-gcp-5.13 to a version that resolves this vulnerability.

    Fixed in 5.13.0-1024.29~20.04.1
  49. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.4.0-1068.71
  50. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.4.0-1039.40
  51. Upgrade

    Upgrade ubuntu/linux-hwe-5.13 to a version that resolves this vulnerability.

    Fixed in 5.13.0-40.45~20.04.1
  52. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1020.22
  53. Upgrade

    Upgrade ubuntu/linux-intel-5.13 to a version that resolves this vulnerability.

    Fixed in 5.13.0-1011.11
  54. Upgrade

    Upgrade ubuntu/linux-iot to a version that resolves this vulnerability.

    Fixed in 5.4.0-1004.6
  55. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1062.65
  56. Upgrade

    Upgrade ubuntu/linux-oem-5.14 to a version that resolves this vulnerability.

    Fixed in 5.14.0-1024.26
  57. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1070.76
  58. Upgrade

    Upgrade ubuntu/linux-oracle-5.13 to a version that resolves this vulnerability.

    Fixed in 5.13.0-1027.32~20.04.1
  59. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1059.67
  60. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1072.77+fips1
  61. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1076.79+fips1
  62. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1048.54
  63. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1071.75+fips1
  64. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.16.7-1
  65. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 4.9.303-1Fixed in 4.19.232-1Fixed in 5.10.92-2Fixed in 5.16.7-1
  66. Upgrade

    Upgrade debian/linux-4.19 to a version that resolves this vulnerability.

    Fixed in 4.19.232-1~deb9u1
  67. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.16.5

Event History

Feb 4, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·07:45 PM
Data Sourced
via MITRE·07:45 PM
Description
Event
via OSV·08:15 PM
Nov 7, 2023
Data Sourced
via NVD·03:44 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:44 AM
Affected Software
Dec 7, 2023
Data Sourced
via Red Hat·02:33 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·06:50 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·04:31 AM
Affected Software
Nov 11, 2026
Data Sourced
via OSV·09:36 AM
SeverityAffected Software
Nov 12, 2026
Updated
via OSV·05:23 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2022-24448?

CVE-2022-24448 has a moderate severity level due to potential uninitialized file descriptor exposure.

2

How do I fix CVE-2022-24448?

To fix CVE-2022-24448, update your Linux kernel to versions 0:4.18.0-425.3.1.rt7.213.el8, 0:4.18.0-425.3.1.el8, 0:5.14.0-162.6.1.el9_1, or 5.16.5.

3

Which Linux distributions are affected by CVE-2022-24448?

CVE-2022-24448 affects various distributions including Red Hat Enterprise Linux and Debian.

4

What are the potential impacts of CVE-2022-24448?

The potential impacts of CVE-2022-24448 include data leaks and possible unauthorized access due to the use of an uninitialized file descriptor.

5

Is CVE-2022-24448 related to NFS filesystems?

Yes, CVE-2022-24448 is specifically related to vulnerabilities in the handling of NFS filesystems when opening directories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203