{"id":"CVE-2026-98117","revision":"1d9c7a4d5c8743e38fadd14cb0466a56","records":[{"revision":"1d9c7a4d5c8743e38fadd14cb0466a56","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98117","aliases":[],"title":"cachefiles: Fix potential UAF/KASAN warning","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncachefiles: Fix potential UAF/KASAN warning\n\nCurrently, trace_cachefiles_coherency() is being passed a pointer to a\n__be64 lain over the coherency data in struct cachefiles_xattr so that it\ncan display the first 8 bytes.  However, the data is of variable length and\ncould even be 0 bytes.  This could lead to a UAF or KASAN warning.\n\nFix this by making sure the buffer has room for at least 8 bytes and that\nthose 8 bytes are pre-cleared.\n\nFurther, those bytes are not 8-byte aligned, so fix the tracepoint to\nextract the data as four 2-byte words (they are 2-byte aligned) and\nreassemble the __be64.  The compiler will convert this into a single 8-byte\nload where the CPU supports it.","state":0,"publishedAt":"2026-09-25T10:36:02.319+00:00","modifiedAt":"2026-10-19T09:14:09.508+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/cachefiles/xattr.c\",\n                        \"include/trace/events/cachefiles.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"229105e5cfd9832a9ef1368c96e0098ec3a5fbf0\",\n                            \"lessThan\": \"68d459e6e609c31f96a203dd6eec60c634f155e1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"229105e5cfd9832a9ef1368c96e0098ec3a5fbf0\",\n                            \"lessThan\": \"93488ea378b4427598cace558236c110515d743b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"229105e5cfd9832a9ef1368c96e0098ec3a5fbf0\",\n                            \"lessThan\": \"a67632c8c2688d6e0091529bcefe54bc5ee80e9b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/cachefiles/xattr.c\",\n                        \"include/trace/events/cachefiles.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.14\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.14\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.53\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.7\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/68d459e6e609c31f96a203dd6eec60c634f155e1","https://git.kernel.org/stable/c/93488ea378b4427598cace558236c110515d743b","https://git.kernel.org/stable/c/a67632c8c2688d6e0091529bcefe54bc5ee80e9b"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98117","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98117","identifiers":["CVE-2026-98117"]},"retained":false,"historicalAffected":[]}],"coverage":[]}