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, nfsatomic_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.
[
{
"target": {
"file": "fs/nfs/dir.c"
},
"id": "CVE-2022-24448-666c2b73",
"deprecated": false,
"digest": {
"line_hashes": [
"229051601866531394102386754683488172454",
"149446250467402509312707843855750368701",
"76002126802954665098234822408253399142",
"23759034888035224348536589718138705472"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ac795161c93699d600db16c1a8cc23a65a1eceaf",
"signature_version": "v1"
},
{
"target": {
"function": "nfs_atomic_open",
"file": "fs/nfs/dir.c"
},
"id": "CVE-2022-24448-914380f2",
"deprecated": false,
"digest": {
"length": 2472.0,
"function_hash": "179690038698363381102057301296388227716"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ac795161c93699d600db16c1a8cc23a65a1eceaf",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-24448.json"