{"api_version":"1","generated_at":"2026-12-02T21:23:08+00:00","cve":"CVE-2026-139301","urls":{"html":"https://cve.report/CVE-2026-139301","api":"https://cve.report/api/cve/CVE-2026-139301.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139301","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139301"},"summary":{"title":"bpf: Assume no bounds for a writable tp with tail calls","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Assume no bounds for a writable tp with tail calls\n\nA writable raw tracepoint hands a buffer to the program.  The verifier\nnotes how far the program reaches into it, and bpf_probe_register() refuses\na program that reaches further than the tracepoint allows.  A program that\ndoes not touch the buffer passes, and can tail-call one of its type that\nreads and writes behind it.\n\nTake a BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE program with a tail call to\nreach as far as can be, as for the stack, the packet and the buffers of\niterators.  It cannot be attached any more.  Plain raw tracepoint programs,\nfor which the limit is zero, cannot get at the buffer, and a tail call\nstays within one type: they are left alone.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:54","updated_at":"2026-11-30 14:18:54"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6c6b5ec860b71e17d38304a6def192ce49f2d159","name":"https://git.kernel.org/stable/c/6c6b5ec860b71e17d38304a6def192ce49f2d159","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f1863768d15944d3856d539c0c4044c94555150f","name":"https://git.kernel.org/stable/c/f1863768d15944d3856d539c0c4044c94555150f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cd0490e671d70326d70c7d36e82388939fd9b071","name":"https://git.kernel.org/stable/c/cd0490e671d70326d70c7d36e82388939fd9b071","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d4aa50725e53d5bb924adede6081d641a0203cc0","name":"https://git.kernel.org/stable/c/d4aa50725e53d5bb924adede6081d641a0203cc0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139301","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139301","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9df1c28bb75217b244257152ab7d788bb2a386d0 d4aa50725e53d5bb924adede6081d641a0203cc0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9df1c28bb75217b244257152ab7d788bb2a386d0 f1863768d15944d3856d539c0c4044c94555150f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9df1c28bb75217b244257152ab7d788bb2a386d0 6c6b5ec860b71e17d38304a6def192ce49f2d159 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9df1c28bb75217b244257152ab7d788bb2a386d0 cd0490e671d70326d70c7d36e82388939fd9b071 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* 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":["kernel/bpf/fixups.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d4aa50725e53d5bb924adede6081d641a0203cc0","status":"affected","version":"9df1c28bb75217b244257152ab7d788bb2a386d0","versionType":"git"},{"lessThan":"f1863768d15944d3856d539c0c4044c94555150f","status":"affected","version":"9df1c28bb75217b244257152ab7d788bb2a386d0","versionType":"git"},{"lessThan":"6c6b5ec860b71e17d38304a6def192ce49f2d159","status":"affected","version":"9df1c28bb75217b244257152ab7d788bb2a386d0","versionType":"git"},{"lessThan":"cd0490e671d70326d70c7d36e82388939fd9b071","status":"affected","version":"9df1c28bb75217b244257152ab7d788bb2a386d0","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/bpf/fixups.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.2"},{"lessThan":"5.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","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.12.120","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Assume no bounds for a writable tp with tail calls\n\nA writable raw tracepoint hands a buffer to the program.  The verifier\nnotes how far the program reaches into it, and bpf_probe_register() refuses\na program that reaches further than the tracepoint allows.  A program that\ndoes not touch the buffer passes, and can tail-call one of its type that\nreads and writes behind it.\n\nTake a BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE program with a tail call to\nreach as far as can be, as for the stack, the packet and the buffers of\niterators.  It cannot be attached any more.  Plain raw tracepoint programs,\nfor which the limit is zero, cannot get at the buffer, and a tail call\nstays within one type: they are left alone."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:33:29.388Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d4aa50725e53d5bb924adede6081d641a0203cc0"},{"url":"https://git.kernel.org/stable/c/f1863768d15944d3856d539c0c4044c94555150f"},{"url":"https://git.kernel.org/stable/c/6c6b5ec860b71e17d38304a6def192ce49f2d159"},{"url":"https://git.kernel.org/stable/c/cd0490e671d70326d70c7d36e82388939fd9b071"}],"title":"bpf: Assume no bounds for a writable tp with tail calls","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139301","datePublished":"2026-11-30T13:33:29.388Z","dateReserved":"2026-11-30T13:22:15.925Z","dateUpdated":"2026-11-30T13:33:29.388Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:54","lastModifiedDate":"2026-11-30 14:18:54","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139301","Ordinal":"1","Title":"bpf: Assume no bounds for a writable tp with tail calls","CVE":"CVE-2026-139301","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139301","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Assume no bounds for a writable tp with tail calls\n\nA writable raw tracepoint hands a buffer to the program.  The verifier\nnotes how far the program reaches into it, and bpf_probe_register() refuses\na program that reaches further than the tracepoint allows.  A program that\ndoes not touch the buffer passes, and can tail-call one of its type that\nreads and writes behind it.\n\nTake a BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE program with a tail call to\nreach as far as can be, as for the stack, the packet and the buffers of\niterators.  It cannot be attached any more.  Plain raw tracepoint programs,\nfor which the limit is zero, cannot get at the buffer, and a tail call\nstays within one type: they are left alone.","Type":"Description","Title":"bpf: Assume no bounds for a writable tp with tail calls"}]}}}