{"api_version":"1","generated_at":"2026-12-01T14:51:25+00:00","cve":"CVE-2026-139624","urls":{"html":"https://cve.report/CVE-2026-139624","api":"https://cve.report/api/cve/CVE-2026-139624.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139624","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139624"},"summary":{"title":"bpf, x86: Fix timed may_goto with private stack","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, x86: Fix timed may_goto with private stack\n\narch_bpf_timed_may_goto() computes the address of count and timestamp\nas rbp + offset. When the prog uses private stack the JIT maps r10 to r9\nand nothing is reserved under rbp, so bpf_check_timed_may_goto() reads\nand writes the timestamp in the kernel stack, where\narch_bpf_timed_may_goto() has just saved r0-r5 or further down.\nThe following loop in fentry prog with r0-r5 set to zero:\n\n  1: may_goto +2\n     r6 += 1\n     goto 1b\n\nleaves r3 with ktime in it when the prog has 64 bytes of stack and\nends after 65535 iterations when it has 128.\n\nAdd the frame pointer to the offset in the JIT, where rbp vs r9 is\nknown, and pass the pointer in AX.\n\narm64 and powerpc JITs keep the address of private stack in BPF_REG_FP\nand are not affected.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:45","updated_at":"2026-11-30 14:19:45"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/bb83425b3cdcb7bb3c629598a4d5efad9cc80733","name":"https://git.kernel.org/stable/c/bb83425b3cdcb7bb3c629598a4d5efad9cc80733","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f430d4a1c8c631a5f264f5d9df41bfe859155679","name":"https://git.kernel.org/stable/c/f430d4a1c8c631a5f264f5d9df41bfe859155679","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1545deb8c5266812cfb4f355fbdb8436bbae83bb","name":"https://git.kernel.org/stable/c/1545deb8c5266812cfb4f355fbdb8436bbae83bb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139624","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139624","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2fb761823eadf2fdfb6fdf146c4b94807b4bc3ba 1545deb8c5266812cfb4f355fbdb8436bbae83bb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2fb761823eadf2fdfb6fdf146c4b94807b4bc3ba f430d4a1c8c631a5f264f5d9df41bfe859155679 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2fb761823eadf2fdfb6fdf146c4b94807b4bc3ba bb83425b3cdcb7bb3c629598a4d5efad9cc80733 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/x86/net/bpf_jit_comp.c","arch/x86/net/bpf_timed_may_goto.S"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1545deb8c5266812cfb4f355fbdb8436bbae83bb","status":"affected","version":"2fb761823eadf2fdfb6fdf146c4b94807b4bc3ba","versionType":"git"},{"lessThan":"f430d4a1c8c631a5f264f5d9df41bfe859155679","status":"affected","version":"2fb761823eadf2fdfb6fdf146c4b94807b4bc3ba","versionType":"git"},{"lessThan":"bb83425b3cdcb7bb3c629598a4d5efad9cc80733","status":"affected","version":"2fb761823eadf2fdfb6fdf146c4b94807b4bc3ba","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/x86/net/bpf_jit_comp.c","arch/x86/net/bpf_timed_may_goto.S"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.15"},{"lessThan":"6.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, x86: Fix timed may_goto with private stack\n\narch_bpf_timed_may_goto() computes the address of count and timestamp\nas rbp + offset. When the prog uses private stack the JIT maps r10 to r9\nand nothing is reserved under rbp, so bpf_check_timed_may_goto() reads\nand writes the timestamp in the kernel stack, where\narch_bpf_timed_may_goto() has just saved r0-r5 or further down.\nThe following loop in fentry prog with r0-r5 set to zero:\n\n  1: may_goto +2\n     r6 += 1\n     goto 1b\n\nleaves r3 with ktime in it when the prog has 64 bytes of stack and\nends after 65535 iterations when it has 128.\n\nAdd the frame pointer to the offset in the JIT, where rbp vs r9 is\nknown, and pass the pointer in AX.\n\narm64 and powerpc JITs keep the address of private stack in BPF_REG_FP\nand are not affected."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:36:28.261Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/1545deb8c5266812cfb4f355fbdb8436bbae83bb"},{"url":"https://git.kernel.org/stable/c/f430d4a1c8c631a5f264f5d9df41bfe859155679"},{"url":"https://git.kernel.org/stable/c/bb83425b3cdcb7bb3c629598a4d5efad9cc80733"}],"title":"bpf, x86: Fix timed may_goto with private stack","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139624","datePublished":"2026-11-30T13:36:28.261Z","dateReserved":"2026-11-30T13:22:15.944Z","dateUpdated":"2026-11-30T13:36:28.261Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:45","lastModifiedDate":"2026-11-30 14:19:45","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139624","Ordinal":"1","Title":"bpf, x86: Fix timed may_goto with private stack","CVE":"CVE-2026-139624","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139624","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, x86: Fix timed may_goto with private stack\n\narch_bpf_timed_may_goto() computes the address of count and timestamp\nas rbp + offset. When the prog uses private stack the JIT maps r10 to r9\nand nothing is reserved under rbp, so bpf_check_timed_may_goto() reads\nand writes the timestamp in the kernel stack, where\narch_bpf_timed_may_goto() has just saved r0-r5 or further down.\nThe following loop in fentry prog with r0-r5 set to zero:\n\n  1: may_goto +2\n     r6 += 1\n     goto 1b\n\nleaves r3 with ktime in it when the prog has 64 bytes of stack and\nends after 65535 iterations when it has 128.\n\nAdd the frame pointer to the offset in the JIT, where rbp vs r9 is\nknown, and pass the pointer in AX.\n\narm64 and powerpc JITs keep the address of private stack in BPF_REG_FP\nand are not affected.","Type":"Description","Title":"bpf, x86: Fix timed may_goto with private stack"}]}}}