bpf: Fix stack slot index in nospec checks

Summary

CVECVE-2026-72428
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:22:16 UTC
Updated2026-08-17 06:19:10 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: bpf: Fix stack slot index in nospec checks check_stack_write_fixed_off() computes the byte slot for a fixed-offset stack write as -off - 1, and records each written byte in slot_type[] with (slot - i) % BPF_REG_SIZE. The Spectre v4 sanitization pre-check uses slot_type[i] instead. For a 4-byte write at fp-8 after the lower half of fp-8 has been zeroed, the pre-check scans bytes 0..3 and sees STACK_ZERO while the actual write updates bytes 7..4. That can leave the second half-slot write without nospec_result even though the bytes being overwritten still require sanitization. Use the same slot index in the sanitization pre-check that the write path uses when updating slot_type[].

Risk And Classification

EPSS: 0.002100000 probability, percentile 0.115350000 (date 2026-08-17)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 0e9280654aa482088ee6ef3deadef331f5ac5fb0 e62268e695075a481a6c4feeb022c19cf57422a6 git Not specified
CNA Linux Linux affected 2039f26f3aca5b0e419b98f65dd36481337b86ee a71eb8f730a91271cf47ce291e785b6b7e54622f git Not specified
CNA Linux Linux affected 2039f26f3aca5b0e419b98f65dd36481337b86ee ca119656baa8f48a56e0c2f3ab63fdd33ca9e307 git Not specified
CNA Linux Linux affected 2039f26f3aca5b0e419b98f65dd36481337b86ee 475405593de2b796224c6297aece44f321195919 git Not specified
CNA Linux Linux affected 2039f26f3aca5b0e419b98f65dd36481337b86ee f1471aa76d74e0df3b2a90731ca0208f498c670b git Not specified
CNA Linux Linux affected 2039f26f3aca5b0e419b98f65dd36481337b86ee 68b41e68a62299f26cb16af422b5c7d1c69dafd9 git Not specified
CNA Linux Linux affected 2039f26f3aca5b0e419b98f65dd36481337b86ee db8f1dcf5950b91886b9df4270bc816370d292c1 git Not specified
CNA Linux Linux affected 2039f26f3aca5b0e419b98f65dd36481337b86ee d1d53aa30ab3b5ae89161c9cc840b3f7489ad386 git Not specified
CNA Linux Linux affected 872968502114d68c21419cf7eb5ab97717e7b803 git Not specified
CNA Linux Linux affected f5893af2704eb763eb982f01d573f5b19f06b623 git Not specified
CNA Linux Linux affected 0b27bdf02c400684225ee5ee99970bcbf5082282 git Not specified
CNA Linux Linux affected 5.10.56 5.10.261 semver Not specified
CNA Linux Linux affected 4.19.207 4.20 semver Not specified
CNA Linux Linux affected 5.4.146 5.5 semver Not specified
CNA Linux Linux affected 5.13.8 5.14 semver Not specified
CNA Linux Linux affected 5.14 Not specified
CNA Linux Linux unaffected 5.14 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/d1d53aa30ab3b5ae89161c9cc840b3f7489ad386 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ca119656baa8f48a56e0c2f3ab63fdd33ca9e307 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f1471aa76d74e0df3b2a90731ca0208f498c670b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/db8f1dcf5950b91886b9df4270bc816370d292c1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e62268e695075a481a6c4feeb022c19cf57422a6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/475405593de2b796224c6297aece44f321195919 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/68b41e68a62299f26cb16af422b5c7d1c69dafd9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a71eb8f730a91271cf47ce291e785b6b7e54622f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report