Description
In the Linux kernel, the following vulnerability has been resolved:

fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions

The BPF verifier and the dynptr abstraction ensure that the memory space
referenced by a dynptr remains valid. They do not, however, provide any
guarantee that the contents of the memory are stable. kfuncs are
expected to remain memory-safe even if concurrent modifications occur.

bpf_get_fsverity_digest() didn't follow that: it could crash if
arg->digest_size was concurrently modified.

Fix that by using the known-good value hash_alg->digest_size instead.

Also widen 'dynptr_sz' and 'out_digest_sz' to u64 to match the return
type of __bpf_dynptr_size(). It doesn't appear that it can actually be
more than INT_MAX currently (since __bpf_dynptr_data_rw() excludes
file-based pointers), but the correct type might as well be used.
Published: 2026-08-22
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel bug involves the BPF helper function bpf_get_fsverity_digest(), which fails to properly validate the digest_size field when it is concurrently modified. This race condition can cause the helper to read an invalid value, leading to a crash of the kernel or the BPF verifier. The primary impact is a denial of service for the affected system, as a kernel panic or process termination can be triggered.

Affected Systems

All installations of the Linux kernel that contain the buggy bpf_get_fsverity_digest() implementation before the patch commit are affected. The specific affected kernel versions are not enumerated in the advisory, so any kernel release prior to the inclusion of the fix may be vulnerable. The bug is present in the core Linux kernel (Linux:Linux).

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating limited public exploitation data. Nevertheless, the attack requires the ability to load a BPF program with the bpf_get_fsverity_digest() helper, suggesting that privileged or local users can trigger the crash. The lack of remote exploitation paths and the need for kernel modification limits the risk to environments where user‑supplied BPF programs are executed. However, within those contexts, the crash could be leveraged to cause a denial of service.

Generated by OpenCVE AI on August 22, 2026 at 19:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fix for CVE-2026-74590.
  • Restrict loading of BPF programs to privileged users or enforce stricter SELinux/AppArmor policies to limit untrusted BPF code execution.
  • Monitor system logs for BPF related crashes and implement automated service restarts or rollback mechanisms to mitigate the impact of accidental kernel panics.

Generated by OpenCVE AI on August 22, 2026 at 19:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-847

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions The BPF verifier and the dynptr abstraction ensure that the memory space referenced by a dynptr remains valid. They do not, however, provide any guarantee that the contents of the memory are stable. kfuncs are expected to remain memory-safe even if concurrent modifications occur. bpf_get_fsverity_digest() didn't follow that: it could crash if arg->digest_size was concurrently modified. Fix that by using the known-good value hash_alg->digest_size instead. Also widen 'dynptr_sz' and 'out_digest_sz' to u64 to match the return type of __bpf_dynptr_size(). It doesn't appear that it can actually be more than INT_MAX currently (since __bpf_dynptr_data_rw() excludes file-based pointers), but the correct type might as well be used.
Title fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-22T15:31:41.929Z

Reserved: 2026-08-15T05:44:03.918Z

Link: CVE-2026-74590

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:31.243

Modified: 2026-08-22T16:16:31.243

Link: CVE-2026-74590

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T19:30:17Z

Weaknesses