{"id":"CVE-2024-26946","state":"PUBLISHED","title":"kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nkprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address\n\nRead from an unsafe address with copy_from_kernel_nofault() in\narch_adjust_kprobe_addr() because this function is used before checking\nthe address is in text or not. Syzcaller bot found a bug and reported\nthe case if user specifies inaccessible data area,\narch_adjust_kprobe_addr() will cause a kernel panic.\n\n[ mingo: Clarified the comment. ]","publishedAt":"2024-05-01T05:18:13.192Z","updatedAt":"2026-05-11T20:07:26.318Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"6417684315087904fffe8966d27ca74398c57dd6","versionType":"git"},{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"f13edd1871d4fb4ab829aff629d47914e251bae3","versionType":"git"},{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"20fdb21eabaeb8f78f8f701f56d14ea0836ec861","versionType":"git"},{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"b69f577308f1070004cafac106dd1a44099e5483","versionType":"git"},{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"4e51653d5d871f40f1bd5cf95cc7f2d8b33d063b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kernel/kprobes/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.84","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.24","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.12","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.3","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kernel/kprobes/core.c"]}],"references":["https://git.kernel.org/stable/c/6417684315087904fffe8966d27ca74398c57dd6","https://git.kernel.org/stable/c/f13edd1871d4fb4ab829aff629d47914e251bae3","https://git.kernel.org/stable/c/20fdb21eabaeb8f78f8f701f56d14ea0836ec861","https://git.kernel.org/stable/c/b69f577308f1070004cafac106dd1a44099e5483","https://git.kernel.org/stable/c/4e51653d5d871f40f1bd5cf95cc7f2d8b33d063b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26946.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-26946","state":"PUBLISHED","datePublished":"2024-05-01T05:18:13.192Z","dateUpdated":"2026-05-11T20:07:26.318Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.197Z"},"containers":{"cna":{"title":"kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nkprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address\n\nRead from an unsafe address with copy_from_kernel_nofault() in\narch_adjust_kprobe_addr() because this function is used before checking\nthe address is in text or not. Syzcaller bot found a bug and reported\nthe case if user specifies inaccessible data area,\narch_adjust_kprobe_addr() will cause a kernel panic.\n\n[ mingo: Clarified the comment. ]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"6417684315087904fffe8966d27ca74398c57dd6","versionType":"git"},{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"f13edd1871d4fb4ab829aff629d47914e251bae3","versionType":"git"},{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"20fdb21eabaeb8f78f8f701f56d14ea0836ec861","versionType":"git"},{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"b69f577308f1070004cafac106dd1a44099e5483","versionType":"git"},{"version":"cc66bb91457827f62e2b6cb2518666820f0a6c48","status":"affected","lessThan":"4e51653d5d871f40f1bd5cf95cc7f2d8b33d063b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kernel/kprobes/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.84","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.24","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.12","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.3","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kernel/kprobes/core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6417684315087904fffe8966d27ca74398c57dd6"},{"url":"https://git.kernel.org/stable/c/f13edd1871d4fb4ab829aff629d47914e251bae3"},{"url":"https://git.kernel.org/stable/c/20fdb21eabaeb8f78f8f701f56d14ea0836ec861"},{"url":"https://git.kernel.org/stable/c/b69f577308f1070004cafac106dd1a44099e5483"},{"url":"https://git.kernel.org/stable/c/4e51653d5d871f40f1bd5cf95cc7f2d8b33d063b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:07:26.318Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.84"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6.24"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.7.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.8.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-26946","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-10T18:35:25.300440Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-05T17:22:47.208Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/6417684315087904fffe8966d27ca74398c57dd6","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/f13edd1871d4fb4ab829aff629d47914e251bae3","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/20fdb21eabaeb8f78f8f701f56d14ea0836ec861","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/b69f577308f1070004cafac106dd1a44099e5483","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/4e51653d5d871f40f1bd5cf95cc7f2d8b33d063b","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:21:05.831Z"}}]}}}