CVE-2022-24448
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•MEDIUM•Score: 4.8CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- v3.1•LOW•Score: 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- v2.0•LOW•Score: 1.9AV:L/AC:M/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 0.40%• Percentile: 34%
Techniques & Countermeasures
- CWE-755•Improper Handling of Exceptional Conditions
The product does not handle or incorrectly handles an exceptional condition.
- CWE-908•Use of Uninitialized Resource
The product uses or accesses a resource that has not been initialized.
Affected Systems
- debian•linux
< 5.10.92-2 | < 5.16.7-1 | < 5.16.7-1 | < 5.16.7-1
- ubuntu•linux
all | < 4.4.0-261.295 | < 4.15.0-176.185 | < 5.4.0-109.123
- ubuntu•linux-aws
< 4.4.0-1138.144 | < 4.4.0-1176.191 | < 4.15.0-1127.136 | < 5.4.0-1072.77
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
< 5.13.0-1022.24~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1072.77~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2066.69 | all | < 5.4.0-1072.77+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1127.136~16.04.1
- ubuntu•linux-azure
< 4.15.0-1137.150~14.04.1 | < 4.15.0-1137.150~16.04.1 | all | < 5.4.0-1077.80
- ubuntu•linux-azure-4.15
< 4.15.0-1137.150
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
< 5.13.0-1022.26~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1077.80~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2048.52 | all | < 5.4.0-1076.79+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1035.38
- ubuntu•linux-dell300x
< 4.15.0-1041.46
- ubuntu•linux-fips
< 4.4.0-1107.114 | all | < 4.15.0-1084.93 | < 5.4.0-1048.54
- ubuntu•linux-gcp
< 4.15.0-1121.135~16.04.1 | all | < 5.4.0-1072.77
- ubuntu•linux-gcp-4.15
< 4.15.0-1121.135
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
< 5.13.0-1024.29~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1072.77~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2031.34 | all | < 5.4.0-1071.75+fips1
- ubuntu•linux-gke
< 5.4.0-1068.71
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1068.71~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1039.40
- ubuntu•linux-gkeop-5.4
< 5.4.0-1039.40~18.04.1
- ubuntu•linux-hwe
< 4.15.0-176.185~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
< 5.13.0-40.45~20.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-109.123~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1020.22
- ubuntu•linux-ibm-5.4
< 5.4.0-1020.22~18.04.1
- ubuntu•linux-intel-5.13
< 5.13.0-1011.11
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-iot
< 5.4.0-1004.6
- ubuntu•linux-kvm
< 4.4.0-1139.149 | < 4.15.0-1113.116 | < 5.4.0-1062.65
- ubuntu•linux-lts-xenial
< 4.4.0-261.295~14.04.1
- ubuntu•linux-oem
all
Showing first 50 affected entries in server-rendered view.
References (18)
- https://www.spinics.net/lists/stable/msg531976.html
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.5
- https://github.com/torvalds/linux/commit/ac795161c93699d600db16c1a8cc23a65a1eceaf
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ac795161c93699d600db16c1a8cc23a65a1eceaf
- https://www.debian.org/security/2022/dsa-5092
- https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- https://www.debian.org/security/2022/dsa-5096
- https://lore.kernel.org/all/67d6a536-9027-1928-99b6-af512a36cd1a%40huawei.com/T/
- https://github.com/torvalds/linux/commit/ab0fc21bc7105b54bafd85bd8b82742f9e68898a
- https://ubuntu.com/security/CVE-2022-24448
- https://ubuntu.com/security/notices/USN-5302-1
- https://ubuntu.com/security/notices/USN-5383-1
- https://ubuntu.com/security/notices/USN-5384-1
- https://ubuntu.com/security/notices/USN-5385-1
- https://www.cve.org/CVERecord?id=CVE-2022-24448
- https://ubuntu.com/security/notices/USN-7148-1
- https://security-tracker.debian.org/tracker/CVE-2022-24448