{"api_version":"1","generated_at":"2026-11-30T18:50:23+00:00","cve":"CVE-2026-139300","urls":{"html":"https://cve.report/CVE-2026-139300","api":"https://cve.report/api/cve/CVE-2026-139300.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139300","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139300"},"summary":{"title":"bpf: Don't take an extension for a writable raw tracepoint program","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't take an extension for a writable raw tracepoint program\n\nbpf_probe_register() compares max_tp_access of the program that is\nattached with the size of the buffer that the tracepoint lets programs\nwrite to.  An extension of that program, or of one of its global\nfunctions, gets the same context and the same pointer to the buffer.  What\nit accesses is noted in its own max_tp_access, which nobody looks at.  So\nit reads and writes behind the buffer, of a tracepoint that may have none:\n\n  BUG: KASAN: stack-out-of-bounds in bpf_prog_5843f2b820eb4929_tr26_ext_far+0xf4/0x10c\n  Write of size 4 at addr ffffc90000d8f894 by task wext/103\n\nRefuse such extensions.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:53","updated_at":"2026-11-30 14:18:53"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0c8326070fdab676f598637d30951aa8c0aaa932","name":"https://git.kernel.org/stable/c/0c8326070fdab676f598637d30951aa8c0aaa932","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7fe348f18b37b3f4c8beb981ef3f84564047380a","name":"https://git.kernel.org/stable/c/7fe348f18b37b3f4c8beb981ef3f84564047380a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/853a52778354426bafbcb2f02de77a381b47dd05","name":"https://git.kernel.org/stable/c/853a52778354426bafbcb2f02de77a381b47dd05","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d8fc1e57bbc1643f11f879d5949f6656b77f5822","name":"https://git.kernel.org/stable/c/d8fc1e57bbc1643f11f879d5949f6656b77f5822","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/189e329c62250c9cf7e16eaa5e9630d4a6440a9f","name":"https://git.kernel.org/stable/c/189e329c62250c9cf7e16eaa5e9630d4a6440a9f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139300","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139300","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected be8704ff07d2374bcc5c675526f95e70c6459683 d8fc1e57bbc1643f11f879d5949f6656b77f5822 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected be8704ff07d2374bcc5c675526f95e70c6459683 0c8326070fdab676f598637d30951aa8c0aaa932 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected be8704ff07d2374bcc5c675526f95e70c6459683 853a52778354426bafbcb2f02de77a381b47dd05 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected be8704ff07d2374bcc5c675526f95e70c6459683 189e329c62250c9cf7e16eaa5e9630d4a6440a9f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected be8704ff07d2374bcc5c675526f95e70c6459683 7fe348f18b37b3f4c8beb981ef3f84564047380a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 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":["kernel/bpf/verifier.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d8fc1e57bbc1643f11f879d5949f6656b77f5822","status":"affected","version":"be8704ff07d2374bcc5c675526f95e70c6459683","versionType":"git"},{"lessThan":"0c8326070fdab676f598637d30951aa8c0aaa932","status":"affected","version":"be8704ff07d2374bcc5c675526f95e70c6459683","versionType":"git"},{"lessThan":"853a52778354426bafbcb2f02de77a381b47dd05","status":"affected","version":"be8704ff07d2374bcc5c675526f95e70c6459683","versionType":"git"},{"lessThan":"189e329c62250c9cf7e16eaa5e9630d4a6440a9f","status":"affected","version":"be8704ff07d2374bcc5c675526f95e70c6459683","versionType":"git"},{"lessThan":"7fe348f18b37b3f4c8beb981ef3f84564047380a","status":"affected","version":"be8704ff07d2374bcc5c675526f95e70c6459683","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/bpf/verifier.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.6"},{"lessThan":"5.6","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","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.6.163","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't take an extension for a writable raw tracepoint program\n\nbpf_probe_register() compares max_tp_access of the program that is\nattached with the size of the buffer that the tracepoint lets programs\nwrite to.  An extension of that program, or of one of its global\nfunctions, gets the same context and the same pointer to the buffer.  What\nit accesses is noted in its own max_tp_access, which nobody looks at.  So\nit reads and writes behind the buffer, of a tracepoint that may have none:\n\n  BUG: KASAN: stack-out-of-bounds in bpf_prog_5843f2b820eb4929_tr26_ext_far+0xf4/0x10c\n  Write of size 4 at addr ffffc90000d8f894 by task wext/103\n\nRefuse such extensions."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:33:28.825Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d8fc1e57bbc1643f11f879d5949f6656b77f5822"},{"url":"https://git.kernel.org/stable/c/0c8326070fdab676f598637d30951aa8c0aaa932"},{"url":"https://git.kernel.org/stable/c/853a52778354426bafbcb2f02de77a381b47dd05"},{"url":"https://git.kernel.org/stable/c/189e329c62250c9cf7e16eaa5e9630d4a6440a9f"},{"url":"https://git.kernel.org/stable/c/7fe348f18b37b3f4c8beb981ef3f84564047380a"}],"title":"bpf: Don't take an extension for a writable raw tracepoint program","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139300","datePublished":"2026-11-30T13:33:28.825Z","dateReserved":"2026-11-30T13:22:15.925Z","dateUpdated":"2026-11-30T13:33:28.825Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:53","lastModifiedDate":"2026-11-30 14:18:53","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139300","Ordinal":"1","Title":"bpf: Don't take an extension for a writable raw tracepoint progr","CVE":"CVE-2026-139300","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139300","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't take an extension for a writable raw tracepoint program\n\nbpf_probe_register() compares max_tp_access of the program that is\nattached with the size of the buffer that the tracepoint lets programs\nwrite to.  An extension of that program, or of one of its global\nfunctions, gets the same context and the same pointer to the buffer.  What\nit accesses is noted in its own max_tp_access, which nobody looks at.  So\nit reads and writes behind the buffer, of a tracepoint that may have none:\n\n  BUG: KASAN: stack-out-of-bounds in bpf_prog_5843f2b820eb4929_tr26_ext_far+0xf4/0x10c\n  Write of size 4 at addr ffffc90000d8f894 by task wext/103\n\nRefuse such extensions.","Type":"Description","Title":"bpf: Don't take an extension for a writable raw tracepoint progr"}]}}}