{"id":"CVE-2024-57927","published":"2025-01-19T11:52:44Z","modified":"2026-05-11T21:00:44Z","title":"nfs: Fix oops in nfs_netfs_init_request() when copying to cache","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfs: Fix oops in nfs_netfs_init_request() when copying to cache\n\nWhen netfslib wants to copy some data that has just been read on behalf of\nnfs, it creates a new write request and calls nfs_netfs_init_request() to\ninitialise it, but with a NULL file pointer.  This causes\nnfs_file_open_context() to oops - however, we don't actually need the nfs\ncontext as we're only going to write to the cache.\n\nFix this by just returning if we aren't given a file pointer and emit a\nwarning if the request was for something other than copy-to-cache.\n\nFurther, fix nfs_netfs_free_request() so that it doesn't try to free the\ncontext if the pointer is NULL.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00259,"percentile":0.10825,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/13a07cc81e2d116cece727a83746c74b87a9d417","tags":[]},{"url":"https://git.kernel.org/stable/c/86ad1a58f6a9453f49e06ef957a40a8dac00a13f","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":2.17},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < 13a07cc81e2d116cece727a83746c74b87a9d417",">= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < 86ad1a58f6a9453f49e06ef957a40a8dac00a13f"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:52:59.606931Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53830","exploited":false,"provenance":"source"}}