{"api_version":"1","generated_at":"2026-12-01T15:03:23+00:00","cve":"CVE-2026-139618","urls":{"html":"https://cve.report/CVE-2026-139618","api":"https://cve.report/api/cve/CVE-2026-139618.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139618","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139618"},"summary":{"title":"bpf: Fix uninit read for helper mem args on partially spilled slots","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix uninit read for helper mem args on partially spilled slots\n\ncheck_stack_range_initialized() takes the spilled register path when\nbpf_is_spilled_reg(ss) holds, which, however, only looks at the last\nbyte of the slot. Hence, a partially spilled scalar (on the lower part)\nbypasses the check and the following loads:\n\n0: (b7) r1 = 1                        ; R1=1\n1: (63) *(u32 *)(r10 -8) = r1         ; R1=1 R10=fp0 fp-8=????1\n2: (18) r1 = 0x0                      ; R1=map_ptr(map=rb,ks=0,vs=0)\n4: (bf) r2 = r10                      ; R2=fp0 R10=fp0\n5: (07) r2 += -8                      ; R2=fp-8\n6: (b7) r3 = 8                        ; R3=8\n7: (b7) r4 = 0                        ; R4=0\n8: (85) call bpf_ringbuf_output#130\n...\n\nWhen executed, it dumps the uninit four bytes:\n\tRINGBUF: 01 00 00 00 ff ff ff ff\n\nThis is the same root cause as the non-fetch atomic case fixed in\ncommit 5a84b4424db8 (\"bpf: Fix uninit read for non-fetch atomics on\npartially spilled slots\").\n\nFix by only taking the spilled register path for the bytes marked\nSTACK_SPILL, so the rest of the slot goes through the usual checks.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:44","updated_at":"2026-11-30 14:19:44"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b3861495d2b2f7459cddf49e63fa0758ba430583","name":"https://git.kernel.org/stable/c/b3861495d2b2f7459cddf49e63fa0758ba430583","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f3bd942493c912fd84a5c3fe57b7ea31083988b6","name":"https://git.kernel.org/stable/c/f3bd942493c912fd84a5c3fe57b7ea31083988b6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/169884f932924796d6947fc6adcabd5fc2d92575","name":"https://git.kernel.org/stable/c/169884f932924796d6947fc6adcabd5fc2d92575","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e81530cbce0b751936d962cabe43a8436aaae109","name":"https://git.kernel.org/stable/c/e81530cbce0b751936d962cabe43a8436aaae109","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139618","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139618","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 354e8f1970f821d4952458f77b1ab6c3eb24d530 169884f932924796d6947fc6adcabd5fc2d92575 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 354e8f1970f821d4952458f77b1ab6c3eb24d530 e81530cbce0b751936d962cabe43a8436aaae109 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 354e8f1970f821d4952458f77b1ab6c3eb24d530 f3bd942493c912fd84a5c3fe57b7ea31083988b6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 354e8f1970f821d4952458f77b1ab6c3eb24d530 b3861495d2b2f7459cddf49e63fa0758ba430583 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8de8c4a25ed8924b09cf8cd542feea854d5ee5bf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b86f9ab56924ca56cde927d461165127b6b472e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.168 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.93 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.16 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/verifier.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"169884f932924796d6947fc6adcabd5fc2d92575","status":"affected","version":"354e8f1970f821d4952458f77b1ab6c3eb24d530","versionType":"git"},{"lessThan":"e81530cbce0b751936d962cabe43a8436aaae109","status":"affected","version":"354e8f1970f821d4952458f77b1ab6c3eb24d530","versionType":"git"},{"lessThan":"f3bd942493c912fd84a5c3fe57b7ea31083988b6","status":"affected","version":"354e8f1970f821d4952458f77b1ab6c3eb24d530","versionType":"git"},{"lessThan":"b3861495d2b2f7459cddf49e63fa0758ba430583","status":"affected","version":"354e8f1970f821d4952458f77b1ab6c3eb24d530","versionType":"git"},{"status":"affected","version":"8de8c4a25ed8924b09cf8cd542feea854d5ee5bf","versionType":"git"},{"status":"affected","version":"7b86f9ab56924ca56cde927d461165127b6b472e","versionType":"git"},{"lessThan":"5.11","status":"affected","version":"5.10.168","versionType":"semver"},{"lessThan":"5.16","status":"affected","version":"5.15.93","versionType":"semver"}]},{"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.16"},{"lessThan":"5.16","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.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.168","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.93","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix uninit read for helper mem args on partially spilled slots\n\ncheck_stack_range_initialized() takes the spilled register path when\nbpf_is_spilled_reg(ss) holds, which, however, only looks at the last\nbyte of the slot. Hence, a partially spilled scalar (on the lower part)\nbypasses the check and the following loads:\n\n0: (b7) r1 = 1                        ; R1=1\n1: (63) *(u32 *)(r10 -8) = r1         ; R1=1 R10=fp0 fp-8=????1\n2: (18) r1 = 0x0                      ; R1=map_ptr(map=rb,ks=0,vs=0)\n4: (bf) r2 = r10                      ; R2=fp0 R10=fp0\n5: (07) r2 += -8                      ; R2=fp-8\n6: (b7) r3 = 8                        ; R3=8\n7: (b7) r4 = 0                        ; R4=0\n8: (85) call bpf_ringbuf_output#130\n...\n\nWhen executed, it dumps the uninit four bytes:\n\tRINGBUF: 01 00 00 00 ff ff ff ff\n\nThis is the same root cause as the non-fetch atomic case fixed in\ncommit 5a84b4424db8 (\"bpf: Fix uninit read for non-fetch atomics on\npartially spilled slots\").\n\nFix by only taking the spilled register path for the bytes marked\nSTACK_SPILL, so the rest of the slot goes through the usual checks."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:36:25.010Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/169884f932924796d6947fc6adcabd5fc2d92575"},{"url":"https://git.kernel.org/stable/c/e81530cbce0b751936d962cabe43a8436aaae109"},{"url":"https://git.kernel.org/stable/c/f3bd942493c912fd84a5c3fe57b7ea31083988b6"},{"url":"https://git.kernel.org/stable/c/b3861495d2b2f7459cddf49e63fa0758ba430583"}],"title":"bpf: Fix uninit read for helper mem args on partially spilled slots","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139618","datePublished":"2026-11-30T13:36:25.010Z","dateReserved":"2026-11-30T13:22:15.943Z","dateUpdated":"2026-11-30T13:36:25.010Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:44","lastModifiedDate":"2026-11-30 14:19:44","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139618","Ordinal":"1","Title":"bpf: Fix uninit read for helper mem args on partially spilled sl","CVE":"CVE-2026-139618","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139618","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix uninit read for helper mem args on partially spilled slots\n\ncheck_stack_range_initialized() takes the spilled register path when\nbpf_is_spilled_reg(ss) holds, which, however, only looks at the last\nbyte of the slot. Hence, a partially spilled scalar (on the lower part)\nbypasses the check and the following loads:\n\n0: (b7) r1 = 1                        ; R1=1\n1: (63) *(u32 *)(r10 -8) = r1         ; R1=1 R10=fp0 fp-8=????1\n2: (18) r1 = 0x0                      ; R1=map_ptr(map=rb,ks=0,vs=0)\n4: (bf) r2 = r10                      ; R2=fp0 R10=fp0\n5: (07) r2 += -8                      ; R2=fp-8\n6: (b7) r3 = 8                        ; R3=8\n7: (b7) r4 = 0                        ; R4=0\n8: (85) call bpf_ringbuf_output#130\n...\n\nWhen executed, it dumps the uninit four bytes:\n\tRINGBUF: 01 00 00 00 ff ff ff ff\n\nThis is the same root cause as the non-fetch atomic case fixed in\ncommit 5a84b4424db8 (\"bpf: Fix uninit read for non-fetch atomics on\npartially spilled slots\").\n\nFix by only taking the spilled register path for the bytes marked\nSTACK_SPILL, so the rest of the slot goes through the usual checks.","Type":"Description","Title":"bpf: Fix uninit read for helper mem args on partially spilled sl"}]}}}