SecurityContext

CVE-2024-42072: Linux Kernel - Denial of Service

  • Cve: CVE-2024-42072
  • Name: Linux Kernel - Denial of Service
  • Description: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix may_goto with negative offset. Zac's syzbot crafted a bpf prog that exposed two bugs in may_goto. The 1st bug is the way may_goto is patched. When offset is negative it should be patched differently. The 2nd bug is in the verifier: when current state may_goto_depth is equal to visited state may_goto_depth it means there is an actual infinite loop. It's not correct to prune exploration of the program at this point. Note, that this check doesn't limit the program to only one may_goto insn, since 2nd and any further may_goto will increment may_goto_depth only in the queued state pushed for future exploration. The current state will have may_goto_depth == 0 regardless of number of may_goto insns and the verifier has to explore the program until bpf_exit.
  • Impact: Potential verifier hang or crash, leading to denial of service or possible kernel instability.
  • Remediation: Update to the latest Linux kernel version where this fix is included.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00226
  • Epss percentile: 0.1338
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-07-29T16:15:06Z
  • Age in days: 848
  • Modified at: 2026-08-04T11:19:31Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42072
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
NVD-CWE-noinfo—

References

UrlSourceTags
https://git.kernel.org/stable/c/175827e04f4be53f3dfb57edf12d0d49b18fd939nvdPatch
https://git.kernel.org/stable/c/2b2efe1937ca9f8815884bd4dcd5b32733025103nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.10 rc1; = 6.10 rc2; = 6.10 rc3; = 6.10 rc4; = 6.10 rc5; >= 6.9, < 6.9.8nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports