SecurityContext

CVE-2024-42117: Linux Kernel - Out of Bounds Read/Write

  • Cve: CVE-2024-42117
  • Name: Linux Kernel - Out of Bounds Read/Write
  • Description: In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: ASSERT when failing to find index by plane/stream id [WHY] find_disp_cfg_idx_by_plane_id and find_disp_cfg_idx_by_stream_id returns an array index and they return -1 when not found; however, -1 is not a valid index number. [HOW] When this happens, call ASSERT(), and return a positive number (which is fewer than callers' array size) instead. This fixes 4 OVERRUN and 2 NEGATIVE_RETURNS issues reported by Coverity.
  • Impact: Potential kernel overrun and stability issues, possibly leading to privilege escalation or system crashes.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: privilege_escalation, 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.00233
  • Epss percentile: 0.14087
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-07-30T08:15:04Z
  • Age in days: 847
  • Modified at: 2026-08-04T11:19:36Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42117
  • 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: requirements, hackerone

Cwe

IdName
CWE-129Improper Validation of Array Index

References

UrlSourceTags
https://git.kernel.org/stable/c/01eb50e53c1ce505bf449348d433181310288765nvdPatch
https://git.kernel.org/stable/c/a9c047a5cf3135b8b66bd28fbe2c698b9cace0b3nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.7, < 6.9.9nonvd/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